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

Side by Side Diff: headless/lib/browser/headless_screen.h

Issue 2438853002: Renames aura::client::WindowTreeClient to WindowParentingClient (Closed)
Patch Set: cleanup Created 4 years, 2 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 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 HEADLESS_LIB_BROWSER_HEADLESS_SCREEN_H_ 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_SCREEN_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_SCREEN_H_ 6 #define HEADLESS_LIB_BROWSER_HEADLESS_SCREEN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/aura/window_observer.h" 10 #include "ui/aura/window_observer.h"
11 #include "ui/display/display.h" 11 #include "ui/display/display.h"
12 #include "ui/display/screen.h" 12 #include "ui/display/screen.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 class Insets; 15 class Insets;
16 class Rect; 16 class Rect;
17 class Transform; 17 class Transform;
18 } 18 }
19 19
20 namespace aura { 20 namespace aura {
21 class Window; 21 class Window;
22 class WindowTreeClient; 22 class WindowParentingClient;
23 class WindowTreeHost; 23 class WindowTreeHost;
24 } 24 }
25 25
26 namespace headless { 26 namespace headless {
27 27
28 class HeadlessScreen : public display::Screen, public aura::WindowObserver { 28 class HeadlessScreen : public display::Screen, public aura::WindowObserver {
29 public: 29 public:
30 // Creates a display::Screen of the specified size (physical pixels). 30 // Creates a display::Screen of the specified size (physical pixels).
31 static HeadlessScreen* Create(const gfx::Size& size); 31 static HeadlessScreen* Create(const gfx::Size& size);
32 ~HeadlessScreen() override; 32 ~HeadlessScreen() override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 aura::WindowTreeHost* host_; 69 aura::WindowTreeHost* host_;
70 display::Display display_; 70 display::Display display_;
71 float ui_scale_; 71 float ui_scale_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(HeadlessScreen); 73 DISALLOW_COPY_AND_ASSIGN(HeadlessScreen);
74 }; 74 };
75 75
76 } // namespace headless 76 } // namespace headless
77 77
78 #endif // HEADLESS_LIB_BROWSER_HEADLESS_SCREEN_H_ 78 #endif // HEADLESS_LIB_BROWSER_HEADLESS_SCREEN_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_browser_impl.cc ('k') | headless/lib/browser/headless_window_parenting_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698