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

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

Issue 2497303002: Fix ws::Display initialization order. (Closed)
Patch Set: Fix method name. 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
Index: services/ui/ws/platform_display_delegate.h
diff --git a/services/ui/ws/platform_display_delegate.h b/services/ui/ws/platform_display_delegate.h
index 0b81711e6c23a7d636a33f115d6006ea93b160aa..e6eb5972bb4ae8a750c7a3e8700fd9ced4c5601d 100644
--- a/services/ui/ws/platform_display_delegate.h
+++ b/services/ui/ws/platform_display_delegate.h
@@ -25,6 +25,9 @@ class PlatformDisplayDelegate {
// Returns the root window of this display.
virtual ServerWindow* GetRootWindow() = 0;
+ // Called once when the AcceleratedWidget is available for drawing.
+ virtual void OnAcceleratedWidgetAvailable() = 0;
+
virtual bool IsInHighContrastMode() = 0;
// Called when an event arrives.

Powered by Google App Engine
This is Rietveld 408576698