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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 429743003: Rename Animate as Begin(Main)Frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual void clearSelection() OVERRIDE; 120 virtual void clearSelection() OVERRIDE;
121 virtual void setShowFPSCounter(bool show); 121 virtual void setShowFPSCounter(bool show);
122 virtual void setShowPaintRects(bool show); 122 virtual void setShowPaintRects(bool show);
123 virtual void setShowDebugBorders(bool show); 123 virtual void setShowDebugBorders(bool show);
124 virtual void setContinuousPaintingEnabled(bool enabled); 124 virtual void setContinuousPaintingEnabled(bool enabled);
125 virtual void setShowScrollBottleneckRects(bool show); 125 virtual void setShowScrollBottleneckRects(bool show);
126 126
127 // cc::LayerTreeHostClient implementation. 127 // cc::LayerTreeHostClient implementation.
128 virtual void WillBeginMainFrame(int frame_id) OVERRIDE; 128 virtual void WillBeginMainFrame(int frame_id) OVERRIDE;
129 virtual void DidBeginMainFrame() OVERRIDE; 129 virtual void DidBeginMainFrame() OVERRIDE;
130 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE; 130 virtual void BeginMainFrame(const cc::BeginFrameArgs& args) OVERRIDE;
131 virtual void Layout() OVERRIDE; 131 virtual void Layout() OVERRIDE;
132 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, 132 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
133 float page_scale) OVERRIDE; 133 float page_scale) OVERRIDE;
134 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 134 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
135 OVERRIDE; 135 OVERRIDE;
136 virtual void DidInitializeOutputSurface() OVERRIDE; 136 virtual void DidInitializeOutputSurface() OVERRIDE;
137 virtual void WillCommit() OVERRIDE; 137 virtual void WillCommit() OVERRIDE;
138 virtual void DidCommit() OVERRIDE; 138 virtual void DidCommit() OVERRIDE;
139 virtual void DidCommitAndDrawFrame() OVERRIDE; 139 virtual void DidCommitAndDrawFrame() OVERRIDE;
140 virtual void DidCompleteSwapBuffers() OVERRIDE; 140 virtual void DidCompleteSwapBuffers() OVERRIDE;
(...skipping 10 matching lines...) Expand all
151 void Initialize(cc::LayerTreeSettings settings); 151 void Initialize(cc::LayerTreeSettings settings);
152 152
153 bool threaded_; 153 bool threaded_;
154 RenderWidget* widget_; 154 RenderWidget* widget_;
155 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 155 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
156 }; 156 };
157 157
158 } // namespace content 158 } // namespace content
159 159
160 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 160 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698