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