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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_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, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/wm/core/default_screen_position_client.h" 10 #include "ui/wm/core/default_screen_position_client.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 // Client that always offsets by the toplevel RootWindow of the passed 14 // Client that always offsets by the toplevel RootWindow of the passed
15 // in child NativeWidgetAura. 15 // in child NativeWidgetAura.
16 class VIEWS_EXPORT DesktopScreenPositionClient 16 class VIEWS_EXPORT DesktopScreenPositionClient
17 : public wm::DefaultScreenPositionClient { 17 : public wm::DefaultScreenPositionClient {
18 public: 18 public:
19 explicit DesktopScreenPositionClient(aura::Window* root_window); 19 explicit DesktopScreenPositionClient(aura::Window* root_window);
20 ~DesktopScreenPositionClient() override; 20 ~DesktopScreenPositionClient() override;
21 21
22 // aura::client::DefaultScreenPositionClient: 22 // aura::client::DefaultScreenPositionClient:
23 void SetBounds(aura::Window* window, 23 void SetBounds(aura::Window* window,
24 const gfx::Rect& bounds, 24 const gfx::Rect& bounds,
25 const gfx::Display& display) override; 25 const display::Display& display) override;
26 26
27 private: 27 private:
28 aura::Window* root_window_; 28 aura::Window* root_window_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(DesktopScreenPositionClient); 30 DISALLOW_COPY_AND_ASSIGN(DesktopScreenPositionClient);
31 }; 31 };
32 32
33 } // namespace views 33 } // namespace views
34 34
35 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_ 35 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_screen_ozone.cc ('k') | ui/views/widget/desktop_aura/desktop_screen_position_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698