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

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

Issue 2491493004: Fix root ServerWindow size. (Closed)
Patch Set: Fixes. Created 4 years, 1 month 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') | no next file with comments »
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 11811e5ee640635d5131b427f37a51c6ff07892a..901a5b1e962d484ef52722b7aa8bdfc3e8c62691 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -137,8 +137,8 @@ class Display : public PlatformDisplayDelegate,
void SetSize(const gfx::Size& size) override;
void SetTitle(const mojo::String& title) override;
- // Updates the root window, if necessary, for viewport metric changes.
- void OnViewportMetricsChanged(const display::ViewportMetrics& new_metrics);
+ // Updates the size of display root ServerWindow and WM root ServerWindow(s).
+ void OnViewportMetricsChanged(const display::ViewportMetrics& metrics);
private:
friend class test::DisplayTestApi;
« no previous file with comments | « no previous file | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698