// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_ #define CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_ #include <set> #include "ui/gfx/native_widget_types.h" namespace gfx { class Point; } // Class used by the tabstrip to find chrome windows (through display::Screen) // that we can attach tabs to. We don't call // display::Screen::GetLocalProcessWindowAtPoint, but use this class just for // the sake of simplicity in unittests. That is, some of them want to set own // implementation of WindowFinder and emulate mouse movements. However, if they // set another screen, assertion that screen has been changed may be hit. class WindowFinder { … }; #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_