| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void SetNextCommitWaitsForActivation() override; | 100 void SetNextCommitWaitsForActivation() override; |
| 101 void NotifyInputThrottledUntilCommit() override; | 101 void NotifyInputThrottledUntilCommit() override; |
| 102 void SetDeferCommits(bool defer_commits) override; | 102 void SetDeferCommits(bool defer_commits) override; |
| 103 bool CommitRequested() const override; | 103 bool CommitRequested() const override; |
| 104 bool BeginMainFrameRequested() const override; | 104 bool BeginMainFrameRequested() const override; |
| 105 void MainThreadHasStoppedFlinging() override; | 105 void MainThreadHasStoppedFlinging() override; |
| 106 void Start(scoped_ptr<BeginFrameSource> external_begin_frame_source) override; | 106 void Start(scoped_ptr<BeginFrameSource> external_begin_frame_source) override; |
| 107 void Stop() override; | 107 void Stop() override; |
| 108 bool SupportsImplScrolling() const override; | 108 bool SupportsImplScrolling() const override; |
| 109 bool MainFrameWillHappenForTesting() override; | 109 bool MainFrameWillHappenForTesting() override; |
| 110 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; | |
| 111 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; | 110 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; |
| 112 void ReleaseOutputSurface() override; | 111 void ReleaseOutputSurface() override; |
| 113 void UpdateTopControlsState(TopControlsState constraints, | 112 void UpdateTopControlsState(TopControlsState constraints, |
| 114 TopControlsState current, | 113 TopControlsState current, |
| 115 bool animate) override; | 114 bool animate) override; |
| 116 void SetOutputIsSecure(bool output_is_secure) override; | 115 void SetOutputIsSecure(bool output_is_secure) override; |
| 117 | 116 |
| 118 // This sets the channel used by ProxyMain to communicate with ProxyImpl. | 117 // This sets the channel used by ProxyMain to communicate with ProxyImpl. |
| 119 void SetChannel(scoped_ptr<ChannelMain> channel_main); | 118 void SetChannel(scoped_ptr<ChannelMain> channel_main); |
| 120 | 119 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 151 RendererCapabilities renderer_capabilities_; | 150 RendererCapabilities renderer_capabilities_; |
| 152 | 151 |
| 153 scoped_ptr<ChannelMain> channel_main_; | 152 scoped_ptr<ChannelMain> channel_main_; |
| 154 | 153 |
| 155 DISALLOW_COPY_AND_ASSIGN(ProxyMain); | 154 DISALLOW_COPY_AND_ASSIGN(ProxyMain); |
| 156 }; | 155 }; |
| 157 | 156 |
| 158 } // namespace cc | 157 } // namespace cc |
| 159 | 158 |
| 160 #endif // CC_TREES_PROXY_MAIN_H_ | 159 #endif // CC_TREES_PROXY_MAIN_H_ |
| OLD | NEW |