| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |