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

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

Issue 2626453002: Standardize Screen::GetCursorScreenPoint() on Env::last_mouse_location (Closed)
Patch Set: explicit Created 3 years, 11 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 | « no previous file | ash/mus/screen_mus.cc » ('j') | ui/views/mus/mus_client.cc » ('J')
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 #ifndef ASH_MUS_SCREEN_MUS_H_ 5 #ifndef ASH_MUS_SCREEN_MUS_H_
6 #define ASH_MUS_SCREEN_MUS_H_ 6 #define ASH_MUS_SCREEN_MUS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/display/screen_base.h" 9 #include "ui/display/screen_base.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 // Implementation of Screen for mus. The WindowManager/RootWindowController 13 // Implementation of Screen for mus. The WindowManager/RootWindowController
14 // keep the set of displays in sync (by modifying display_list()). This class 14 // keep the set of displays in sync (by modifying display_list()). This class
15 // exists to provide implementations of ScreenBase functions that are 15 // exists to provide implementations of ScreenBase functions that are
16 // NOTIMPLEMENTED. 16 // NOTIMPLEMENTED.
17 // TODO(sky): implement remaining functions or merge with ScreenAsh: 17 // TODO(sky): implement remaining functions or merge with ScreenAsh:
18 // http://crbug.com/671408. 18 // http://crbug.com/671408.
19 class ScreenMus : public display::ScreenBase { 19 class ScreenMus : public display::ScreenBase {
20 public: 20 public:
21 ScreenMus(); 21 ScreenMus();
22 ~ScreenMus() override; 22 ~ScreenMus() override;
23 23
24 private: 24 private:
25 // display::ScreenBase: 25 // display::ScreenBase:
26 display::Display GetDisplayNearestWindow(aura::Window* window) const override; 26 display::Display GetDisplayNearestWindow(aura::Window* window) const override;
27 gfx::Point GetCursorScreenPoint() override;
27 28
28 DISALLOW_COPY_AND_ASSIGN(ScreenMus); 29 DISALLOW_COPY_AND_ASSIGN(ScreenMus);
29 }; 30 };
30 31
31 } // namespace ash 32 } // namespace ash
32 33
33 #endif // ASH_MUS_SCREEN_MUS_H_ 34 #endif // ASH_MUS_SCREEN_MUS_H_
OLDNEW
« no previous file with comments | « no previous file | ash/mus/screen_mus.cc » ('j') | ui/views/mus/mus_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698