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

Side by Side Diff: content/test/web_layer_tree_view_impl_for_testing.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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 5 #ifndef CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/trees/layer_tree_host_client.h" 9 #include "cc/trees/layer_tree_host_client.h"
10 #include "cc/trees/layer_tree_host_single_thread_client.h" 10 #include "cc/trees/layer_tree_host_single_thread_client.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // cc::LayerTreeHostClient implementation. 63 // cc::LayerTreeHostClient implementation.
64 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {} 64 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
65 virtual void DidBeginMainFrame() OVERRIDE {} 65 virtual void DidBeginMainFrame() OVERRIDE {}
66 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {} 66 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE {}
67 virtual void Layout() OVERRIDE; 67 virtual void Layout() OVERRIDE;
68 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, 68 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
69 float page_scale) OVERRIDE; 69 float page_scale) OVERRIDE;
70 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 70 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
71 OVERRIDE; 71 OVERRIDE;
72 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} 72 virtual void DidInitializeOutputSurface() OVERRIDE {}
73 virtual void WillCommit() OVERRIDE {} 73 virtual void WillCommit() OVERRIDE {}
74 virtual void DidCommit() OVERRIDE {} 74 virtual void DidCommit() OVERRIDE {}
75 virtual void DidCommitAndDrawFrame() OVERRIDE {} 75 virtual void DidCommitAndDrawFrame() OVERRIDE {}
76 virtual void DidCompleteSwapBuffers() OVERRIDE {} 76 virtual void DidCompleteSwapBuffers() OVERRIDE {}
77 77
78 // cc::LayerTreeHostSingleThreadClient implementation. 78 // cc::LayerTreeHostSingleThreadClient implementation.
79 virtual void ScheduleComposite() OVERRIDE {} 79 virtual void ScheduleComposite() OVERRIDE {}
80 virtual void ScheduleAnimation() OVERRIDE {} 80 virtual void ScheduleAnimation() OVERRIDE {}
81 virtual void DidPostSwapBuffers() OVERRIDE {} 81 virtual void DidPostSwapBuffers() OVERRIDE {}
82 virtual void DidAbortSwapBuffers() OVERRIDE {} 82 virtual void DidAbortSwapBuffers() OVERRIDE {}
83 83
84 private: 84 private:
85 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 85 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); 87 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting);
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 92 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | mojo/examples/compositor_app/compositor_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698