OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_REMOTE_CHANNEL_MAIN_H_ | 5 #ifndef CC_TREES_REMOTE_CHANNEL_MAIN_H_ |
6 #define CC_TREES_REMOTE_CHANNEL_MAIN_H_ | 6 #define CC_TREES_REMOTE_CHANNEL_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/trees/channel_main.h" | 10 #include "cc/trees/channel_main.h" |
(...skipping 12 matching lines...) Expand all Loading... | |
23 public RemoteProtoChannel::ProtoReceiver { | 23 public RemoteProtoChannel::ProtoReceiver { |
24 public: | 24 public: |
25 static std::unique_ptr<RemoteChannelMain> Create( | 25 static std::unique_ptr<RemoteChannelMain> Create( |
26 RemoteProtoChannel* remote_proto_channel, | 26 RemoteProtoChannel* remote_proto_channel, |
27 ProxyMain* proxy_main, | 27 ProxyMain* proxy_main, |
28 TaskRunnerProvider* task_runner_provider); | 28 TaskRunnerProvider* task_runner_provider); |
29 | 29 |
30 ~RemoteChannelMain() override; | 30 ~RemoteChannelMain() override; |
31 | 31 |
32 // ChannelMain implementation | 32 // ChannelMain implementation |
33 void UpdateTopControlsStateOnImpl(TopControlsState constraints, | 33 void UpdateTopControlsStateOnImpl(BrowserControlsState constraints, |
vmpstr
2016/10/21 17:54:59
dittoOnImpl
mdjones
2016/10/24 21:20:24
Done.
| |
34 TopControlsState current, | 34 BrowserControlsState current, |
35 bool animate) override; | 35 bool animate) override; |
36 void InitializeCompositorFrameSinkOnImpl(CompositorFrameSink*) override; | 36 void InitializeCompositorFrameSinkOnImpl(CompositorFrameSink*) override; |
37 void InitializeMutatorOnImpl( | 37 void InitializeMutatorOnImpl( |
38 std::unique_ptr<LayerTreeMutator> mutator) override; | 38 std::unique_ptr<LayerTreeMutator> mutator) override; |
39 void MainThreadHasStoppedFlingingOnImpl() override; | 39 void MainThreadHasStoppedFlingingOnImpl() override; |
40 void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override; | 40 void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override; |
41 void SetDeferCommitsOnImpl(bool defer_commits) override; | 41 void SetDeferCommitsOnImpl(bool defer_commits) override; |
42 void SetVisibleOnImpl(bool visible) override; | 42 void SetVisibleOnImpl(bool visible) override; |
43 void ReleaseCompositorFrameSinkOnImpl(CompletionEvent* completion) override; | 43 void ReleaseCompositorFrameSinkOnImpl(CompletionEvent* completion) override; |
44 void MainFrameWillHappenOnImplForTesting( | 44 void MainFrameWillHappenOnImplForTesting( |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 bool initialized_; | 82 bool initialized_; |
83 | 83 |
84 base::WeakPtrFactory<RemoteChannelMain> weak_factory_; | 84 base::WeakPtrFactory<RemoteChannelMain> weak_factory_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain); | 86 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace cc | 89 } // namespace cc |
90 | 90 |
91 #endif // CC_TREES_REMOTE_CHANNEL_MAIN_H_ | 91 #endif // CC_TREES_REMOTE_CHANNEL_MAIN_H_ |
OLD | NEW |