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

Side by Side Diff: cc/trees/proxy_impl.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/layer_tree_host_unittest_copyrequest.cc ('k') | cc/trees/proxy_impl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROXY_IMPL_H_ 5 #ifndef CC_TREES_PROXY_IMPL_H_
6 #define CC_TREES_PROXY_IMPL_H_ 6 #define CC_TREES_PROXY_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 }; 67 };
68 68
69 // LayerTreeHostImplClient implementation 69 // LayerTreeHostImplClient implementation
70 void DidLoseCompositorFrameSinkOnImplThread() override; 70 void DidLoseCompositorFrameSinkOnImplThread() override;
71 void SetBeginFrameSource(BeginFrameSource* source) override; 71 void SetBeginFrameSource(BeginFrameSource* source) override;
72 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; 72 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override;
73 void DidSwapBuffersCompleteOnImplThread() override; 73 void DidSwapBuffersCompleteOnImplThread() override;
74 void OnCanDrawStateChanged(bool can_draw) override; 74 void OnCanDrawStateChanged(bool can_draw) override;
75 void NotifyReadyToActivate() override; 75 void NotifyReadyToActivate() override;
76 void NotifyReadyToDraw() override; 76 void NotifyReadyToDraw() override;
77 // Please call these 3 functions through 77 // Please call these 2 functions through
78 // LayerTreeHostImpl's SetNeedsRedraw(), SetNeedsRedrawRect() and 78 // LayerTreeHostImpl's SetNeedsRedraw() and SetNeedsOneBeginImplFrame().
79 // SetNeedsOneBeginImplFrame().
80 void SetNeedsRedrawOnImplThread() override; 79 void SetNeedsRedrawOnImplThread() override;
81 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override;
82 void SetNeedsOneBeginImplFrameOnImplThread() override; 80 void SetNeedsOneBeginImplFrameOnImplThread() override;
83 void SetNeedsPrepareTilesOnImplThread() override; 81 void SetNeedsPrepareTilesOnImplThread() override;
84 void SetNeedsCommitOnImplThread() override; 82 void SetNeedsCommitOnImplThread() override;
85 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; 83 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override;
86 void PostAnimationEventsToMainThreadOnImplThread( 84 void PostAnimationEventsToMainThreadOnImplThread(
87 std::unique_ptr<AnimationEvents> events) override; 85 std::unique_ptr<AnimationEvents> events) override;
88 bool IsInsideDraw() override; 86 bool IsInsideDraw() override;
89 void RenewTreePriority() override; 87 void RenewTreePriority() override;
90 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 88 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
91 base::TimeDelta delay) override; 89 base::TimeDelta delay) override;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Use accessors instead of this variable directly. 146 // Use accessors instead of this variable directly.
149 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; 147 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_;
150 BlockedMainCommitOnly& blocked_main_commit(); 148 BlockedMainCommitOnly& blocked_main_commit();
151 149
152 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); 150 DISALLOW_COPY_AND_ASSIGN(ProxyImpl);
153 }; 151 };
154 152
155 } // namespace cc 153 } // namespace cc
156 154
157 #endif // CC_TREES_PROXY_IMPL_H_ 155 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_copyrequest.cc ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698