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

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

Issue 110583008: Enable Canvas2D hardware acceleration for Android WebView Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 87 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
88 int priority_cutoff) 88 int priority_cutoff)
89 OVERRIDE; 89 OVERRIDE;
90 virtual void SendManagedMemoryStats() OVERRIDE; 90 virtual void SendManagedMemoryStats() OVERRIDE;
91 virtual bool IsInsideDraw() OVERRIDE; 91 virtual bool IsInsideDraw() OVERRIDE;
92 virtual void RenewTreePriority() OVERRIDE; 92 virtual void RenewTreePriority() OVERRIDE;
93 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) 93 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay)
94 OVERRIDE; 94 OVERRIDE;
95 virtual void DidActivatePendingTree() OVERRIDE; 95 virtual void DidActivatePendingTree() OVERRIDE;
96 virtual void DidManageTiles() OVERRIDE; 96 virtual void DidManageTiles() OVERRIDE;
97 virtual void OnGetRendererCapabilities() OVERRIDE;
97 98
98 // SchedulerClient implementation 99 // SchedulerClient implementation
99 virtual void SetNeedsBeginImplFrame(bool enable) OVERRIDE; 100 virtual void SetNeedsBeginImplFrame(bool enable) OVERRIDE;
100 virtual void ScheduledActionSendBeginMainFrame() OVERRIDE; 101 virtual void ScheduledActionSendBeginMainFrame() OVERRIDE;
101 virtual DrawSwapReadbackResult ScheduledActionDrawAndSwapIfPossible() 102 virtual DrawSwapReadbackResult ScheduledActionDrawAndSwapIfPossible()
102 OVERRIDE; 103 OVERRIDE;
103 virtual DrawSwapReadbackResult ScheduledActionDrawAndSwapForced() OVERRIDE; 104 virtual DrawSwapReadbackResult ScheduledActionDrawAndSwapForced() OVERRIDE;
104 virtual DrawSwapReadbackResult ScheduledActionDrawAndReadback() OVERRIDE; 105 virtual DrawSwapReadbackResult ScheduledActionDrawAndReadback() OVERRIDE;
105 virtual void ScheduledActionCommit() OVERRIDE; 106 virtual void ScheduledActionCommit() OVERRIDE;
106 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE; 107 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 base::WeakPtrFactory<ThreadProxy> weak_factory_; 288 base::WeakPtrFactory<ThreadProxy> weak_factory_;
288 289
289 const int layer_tree_host_id_; 290 const int layer_tree_host_id_;
290 291
291 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 292 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
292 }; 293 };
293 294
294 } // namespace cc 295 } // namespace cc
295 296
296 #endif // CC_TREES_THREAD_PROXY_H_ 297 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698