Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: chrome/browser/ui/views/tabs/window_finder.h

Issue 1421083003: Introduces window_finder_android.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reviews Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "chrome/browser/ui/host_desktop.h" 10 #include "chrome/browser/ui/host_desktop.h"
11 11
12 namespace aura { 12 namespace aura {
13 class Window; 13 class Window;
14 } 14 }
15 15
16 namespace gfx { 16 namespace gfx {
17 class Point; 17 class Point;
18 } 18 }
19 19
20 // Returns the Window at the specified point, ignoring the windows in |ignore|. 20 // Returns the Window at the specified point, ignoring the windows in |ignore|.
21 // TODO(bshe): |window| is currently only used on Android platform. It is used
sky 2015/11/09 03:35:03 You don't actually document what |window| is. I wo
bshe 2015/11/09 18:25:36 Done.
22 // to access root window. Other platforms either do not need root window or can
23 // access to ash which could access root window directly by calling
24 // ::ash::wm::GetRootWindowAt. Remove |window| once we have a way to get root
25 // window from |screen_point| on Android. See crbug.com/549735
21 gfx::NativeWindow GetLocalProcessWindowAtPoint( 26 gfx::NativeWindow GetLocalProcessWindowAtPoint(
22 chrome::HostDesktopType host_desktop_type, 27 chrome::HostDesktopType host_desktop_type,
23 const gfx::Point& screen_point, 28 const gfx::Point& screen_point,
24 const std::set<gfx::NativeWindow>& ignore); 29 const std::set<gfx::NativeWindow>& ignore,
30 gfx::NativeWindow window);
25 31
26 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_ 32 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698