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

Side by Side Diff: cc/trees/single_thread_proxy.h

Issue 1296673004: Devtools/CC: Remove continuous repainting feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TREES_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void DidActivateSyncTree() override; 103 void DidActivateSyncTree() override;
104 void WillPrepareTiles() override; 104 void WillPrepareTiles() override;
105 void DidPrepareTiles() override; 105 void DidPrepareTiles() override;
106 void DidCompletePageScaleAnimationOnImplThread() override; 106 void DidCompletePageScaleAnimationOnImplThread() override;
107 void OnDrawForOutputSurface() override; 107 void OnDrawForOutputSurface() override;
108 void PostFrameTimingEventsOnImplThread( 108 void PostFrameTimingEventsOnImplThread(
109 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 109 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
110 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) 110 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
111 override; 111 override;
112 112
113 void SetDebugState(const LayerTreeDebugState& debug_state) override {}
114
115 void RequestNewOutputSurface(); 113 void RequestNewOutputSurface();
116 114
117 // Called by the legacy path where RenderWidget does the scheduling. 115 // Called by the legacy path where RenderWidget does the scheduling.
118 void LayoutAndUpdateLayers(); 116 void LayoutAndUpdateLayers();
119 void CompositeImmediately(base::TimeTicks frame_begin_time); 117 void CompositeImmediately(base::TimeTicks frame_begin_time);
120 118
121 protected: 119 protected:
122 SingleThreadProxy( 120 SingleThreadProxy(
123 LayerTreeHost* layer_tree_host, 121 LayerTreeHost* layer_tree_host,
124 LayerTreeHostSingleThreadClient* client, 122 LayerTreeHostSingleThreadClient* client,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 private: 230 private:
233 DebugScopedSetImplThread impl_thread_; 231 DebugScopedSetImplThread impl_thread_;
234 DebugScopedSetMainThreadBlocked main_thread_blocked_; 232 DebugScopedSetMainThreadBlocked main_thread_blocked_;
235 233
236 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 234 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
237 }; 235 };
238 236
239 } // namespace cc 237 } // namespace cc
240 238
241 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 239 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698