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

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

Issue 15651006: cc: Disable LastInputEventForBeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@nobfafteri
Patch Set: Remove HandleInputEventInternal Created 7 years, 6 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.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/time.h" 10 #include "base/time.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 base::Time wall_clock_time) OVERRIDE; 64 base::Time wall_clock_time) OVERRIDE;
65 virtual bool ReduceContentsTextureMemoryOnImplThread( 65 virtual bool ReduceContentsTextureMemoryOnImplThread(
66 size_t limit_bytes, 66 size_t limit_bytes,
67 int priority_cutoff) OVERRIDE; 67 int priority_cutoff) OVERRIDE;
68 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; 68 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE;
69 virtual void SendManagedMemoryStats() OVERRIDE; 69 virtual void SendManagedMemoryStats() OVERRIDE;
70 virtual bool IsInsideDraw() OVERRIDE; 70 virtual bool IsInsideDraw() OVERRIDE;
71 virtual void RenewTreePriority() OVERRIDE {} 71 virtual void RenewTreePriority() OVERRIDE {}
72 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) 72 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay)
73 OVERRIDE {} 73 OVERRIDE {}
74 virtual void DidReceiveLastInputEventForBeginFrameOnImplThread(
75 base::TimeTicks frame_time) OVERRIDE {}
76 virtual void DidActivatePendingTree() OVERRIDE {} 74 virtual void DidActivatePendingTree() OVERRIDE {}
77 75
78 // Called by the legacy path where RenderWidget does the scheduling. 76 // Called by the legacy path where RenderWidget does the scheduling.
79 void CompositeImmediately(base::TimeTicks frame_begin_time); 77 void CompositeImmediately(base::TimeTicks frame_begin_time);
80 78
81 private: 79 private:
82 explicit SingleThreadProxy(LayerTreeHost* layer_tree_host); 80 explicit SingleThreadProxy(LayerTreeHost* layer_tree_host);
83 81
84 void OnOutputSurfaceInitializeAttempted(bool success); 82 void OnOutputSurfaceInitializeAttempted(bool success);
85 bool CommitAndComposite(base::TimeTicks frame_begin_time, 83 bool CommitAndComposite(base::TimeTicks frame_begin_time,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 private: 172 private:
175 DebugScopedSetImplThread impl_thread_; 173 DebugScopedSetImplThread impl_thread_;
176 DebugScopedSetMainThreadBlocked main_thread_blocked_; 174 DebugScopedSetMainThreadBlocked main_thread_blocked_;
177 175
178 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 176 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
179 }; 177 };
180 178
181 } // namespace cc 179 } // namespace cc
182 180
183 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 181 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698