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/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 TaskRunnerProvider* task_runner_provider_); | 34 TaskRunnerProvider* task_runner_provider_); |
35 ~SingleThreadProxy() override; | 35 ~SingleThreadProxy() override; |
36 | 36 |
37 // Proxy implementation | 37 // Proxy implementation |
38 bool IsStarted() const override; | 38 bool IsStarted() const override; |
39 bool CommitToActiveTree() const override; | 39 bool CommitToActiveTree() const override; |
40 void SetCompositorFrameSink( | 40 void SetCompositorFrameSink( |
41 CompositorFrameSink* compositor_frame_sink) override; | 41 CompositorFrameSink* compositor_frame_sink) override; |
42 void ReleaseCompositorFrameSink() override; | 42 void ReleaseCompositorFrameSink() override; |
43 void SetVisible(bool visible) override; | 43 void SetVisible(bool visible) override; |
| 44 void SetIsFullscreen(bool is_fullscreen) override; |
44 void SetNeedsAnimate() override; | 45 void SetNeedsAnimate() override; |
45 void SetNeedsUpdateLayers() override; | 46 void SetNeedsUpdateLayers() override; |
46 void SetNeedsCommit() override; | 47 void SetNeedsCommit() override; |
47 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; | 48 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; |
48 void SetNextCommitWaitsForActivation() override; | 49 void SetNextCommitWaitsForActivation() override; |
49 void NotifyInputThrottledUntilCommit() override {} | 50 void NotifyInputThrottledUntilCommit() override {} |
50 void SetDeferCommits(bool defer_commits) override; | 51 void SetDeferCommits(bool defer_commits) override; |
51 bool CommitRequested() const override; | 52 bool CommitRequested() const override; |
52 void MainThreadHasStoppedFlinging() override {} | 53 void MainThreadHasStoppedFlinging() override {} |
53 void Start() override; | 54 void Start() override; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 private: | 245 private: |
245 DebugScopedSetImplThread impl_thread_; | 246 DebugScopedSetImplThread impl_thread_; |
246 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 247 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
247 | 248 |
248 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 249 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
249 }; | 250 }; |
250 | 251 |
251 } // namespace cc | 252 } // namespace cc |
252 | 253 |
253 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 254 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |