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

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

Issue 23495022: CC: Add a scheduled action for ManageTiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused. Created 7 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_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/time/time.h" 10 #include "base/time/time.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // LayerTreeHostImplClient implementation 51 // LayerTreeHostImplClient implementation
52 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; 52 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE;
53 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE {} 53 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE {}
54 virtual void BeginFrameOnImplThread(const BeginFrameArgs& args) 54 virtual void BeginFrameOnImplThread(const BeginFrameArgs& args)
55 OVERRIDE {} 55 OVERRIDE {}
56 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; 56 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE;
57 virtual void NotifyReadyToActivate() OVERRIDE; 57 virtual void NotifyReadyToActivate() OVERRIDE;
58 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; 58 virtual void SetNeedsRedrawOnImplThread() OVERRIDE;
59 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE; 59 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE;
60 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE;
60 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; 61 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE;
61 virtual void SetNeedsCommitOnImplThread() OVERRIDE; 62 virtual void SetNeedsCommitOnImplThread() OVERRIDE;
62 virtual void PostAnimationEventsToMainThreadOnImplThread( 63 virtual void PostAnimationEventsToMainThreadOnImplThread(
63 scoped_ptr<AnimationEventsVector> events, 64 scoped_ptr<AnimationEventsVector> events,
64 base::Time wall_clock_time) OVERRIDE; 65 base::Time wall_clock_time) OVERRIDE;
65 virtual bool ReduceContentsTextureMemoryOnImplThread( 66 virtual bool ReduceContentsTextureMemoryOnImplThread(
66 size_t limit_bytes, 67 size_t limit_bytes,
67 int priority_cutoff) OVERRIDE; 68 int priority_cutoff) OVERRIDE;
68 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; 69 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE;
69 virtual void SendManagedMemoryStats() OVERRIDE; 70 virtual void SendManagedMemoryStats() OVERRIDE;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 private: 174 private:
174 DebugScopedSetImplThread impl_thread_; 175 DebugScopedSetImplThread impl_thread_;
175 DebugScopedSetMainThreadBlocked main_thread_blocked_; 176 DebugScopedSetMainThreadBlocked main_thread_blocked_;
176 177
177 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 178 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
178 }; 179 };
179 180
180 } // namespace cc 181 } // namespace cc
181 182
182 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 183 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698