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

Side by Side Diff: ui/wm/core/default_screen_position_client.h

Issue 1915363002: Rename gfx::Display/Screen to display::Display/Screen in views/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanups Created 4 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 | « ui/wm/core/cursor_manager_unittest.cc ('k') | ui/wm/core/default_screen_position_client.cc » ('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 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 #ifndef UI_WM_CORE_DEFAULT_SCREEN_POSITION_CLIENT_H_ 5 #ifndef UI_WM_CORE_DEFAULT_SCREEN_POSITION_CLIENT_H_
6 #define UI_WM_CORE_DEFAULT_SCREEN_POSITION_CLIENT_H_ 6 #define UI_WM_CORE_DEFAULT_SCREEN_POSITION_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/client/screen_position_client.h" 9 #include "ui/aura/client/screen_position_client.h"
10 #include "ui/wm/wm_export.h" 10 #include "ui/wm/wm_export.h"
(...skipping 10 matching lines...) Expand all
21 21
22 // aura::client::ScreenPositionClient overrides: 22 // aura::client::ScreenPositionClient overrides:
23 void ConvertPointToScreen(const aura::Window* window, 23 void ConvertPointToScreen(const aura::Window* window,
24 gfx::Point* point) override; 24 gfx::Point* point) override;
25 void ConvertPointFromScreen(const aura::Window* window, 25 void ConvertPointFromScreen(const aura::Window* window,
26 gfx::Point* point) override; 26 gfx::Point* point) override;
27 void ConvertHostPointToScreen(aura::Window* window, 27 void ConvertHostPointToScreen(aura::Window* window,
28 gfx::Point* point) override; 28 gfx::Point* point) override;
29 void SetBounds(aura::Window* window, 29 void SetBounds(aura::Window* window,
30 const gfx::Rect& bounds, 30 const gfx::Rect& bounds,
31 const gfx::Display& display) override; 31 const display::Display& display) override;
32 32
33 protected: 33 protected:
34 // Returns the origin of the host platform-window in system pixel coordinates. 34 // Returns the origin of the host platform-window in system pixel coordinates.
35 gfx::Point GetOriginInScreen(const aura::Window* root_window); 35 gfx::Point GetOriginInScreen(const aura::Window* root_window);
36 36
37 private: 37 private:
38 DISALLOW_COPY_AND_ASSIGN(DefaultScreenPositionClient); 38 DISALLOW_COPY_AND_ASSIGN(DefaultScreenPositionClient);
39 }; 39 };
40 40
41 } // namespace wm 41 } // namespace wm
42 42
43 #endif // UI_WM_CORE_DEFAULT_SCREEN_POSITION_CLIENT_H_ 43 #endif // UI_WM_CORE_DEFAULT_SCREEN_POSITION_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/wm/core/cursor_manager_unittest.cc ('k') | ui/wm/core/default_screen_position_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698