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

Side by Side Diff: ash/mus/screen_mus.cc

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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 | « ash/mus/non_client_frame_controller.cc ('k') | ash/mus/shelf_delegate_mus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "ash/mus/screen_mus.h" 5 #include "ash/mus/screen_mus.h"
6 6
7 #include "ash/common/wm/root_window_finder.h" 7 #include "ash/wm/root_window_finder.h"
8 #include "ash/common/wm_window.h" 8 #include "ash/wm_window.h"
9 #include "services/ui/public/interfaces/display/display_controller.mojom.h" 9 #include "services/ui/public/interfaces/display/display_controller.mojom.h"
10 #include "ui/aura/client/screen_position_client.h" 10 #include "ui/aura/client/screen_position_client.h"
11 #include "ui/aura/env.h" 11 #include "ui/aura/env.h"
12 #include "ui/aura/mus/window_tree_host_mus.h" 12 #include "ui/aura/mus/window_tree_host_mus.h"
13 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
14 14
15 namespace ash { 15 namespace ash {
16 16
17 ScreenMus::ScreenMus(display::mojom::DisplayController* display_controller) 17 ScreenMus::ScreenMus(display::mojom::DisplayController* display_controller)
18 : display_controller_(display_controller) {} 18 : display_controller_(display_controller) {}
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 aura::client::GetScreenPositionClient(root_window); 63 aura::client::GetScreenPositionClient(root_window);
64 64
65 gfx::Point local_point = point; 65 gfx::Point local_point = point;
66 if (position_client) 66 if (position_client)
67 position_client->ConvertPointFromScreen(root_window, &local_point); 67 position_client->ConvertPointFromScreen(root_window, &local_point);
68 68
69 return root_window->GetTopWindowContainingPoint(local_point); 69 return root_window->GetTopWindowContainingPoint(local_point);
70 } 70 }
71 71
72 } // namespace ash 72 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/non_client_frame_controller.cc ('k') | ash/mus/shelf_delegate_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698