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

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

Issue 194543002: Removing base::Time from SetAnimationEvents and PostAnimationEventsToMainThreadOnImplThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unused last_animation_time_ as well. Created 6 years, 9 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_impl_unittest.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 OVERRIDE {} 62 OVERRIDE {}
63 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; 63 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE;
64 virtual void NotifyReadyToActivate() OVERRIDE; 64 virtual void NotifyReadyToActivate() OVERRIDE;
65 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; 65 virtual void SetNeedsRedrawOnImplThread() OVERRIDE;
66 virtual void SetNeedsRedrawRectOnImplThread( 66 virtual void SetNeedsRedrawRectOnImplThread(
67 const gfx::Rect& dirty_rect) OVERRIDE; 67 const gfx::Rect& dirty_rect) OVERRIDE;
68 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; 68 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE;
69 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; 69 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE;
70 virtual void SetNeedsCommitOnImplThread() OVERRIDE; 70 virtual void SetNeedsCommitOnImplThread() OVERRIDE;
71 virtual void PostAnimationEventsToMainThreadOnImplThread( 71 virtual void PostAnimationEventsToMainThreadOnImplThread(
72 scoped_ptr<AnimationEventsVector> events, 72 scoped_ptr<AnimationEventsVector> events) OVERRIDE;
73 base::Time wall_clock_time) OVERRIDE;
74 virtual bool ReduceContentsTextureMemoryOnImplThread( 73 virtual bool ReduceContentsTextureMemoryOnImplThread(
75 size_t limit_bytes, 74 size_t limit_bytes,
76 int priority_cutoff) OVERRIDE; 75 int priority_cutoff) OVERRIDE;
77 virtual void SendManagedMemoryStats() OVERRIDE; 76 virtual void SendManagedMemoryStats() OVERRIDE;
78 virtual bool IsInsideDraw() OVERRIDE; 77 virtual bool IsInsideDraw() OVERRIDE;
79 virtual void RenewTreePriority() OVERRIDE {} 78 virtual void RenewTreePriority() OVERRIDE {}
80 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) 79 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay)
81 OVERRIDE {} 80 OVERRIDE {}
82 virtual void DidActivatePendingTree() OVERRIDE {} 81 virtual void DidActivatePendingTree() OVERRIDE {}
83 virtual void DidManageTiles() OVERRIDE {} 82 virtual void DidManageTiles() OVERRIDE {}
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 private: 178 private:
180 DebugScopedSetImplThread impl_thread_; 179 DebugScopedSetImplThread impl_thread_;
181 DebugScopedSetMainThreadBlocked main_thread_blocked_; 180 DebugScopedSetMainThreadBlocked main_thread_blocked_;
182 181
183 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 182 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
184 }; 183 };
185 184
186 } // namespace cc 185 } // namespace cc
187 186
188 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 187 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698