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

Side by Side Diff: ui/compositor/compositor.h

Issue 256573003: cc: Remove the capability to give up and leave compositing mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_COMPOSITOR_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 // LayerTreeHostClient implementation. 214 // LayerTreeHostClient implementation.
215 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {} 215 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
216 virtual void DidBeginMainFrame() OVERRIDE {} 216 virtual void DidBeginMainFrame() OVERRIDE {}
217 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {} 217 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {}
218 virtual void Layout() OVERRIDE; 218 virtual void Layout() OVERRIDE;
219 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, 219 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
220 float page_scale) OVERRIDE {} 220 float page_scale) OVERRIDE {}
221 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 221 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
222 OVERRIDE; 222 OVERRIDE;
223 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} 223 virtual void DidInitializeOutputSurface() OVERRIDE {}
224 virtual void WillCommit() OVERRIDE {} 224 virtual void WillCommit() OVERRIDE {}
225 virtual void DidCommit() OVERRIDE; 225 virtual void DidCommit() OVERRIDE;
226 virtual void DidCommitAndDrawFrame() OVERRIDE; 226 virtual void DidCommitAndDrawFrame() OVERRIDE;
227 virtual void DidCompleteSwapBuffers() OVERRIDE; 227 virtual void DidCompleteSwapBuffers() OVERRIDE;
228 228
229 // cc::LayerTreeHostSingleThreadClient implementation. 229 // cc::LayerTreeHostSingleThreadClient implementation.
230 virtual void ScheduleComposite() OVERRIDE; 230 virtual void ScheduleComposite() OVERRIDE;
231 virtual void ScheduleAnimation() OVERRIDE; 231 virtual void ScheduleAnimation() OVERRIDE;
232 virtual void DidPostSwapBuffers() OVERRIDE; 232 virtual void DidPostSwapBuffers() OVERRIDE;
233 virtual void DidAbortSwapBuffers() OVERRIDE; 233 virtual void DidAbortSwapBuffers() OVERRIDE;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 SwapState swap_state_; 290 SwapState swap_state_;
291 291
292 base::WeakPtrFactory<Compositor> schedule_draw_factory_; 292 base::WeakPtrFactory<Compositor> schedule_draw_factory_;
293 293
294 DISALLOW_COPY_AND_ASSIGN(Compositor); 294 DISALLOW_COPY_AND_ASSIGN(Compositor);
295 }; 295 };
296 296
297 } // namespace ui 297 } // namespace ui
298 298
299 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 299 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698