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

Side by Side Diff: chrome/browser/ui/views/tabs/window_finder_win.cc

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 #include "chrome/browser/ui/views/tabs/window_finder.h" 5 #include "chrome/browser/ui/views/tabs/window_finder.h"
6 6
7 #include "base/win/scoped_gdi_object.h" 7 #include "base/win/scoped_gdi_object.h"
8 #include "base/win/windows_version.h" 8 #include "base/win/windows_version.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/gfx/screen.h" 10 #include "ui/gfx/screen.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 hwnd_set.insert(w); 255 hwnd_set.insert(w);
256 } 256 }
257 return hwnd_set; 257 return hwnd_set;
258 } 258 }
259 259
260 } // namespace 260 } // namespace
261 261
262 gfx::NativeWindow GetLocalProcessWindowAtPoint( 262 gfx::NativeWindow GetLocalProcessWindowAtPoint(
263 chrome::HostDesktopType host_desktop_type, 263 chrome::HostDesktopType host_desktop_type,
264 const gfx::Point& screen_point, 264 const gfx::Point& screen_point,
265 const std::set<gfx::NativeWindow>& ignore) { 265 const std::set<gfx::NativeWindow>& ignore,
266 gfx::NativeWindow source) {
266 #if defined(USE_ASH) 267 #if defined(USE_ASH)
267 if (host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH) 268 if (host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH)
268 return GetLocalProcessWindowAtPointAsh(screen_point, ignore); 269 return GetLocalProcessWindowAtPointAsh(screen_point, ignore);
269 #endif 270 #endif
270 return LocalProcessWindowFinder::GetProcessWindowAtPoint( 271 return LocalProcessWindowFinder::GetProcessWindowAtPoint(
271 screen_point, RemapIgnoreSet(ignore)); 272 screen_point, RemapIgnoreSet(ignore));
272 } 273 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder_mac.mm ('k') | chrome/browser/ui/views/tabs/window_finder_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698