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

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

Issue 2900423002: [mus+ash] Removes WmWindow from ash/wm/root_window_finder.h (Closed)
Patch Set: Remove WmWindow from ash/wm/root_window_finder.h (tab drag test) Created 3 years, 7 months 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ash/public/cpp/shell_window_ids.h" 7 #include "ash/public/cpp/shell_window_ids.h"
8 #include "ash/wm/root_window_finder.h" 8 #include "ash/wm/root_window_finder.h"
9 #include "ash/wm_window.h"
10 #include "ui/aura/client/screen_position_client.h" 9 #include "ui/aura/client/screen_position_client.h"
11 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
12 #include "ui/aura/window_event_dispatcher.h" 11 #include "ui/aura/window_event_dispatcher.h"
13 #include "ui/wm/core/window_util.h" 12 #include "ui/wm/core/window_util.h"
14 13
15 namespace { 14 namespace {
16 15
17 gfx::NativeWindow GetLocalProcessWindowAtPointImpl( 16 gfx::NativeWindow GetLocalProcessWindowAtPointImpl(
18 const gfx::Point& screen_point, 17 const gfx::Point& screen_point,
19 const std::set<gfx::NativeWindow>& ignore, 18 const std::set<gfx::NativeWindow>& ignore,
(...skipping 30 matching lines...) Expand all
50 } 49 }
51 return NULL; 50 return NULL;
52 } 51 }
53 52
54 } // namespace 53 } // namespace
55 54
56 gfx::NativeWindow GetLocalProcessWindowAtPointAsh( 55 gfx::NativeWindow GetLocalProcessWindowAtPointAsh(
57 const gfx::Point& screen_point, 56 const gfx::Point& screen_point,
58 const std::set<gfx::NativeWindow>& ignore) { 57 const std::set<gfx::NativeWindow>& ignore) {
59 return GetLocalProcessWindowAtPointImpl( 58 return GetLocalProcessWindowAtPointImpl(
60 screen_point, ignore, 59 screen_point, ignore, ash::wm::GetRootWindowAt(screen_point));
61 ash::WmWindow::GetAuraWindow(ash::wm::GetRootWindowAt(screen_point)));
62 } 60 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698