Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: cc/trees/proxy_main.h

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/proxy_impl.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/input/top_controls_state.h" 10 #include "cc/input/browser_controls_state.h"
11 #include "cc/trees/channel_main.h" 11 #include "cc/trees/channel_main.h"
12 #include "cc/trees/proxy.h" 12 #include "cc/trees/proxy.h"
13 #include "cc/trees/proxy_common.h" 13 #include "cc/trees/proxy_common.h"
14 #include "cc/trees/remote_proto_channel.h" 14 #include "cc/trees/remote_proto_channel.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 class AnimationEvents; 18 class AnimationEvents;
19 class BeginFrameSource; 19 class BeginFrameSource;
20 class ChannelMain; 20 class ChannelMain;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void SetDeferCommits(bool defer_commits) override; 92 void SetDeferCommits(bool defer_commits) override;
93 bool CommitRequested() const override; 93 bool CommitRequested() const override;
94 bool BeginMainFrameRequested() const override; 94 bool BeginMainFrameRequested() const override;
95 void MainThreadHasStoppedFlinging() override; 95 void MainThreadHasStoppedFlinging() override;
96 void Start() override; 96 void Start() override;
97 void Stop() override; 97 void Stop() override;
98 bool SupportsImplScrolling() const override; 98 bool SupportsImplScrolling() const override;
99 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; 99 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override;
100 bool MainFrameWillHappenForTesting() override; 100 bool MainFrameWillHappenForTesting() override;
101 void ReleaseCompositorFrameSink() override; 101 void ReleaseCompositorFrameSink() override;
102 void UpdateTopControlsState(TopControlsState constraints, 102 void UpdateBrowserControlsState(BrowserControlsState constraints,
103 TopControlsState current, 103 BrowserControlsState current,
104 bool animate) override; 104 bool animate) override;
105 105
106 // This sets the channel used by ProxyMain to communicate with ProxyImpl. 106 // This sets the channel used by ProxyMain to communicate with ProxyImpl.
107 void SetChannel(std::unique_ptr<ChannelMain> channel_main); 107 void SetChannel(std::unique_ptr<ChannelMain> channel_main);
108 108
109 // Returns |true| if the request was actually sent, |false| if one was 109 // Returns |true| if the request was actually sent, |false| if one was
110 // already outstanding. 110 // already outstanding.
111 bool SendCommitRequestToImplThreadIfNeeded( 111 bool SendCommitRequestToImplThreadIfNeeded(
112 CommitPipelineStage required_stage); 112 CommitPipelineStage required_stage);
113 bool IsMainThread() const; 113 bool IsMainThread() const;
114 114
(...skipping 22 matching lines...) Expand all
137 bool defer_commits_; 137 bool defer_commits_;
138 138
139 std::unique_ptr<ChannelMain> channel_main_; 139 std::unique_ptr<ChannelMain> channel_main_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(ProxyMain); 141 DISALLOW_COPY_AND_ASSIGN(ProxyMain);
142 }; 142 };
143 143
144 } // namespace cc 144 } // namespace cc
145 145
146 #endif // CC_TREES_PROXY_MAIN_H_ 146 #endif // CC_TREES_PROXY_MAIN_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy_impl.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698