OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 virtual void SetNextCommitWaitsForActivation() OVERRIDE; | 40 virtual void SetNextCommitWaitsForActivation() OVERRIDE; |
41 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {} | 41 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {} |
42 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; | 42 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; |
43 virtual bool CommitRequested() const OVERRIDE; | 43 virtual bool CommitRequested() const OVERRIDE; |
44 virtual bool BeginMainFrameRequested() const OVERRIDE; | 44 virtual bool BeginMainFrameRequested() const OVERRIDE; |
45 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} | 45 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} |
46 virtual void Start() OVERRIDE; | 46 virtual void Start() OVERRIDE; |
47 virtual void Stop() OVERRIDE; | 47 virtual void Stop() OVERRIDE; |
48 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; | 48 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; |
49 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; | 49 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; |
| 50 virtual bool SupportsImplScrolling() const OVERRIDE; |
50 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; | 51 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; |
51 virtual bool CommitPendingForTesting() OVERRIDE; | 52 virtual bool CommitPendingForTesting() OVERRIDE; |
52 | 53 |
53 // LayerTreeHostImplClient implementation | 54 // LayerTreeHostImplClient implementation |
54 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; | 55 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; |
55 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; | 56 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; |
56 virtual void CommitVSyncParameters(base::TimeTicks timebase, | 57 virtual void CommitVSyncParameters(base::TimeTicks timebase, |
57 base::TimeDelta interval) OVERRIDE {} | 58 base::TimeDelta interval) OVERRIDE {} |
58 virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) OVERRIDE {} | 59 virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) OVERRIDE {} |
59 virtual void SetMaxSwapsPendingOnImplThread(int max) OVERRIDE {} | 60 virtual void SetMaxSwapsPendingOnImplThread(int max) OVERRIDE {} |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 private: | 176 private: |
176 DebugScopedSetImplThread impl_thread_; | 177 DebugScopedSetImplThread impl_thread_; |
177 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 178 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
178 | 179 |
179 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 180 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
180 }; | 181 }; |
181 | 182 |
182 } // namespace cc | 183 } // namespace cc |
183 | 184 |
184 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 185 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |