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

Unified Diff: mojo/services/gles2/command_buffer_impl.h

Issue 384513003: Remove RequestAnimationFrame from mojo, add delayed tasks to RunLoop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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: mojo/services/gles2/command_buffer_impl.h
diff --git a/mojo/services/gles2/command_buffer_impl.h b/mojo/services/gles2/command_buffer_impl.h
index 5034fc993ac5bb49072548800fd8826bb938d61e..fc79c5f0d4c2f63d17cecd49ead02fb40b3ce0d0 100644
--- a/mojo/services/gles2/command_buffer_impl.h
+++ b/mojo/services/gles2/command_buffer_impl.h
@@ -46,9 +46,6 @@ class CommandBufferImpl : public InterfaceImpl<CommandBuffer> {
virtual void DestroyTransferBuffer(int32_t id) OVERRIDE;
virtual void Echo(const Callback<void()>& callback) OVERRIDE;
- virtual void RequestAnimationFrames() OVERRIDE;
- virtual void CancelAnimationFrames() OVERRIDE;
-
private:
bool DoInitialize(mojo::ScopedSharedBufferHandle shared_state);
@@ -56,8 +53,6 @@ class CommandBufferImpl : public InterfaceImpl<CommandBuffer> {
void OnParseError();
- void DrawAnimationFrame();
-
CommandBufferSyncClientPtr sync_client_;
gfx::AcceleratedWidget widget_;
@@ -66,7 +61,6 @@ class CommandBufferImpl : public InterfaceImpl<CommandBuffer> {
scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;
scoped_ptr<gpu::GpuScheduler> scheduler_;
scoped_refptr<gfx::GLSurface> surface_;
- base::RepeatingTimer<CommandBufferImpl> timer_;
DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl);
};

Powered by Google App Engine
This is Rietveld 408576698