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

Unified Diff: services/ui/ws/display.h

Issue 2445873003: Pass root ServerWindow id to FrameGenerator. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/ui/ws/display.cc » ('j') | services/ui/ws/display.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display.h
diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h
index 98edd42f3bd8b2daba72110722755867e41eb32f..18247d4c43fad5d018010398a0abea7b189450d6 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -58,8 +58,7 @@ class Display : public PlatformDisplayDelegate,
public UserIdTrackerObserver,
public WindowManagerWindowTreeFactorySetObserver {
public:
- Display(WindowServer* window_server,
- const PlatformDisplayInitParams& platform_display_init_params);
+ Display(WindowServer* window_server, PlatformDisplayInitParams init_params);
~Display() override;
// Initializes state that depends on the existence of a Display.
@@ -163,8 +162,11 @@ class Display : public PlatformDisplayDelegate,
void CreateWindowManagerDisplayRootFromFactory(
WindowManagerWindowTreeFactory* factory);
+ // Creates the root ServerWindow for this display. The root window will have
+ // |size| in DIP.
+ void CreateRootWindow(const gfx::Size& size);
+
// PlatformDisplayDelegate:
- void CreateRootWindow(const gfx::Size& size) override;
ServerWindow* GetRootWindow() override;
bool IsInHighContrastMode() override;
void OnEvent(const ui::Event& event) override;
« no previous file with comments | « no previous file | services/ui/ws/display.cc » ('j') | services/ui/ws/display.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698