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_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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 virtual void SetNextCommitWaitsForActivation() OVERRIDE; | 159 virtual void SetNextCommitWaitsForActivation() OVERRIDE; |
160 virtual void NotifyInputThrottledUntilCommit() OVERRIDE; | 160 virtual void NotifyInputThrottledUntilCommit() OVERRIDE; |
161 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; | 161 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; |
162 virtual bool CommitRequested() const OVERRIDE; | 162 virtual bool CommitRequested() const OVERRIDE; |
163 virtual bool BeginMainFrameRequested() const OVERRIDE; | 163 virtual bool BeginMainFrameRequested() const OVERRIDE; |
164 virtual void MainThreadHasStoppedFlinging() OVERRIDE; | 164 virtual void MainThreadHasStoppedFlinging() OVERRIDE; |
165 virtual void Start() OVERRIDE; | 165 virtual void Start() OVERRIDE; |
166 virtual void Stop() OVERRIDE; | 166 virtual void Stop() OVERRIDE; |
167 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; | 167 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; |
168 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; | 168 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; |
| 169 virtual bool SupportsImplScrolling() const OVERRIDE; |
169 virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE; | 170 virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE; |
170 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; | 171 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; |
171 virtual bool CommitPendingForTesting() OVERRIDE; | 172 virtual bool CommitPendingForTesting() OVERRIDE; |
172 virtual scoped_ptr<base::Value> SchedulerAsValueForTesting() OVERRIDE; | 173 virtual scoped_ptr<base::Value> SchedulerAsValueForTesting() OVERRIDE; |
173 | 174 |
174 // LayerTreeHostImplClient implementation | 175 // LayerTreeHostImplClient implementation |
175 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; | 176 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; |
176 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; | 177 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; |
177 virtual void CommitVSyncParameters(base::TimeTicks timebase, | 178 virtual void CommitVSyncParameters(base::TimeTicks timebase, |
178 base::TimeDelta interval) OVERRIDE; | 179 base::TimeDelta interval) OVERRIDE; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 296 |
296 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 297 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
297 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 298 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
298 | 299 |
299 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 300 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
300 }; | 301 }; |
301 | 302 |
302 } // namespace cc | 303 } // namespace cc |
303 | 304 |
304 #endif // CC_TREES_THREAD_PROXY_H_ | 305 #endif // CC_TREES_THREAD_PROXY_H_ |
OLD | NEW |