| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PROXY_MAIN_H_ | 5 #ifndef CC_TREES_PROXY_MAIN_H_ |
| 6 #define CC_TREES_PROXY_MAIN_H_ | 6 #define CC_TREES_PROXY_MAIN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/debug/frame_timing_tracker.h" | 10 #include "cc/debug/frame_timing_tracker.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 void NotifyInputThrottledUntilCommit() override; | 102 void NotifyInputThrottledUntilCommit() override; |
| 103 void SetDeferCommits(bool defer_commits) override; | 103 void SetDeferCommits(bool defer_commits) override; |
| 104 bool CommitRequested() const override; | 104 bool CommitRequested() const override; |
| 105 bool BeginMainFrameRequested() const override; | 105 bool BeginMainFrameRequested() const override; |
| 106 void MainThreadHasStoppedFlinging() override; | 106 void MainThreadHasStoppedFlinging() override; |
| 107 void Start( | 107 void Start( |
| 108 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; | 108 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; |
| 109 void Stop() override; | 109 void Stop() override; |
| 110 bool SupportsImplScrolling() const override; | 110 bool SupportsImplScrolling() const override; |
| 111 bool MainFrameWillHappenForTesting() override; | 111 bool MainFrameWillHappenForTesting() override; |
| 112 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; | |
| 113 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; | 112 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; |
| 114 void ReleaseOutputSurface() override; | 113 void ReleaseOutputSurface() override; |
| 115 void UpdateTopControlsState(TopControlsState constraints, | 114 void UpdateTopControlsState(TopControlsState constraints, |
| 116 TopControlsState current, | 115 TopControlsState current, |
| 117 bool animate) override; | 116 bool animate) override; |
| 118 void SetOutputIsSecure(bool output_is_secure) override; | 117 void SetOutputIsSecure(bool output_is_secure) override; |
| 119 | 118 |
| 120 // This sets the channel used by ProxyMain to communicate with ProxyImpl. | 119 // This sets the channel used by ProxyMain to communicate with ProxyImpl. |
| 121 void SetChannel(std::unique_ptr<ChannelMain> channel_main); | 120 void SetChannel(std::unique_ptr<ChannelMain> channel_main); |
| 122 | 121 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 153 RendererCapabilities renderer_capabilities_; | 152 RendererCapabilities renderer_capabilities_; |
| 154 | 153 |
| 155 std::unique_ptr<ChannelMain> channel_main_; | 154 std::unique_ptr<ChannelMain> channel_main_; |
| 156 | 155 |
| 157 DISALLOW_COPY_AND_ASSIGN(ProxyMain); | 156 DISALLOW_COPY_AND_ASSIGN(ProxyMain); |
| 158 }; | 157 }; |
| 159 | 158 |
| 160 } // namespace cc | 159 } // namespace cc |
| 161 | 160 |
| 162 #endif // CC_TREES_PROXY_MAIN_H_ | 161 #endif // CC_TREES_PROXY_MAIN_H_ |
| OLD | NEW |