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

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

Issue 2445873003: Pass root ServerWindow id to FrameGenerator. (Closed)
Patch Set: Change back to const ref. 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/frame_generator.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..c5c74c005f12d3cfa8888fbec81415f5ef55c7c8 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -163,8 +163,11 @@ class Display : public PlatformDisplayDelegate,
void CreateWindowManagerDisplayRootFromFactory(
WindowManagerWindowTreeFactory* factory);
+ // Creates the root ServerWindow for this display. The root window will have
+ // |size| in DIP.
sky 2016/10/25 19:23:31 I thought we were keeping mus itself pixel?
kylechar 2016/10/26 14:13:16 Mus has knowledge of DIP and DPP. The ServerWindow
kylechar 2016/10/26 14:55:23 Hmm, it seems like there has been a bit of confusi
+ 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/frame_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698