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

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

Issue 2651843002: FrameGenerator should receive SurfaceInfo and use it in frame generation (Closed)
Patch Set: c Created 3 years, 11 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 | « cc/surfaces/surface_factory_unittest.cc ('k') | 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 28bf83b5a6a58ca2d24e5e9e06e9fba000523fa8..679a338fab81a596d4d1ccd6e1576c685c2ea6aa 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -143,6 +143,9 @@ class Display : public PlatformDisplayDelegate,
// Updates the size of display root ServerWindow and WM root ServerWindow(s).
void OnViewportMetricsChanged(const display::ViewportMetrics& metrics);
+ // Returns the root window of the active user.
+ ServerWindow* GetActiveRootWindow();
+
private:
friend class test::DisplayTestApi;
@@ -166,7 +169,6 @@ class Display : public PlatformDisplayDelegate,
// PlatformDisplayDelegate:
display::Display GetDisplay() override;
ServerWindow* GetRootWindow() override;
- ServerWindow* GetActiveRootWindow() override;
void OnAcceleratedWidgetAvailable() override;
bool IsInHighContrastMode() override;
void OnEvent(const ui::Event& event) override;
« no previous file with comments | « cc/surfaces/surface_factory_unittest.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698