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

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

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/property_tree_builder.cc ('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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override; 97 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override;
98 void SetNeedsAnimateOnImplThread() override; 98 void SetNeedsAnimateOnImplThread() override;
99 void SetNeedsPrepareTilesOnImplThread() override; 99 void SetNeedsPrepareTilesOnImplThread() override;
100 void SetNeedsCommitOnImplThread() override; 100 void SetNeedsCommitOnImplThread() override;
101 void PostAnimationEventsToMainThreadOnImplThread( 101 void PostAnimationEventsToMainThreadOnImplThread(
102 scoped_ptr<AnimationEventsVector> events) override; 102 scoped_ptr<AnimationEventsVector> events) override;
103 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 103 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
104 int priority_cutoff) override; 104 int priority_cutoff) override;
105 bool IsInsideDraw() override; 105 bool IsInsideDraw() override;
106 void RenewTreePriority() override {} 106 void RenewTreePriority() override {}
107 void PostDelayedScrollbarFadeOnImplThread(const base::Closure& start_fade, 107 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
108 base::TimeDelta delay) override {} 108 base::TimeDelta delay) override {}
109 void DidActivateSyncTree() override; 109 void DidActivateSyncTree() override;
110 void DidPrepareTiles() override; 110 void DidPrepareTiles() override;
111 void DidCompletePageScaleAnimationOnImplThread() override; 111 void DidCompletePageScaleAnimationOnImplThread() override;
112 void SetDebugState(const LayerTreeDebugState& debug_state) override {} 112 void SetDebugState(const LayerTreeDebugState& debug_state) override {}
113 113
114 void RequestNewOutputSurface(); 114 void RequestNewOutputSurface();
115 115
116 // Called by the legacy path where RenderWidget does the scheduling. 116 // Called by the legacy path where RenderWidget does the scheduling.
117 void CompositeImmediately(base::TimeTicks frame_begin_time); 117 void CompositeImmediately(base::TimeTicks frame_begin_time);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 private: 231 private:
232 DebugScopedSetImplThread impl_thread_; 232 DebugScopedSetImplThread impl_thread_;
233 DebugScopedSetMainThreadBlocked main_thread_blocked_; 233 DebugScopedSetMainThreadBlocked main_thread_blocked_;
234 234
235 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 235 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
236 }; 236 };
237 237
238 } // namespace cc 238 } // namespace cc
239 239
240 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 240 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698