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

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

Issue 2449103004: Refactor WindowFinder definition (Closed)
Patch Set: no ifdefs Created 4 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 <shobjidl.h> 7 #include <shobjidl.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/win/scoped_gdi_object.h" 10 #include "base/win/scoped_gdi_object.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 for (; it != ignore.end(); ++it) { 225 for (; it != ignore.end(); ++it) {
226 HWND w = (*it)->GetHost()->GetAcceleratedWidget(); 226 HWND w = (*it)->GetHost()->GetAcceleratedWidget();
227 if (w) 227 if (w)
228 hwnd_set.insert(w); 228 hwnd_set.insert(w);
229 } 229 }
230 return hwnd_set; 230 return hwnd_set;
231 } 231 }
232 232
233 } // namespace 233 } // namespace
234 234
235 gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint( 235 gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPointImpl(
236 const gfx::Point& screen_point, 236 const gfx::Point& screen_point,
237 const std::set<gfx::NativeWindow>& ignore) { 237 const std::set<gfx::NativeWindow>& ignore) {
238 return LocalProcessWindowFinder::GetProcessWindowAtPoint( 238 return LocalProcessWindowFinder::GetProcessWindowAtPoint(
239 screen_point, RemapIgnoreSet(ignore)); 239 screen_point, RemapIgnoreSet(ignore));
240 } 240 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698