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

Unified Diff: content/renderer/gpu/compositor_output_surface.h

Issue 423773002: Unified BeginFrame scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working on aura with --enable-begin-frame-scheduling Created 6 years, 4 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
Index: content/renderer/gpu/compositor_output_surface.h
diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h
index 0b369b27f3eae29d9e91d17962192624d13f62f3..c7db379d85eb6ff055e7928f252f23e179dac34d 100644
--- a/content/renderer/gpu/compositor_output_surface.h
+++ b/content/renderer/gpu/compositor_output_surface.h
@@ -58,7 +58,7 @@ class CompositorOutputSurface
// cc::OutputSurface implementation.
virtual bool BindToClient(cc::OutputSurfaceClient* client) OVERRIDE;
virtual void SwapBuffers(cc::CompositorFrame* frame) OVERRIDE;
-#if defined(OS_ANDROID)
+#if !defined(OS_MACOSX)
virtual void SetNeedsBeginFrame(bool enable) OVERRIDE;
#endif
@@ -100,7 +100,7 @@ class CompositorOutputSurface
void OnMessageReceived(const IPC::Message& message);
void OnUpdateVSyncParametersFromBrowser(base::TimeTicks timebase,
base::TimeDelta interval);
-#if defined(OS_ANDROID)
+#if !defined(OS_MACOSX)
void OnBeginFrame(const cc::BeginFrameArgs& args);
#endif
bool Send(IPC::Message* message);

Powered by Google App Engine
This is Rietveld 408576698