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

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

Issue 2610783003: mus: Make sure window parenting happens in the window server. (Closed)
Patch Set: . 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 | « services/ui/ws/gpu_host.cc ('k') | services/ui/ws/platform_display_default.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display.h
diff --git a/services/ui/ws/platform_display.h b/services/ui/ws/platform_display.h
index 96b1ca9b38b03fe73a21e1bea7f3b81dce517e7e..39299aeddd10efb5f9f336b5440c77d29abeae7a 100644
--- a/services/ui/ws/platform_display.h
+++ b/services/ui/ws/platform_display.h
@@ -13,6 +13,7 @@
#include "base/strings/string16.h"
#include "services/ui/display/viewport_metrics.h"
#include "services/ui/public/interfaces/cursor.mojom.h"
+#include "ui/gfx/native_widget_types.h"
namespace gfx {
class Rect;
@@ -63,6 +64,10 @@ class PlatformDisplay {
virtual const display::ViewportMetrics& GetViewportMetrics() const = 0;
+ // Returns the AcceleratedWidget associated with the Display. It can return
+ // kNullAcceleratedWidget if the accelerated widget is not available yet.
+ virtual gfx::AcceleratedWidget GetAcceleratedWidget() const = 0;
+
virtual FrameGenerator* GetFrameGenerator() = 0;
// Overrides factory for testing. Default (NULL) value indicates regular
« no previous file with comments | « services/ui/ws/gpu_host.cc ('k') | services/ui/ws/platform_display_default.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698