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

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

Issue 2489003002: Convert mustash use surface references. (Closed)
Patch Set: 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.h
diff --git a/services/ui/ws/platform_display.h b/services/ui/ws/platform_display.h
index 33ad23ecec99670c01907c07cde32c3530953154..46ab18f03c72c1b6c74997d76d0ff6dfb402e95b 100644
--- a/services/ui/ws/platform_display.h
+++ b/services/ui/ws/platform_display.h
@@ -90,6 +90,8 @@ class PlatformDisplay {
virtual bool IsPrimaryDisplay() const = 0;
+ virtual FrameGenerator* GetFrameGenerator() = 0;
+
// Notifies the PlatformDisplay that a connection to the gpu has been
// established.
virtual void OnGpuChannelEstablished(
@@ -131,6 +133,7 @@ class DefaultPlatformDisplay : public PlatformDisplay,
bool IsPrimaryDisplay() const override;
void OnGpuChannelEstablished(
scoped_refptr<gpu::GpuChannelHost> gpu_channel) override;
+ FrameGenerator* GetFrameGenerator() override;
private:
// Update the root_location of located events to be relative to the origin

Powered by Google App Engine
This is Rietveld 408576698