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

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

Issue 2349743004: cc: Remove things from OutputSurface and CompositorFrameSink. (Closed)
Patch Set: delete-stuff-cfs: comment-and-rebase Created 4 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_impl.cc ('k') | cc/trees/single_thread_proxy.cc » ('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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // LayerTreeHostImplClient implementation 78 // LayerTreeHostImplClient implementation
79 void DidLoseCompositorFrameSinkOnImplThread() override; 79 void DidLoseCompositorFrameSinkOnImplThread() override;
80 void SetBeginFrameSource(BeginFrameSource* source) override; 80 void SetBeginFrameSource(BeginFrameSource* source) override;
81 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; 81 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override;
82 void DidSwapBuffersCompleteOnImplThread() override; 82 void DidSwapBuffersCompleteOnImplThread() override;
83 void OnCanDrawStateChanged(bool can_draw) override; 83 void OnCanDrawStateChanged(bool can_draw) override;
84 void NotifyReadyToActivate() override; 84 void NotifyReadyToActivate() override;
85 void NotifyReadyToDraw() override; 85 void NotifyReadyToDraw() override;
86 void SetNeedsRedrawOnImplThread() override; 86 void SetNeedsRedrawOnImplThread() override;
87 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override;
88 void SetNeedsOneBeginImplFrameOnImplThread() override; 87 void SetNeedsOneBeginImplFrameOnImplThread() override;
89 void SetNeedsPrepareTilesOnImplThread() override; 88 void SetNeedsPrepareTilesOnImplThread() override;
90 void SetNeedsCommitOnImplThread() override; 89 void SetNeedsCommitOnImplThread() override;
91 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; 90 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override;
92 void PostAnimationEventsToMainThreadOnImplThread( 91 void PostAnimationEventsToMainThreadOnImplThread(
93 std::unique_ptr<AnimationEvents> events) override; 92 std::unique_ptr<AnimationEvents> events) override;
94 bool IsInsideDraw() override; 93 bool IsInsideDraw() override;
95 void RenewTreePriority() override {} 94 void RenewTreePriority() override {}
96 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 95 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
97 base::TimeDelta delay) override {} 96 base::TimeDelta delay) override {}
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 private: 236 private:
238 DebugScopedSetImplThread impl_thread_; 237 DebugScopedSetImplThread impl_thread_;
239 DebugScopedSetMainThreadBlocked main_thread_blocked_; 238 DebugScopedSetMainThreadBlocked main_thread_blocked_;
240 239
241 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
242 }; 241 };
243 242
244 } // namespace cc 243 } // namespace cc
245 244
246 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy_impl.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698