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

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

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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.h ('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/top_controls_state.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void MainThreadHasStoppedFlinging() override; 101 void MainThreadHasStoppedFlinging() override;
102 void Start( 102 void Start(
103 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; 103 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
104 void Stop() override; 104 void Stop() override;
105 bool SupportsImplScrolling() const override; 105 bool SupportsImplScrolling() const override;
106 bool MainFrameWillHappenForTesting() override; 106 bool MainFrameWillHappenForTesting() override;
107 void ReleaseOutputSurface() override; 107 void ReleaseOutputSurface() override;
108 void UpdateTopControlsState(TopControlsState constraints, 108 void UpdateTopControlsState(TopControlsState constraints,
109 TopControlsState current, 109 TopControlsState current,
110 bool animate) override; 110 bool animate) override;
111 void SetOutputIsSecure(bool output_is_secure) override;
112 111
113 // This sets the channel used by ProxyMain to communicate with ProxyImpl. 112 // This sets the channel used by ProxyMain to communicate with ProxyImpl.
114 void SetChannel(std::unique_ptr<ChannelMain> channel_main); 113 void SetChannel(std::unique_ptr<ChannelMain> channel_main);
115 114
116 // Returns |true| if the request was actually sent, |false| if one was 115 // Returns |true| if the request was actually sent, |false| if one was
117 // already outstanding. 116 // already outstanding.
118 bool SendCommitRequestToImplThreadIfNeeded( 117 bool SendCommitRequestToImplThreadIfNeeded(
119 CommitPipelineStage required_stage); 118 CommitPipelineStage required_stage);
120 bool IsMainThread() const; 119 bool IsMainThread() const;
121 120
(...skipping 24 matching lines...) Expand all
146 RendererCapabilities renderer_capabilities_; 145 RendererCapabilities renderer_capabilities_;
147 146
148 std::unique_ptr<ChannelMain> channel_main_; 147 std::unique_ptr<ChannelMain> channel_main_;
149 148
150 DISALLOW_COPY_AND_ASSIGN(ProxyMain); 149 DISALLOW_COPY_AND_ASSIGN(ProxyMain);
151 }; 150 };
152 151
153 } // namespace cc 152 } // namespace cc
154 153
155 #endif // CC_TREES_PROXY_MAIN_H_ 154 #endif // CC_TREES_PROXY_MAIN_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698