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

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

Issue 18191020: UI Resource Manager (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
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_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 int priority_cutoff) 84 int priority_cutoff)
85 OVERRIDE; 85 OVERRIDE;
86 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; 86 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE;
87 virtual void SendManagedMemoryStats() OVERRIDE; 87 virtual void SendManagedMemoryStats() OVERRIDE;
88 virtual bool IsInsideDraw() OVERRIDE; 88 virtual bool IsInsideDraw() OVERRIDE;
89 virtual void RenewTreePriority() OVERRIDE; 89 virtual void RenewTreePriority() OVERRIDE;
90 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) 90 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay)
91 OVERRIDE; 91 OVERRIDE;
92 virtual void DidActivatePendingTree() OVERRIDE; 92 virtual void DidActivatePendingTree() OVERRIDE;
93 93
94 // LayerTreeHostImplClient UI Resource management
95 virtual void UIResourceLostOnImplThread(UIResourceId uid) OVERRIDE;
96
97 virtual void PostUIResourceLostToMainThread(UIResourceId uid);
aelias_OOO_until_Jul13 2013/07/23 00:06:48 Change this to: private: ... void UIResourceLos
powei 2013/07/24 02:28:29 Done.
98
94 // SchedulerClient implementation 99 // SchedulerClient implementation
95 virtual void SetNeedsBeginFrameOnImplThread(bool enable) OVERRIDE; 100 virtual void SetNeedsBeginFrameOnImplThread(bool enable) OVERRIDE;
96 virtual void ScheduledActionSendBeginFrameToMainThread() OVERRIDE; 101 virtual void ScheduledActionSendBeginFrameToMainThread() OVERRIDE;
97 virtual ScheduledActionDrawAndSwapResult 102 virtual ScheduledActionDrawAndSwapResult
98 ScheduledActionDrawAndSwapIfPossible() OVERRIDE; 103 ScheduledActionDrawAndSwapIfPossible() OVERRIDE;
99 virtual ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapForced() 104 virtual ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapForced()
100 OVERRIDE; 105 OVERRIDE;
101 virtual void ScheduledActionCommit() OVERRIDE; 106 virtual void ScheduledActionCommit() OVERRIDE;
102 virtual void ScheduledActionCheckForCompletedTileUploads() OVERRIDE; 107 virtual void ScheduledActionCheckForCompletedTileUploads() OVERRIDE;
103 virtual void ScheduledActionActivatePendingTreeIfNeeded() OVERRIDE; 108 virtual void ScheduledActionActivatePendingTreeIfNeeded() OVERRIDE;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 bool renew_tree_priority_on_impl_thread_pending_; 254 bool renew_tree_priority_on_impl_thread_pending_;
250 255
251 RollingTimeDeltaHistory draw_duration_history_; 256 RollingTimeDeltaHistory draw_duration_history_;
252 257
253 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 258 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
254 }; 259 };
255 260
256 } // namespace cc 261 } // namespace cc
257 262
258 #endif // CC_TREES_THREAD_PROXY_H_ 263 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698