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

Side by Side Diff: cc/trees/layer_tree_host.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/test/render_pass_test_utils.cc ('k') | cc/trees/layer_tree_host.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 void SetDeferCommits(bool defer_commits); 172 void SetDeferCommits(bool defer_commits);
173 173
174 int source_frame_number() const { return source_frame_number_; } 174 int source_frame_number() const { return source_frame_number_; }
175 175
176 bool gpu_rasterization_histogram_recorded() const { 176 bool gpu_rasterization_histogram_recorded() const {
177 return gpu_rasterization_histogram_recorded_; 177 return gpu_rasterization_histogram_recorded_;
178 } 178 }
179 179
180 void SetNeedsDisplayOnAllLayers(); 180 void SetNeedsDisplayOnAllLayers();
181 181
182 void SetOutputIsSecure(bool output_is_secure);
183
184 void CollectRenderingStats(RenderingStats* stats) const; 182 void CollectRenderingStats(RenderingStats* stats) const;
185 183
186 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { 184 RenderingStatsInstrumentation* rendering_stats_instrumentation() const {
187 return rendering_stats_instrumentation_.get(); 185 return rendering_stats_instrumentation_.get();
188 } 186 }
189 187
190 virtual const RendererCapabilities& GetRendererCapabilities() const; 188 virtual const RendererCapabilities& GetRendererCapabilities() const;
191 189
192 void SetNeedsAnimate(); 190 void SetNeedsAnimate();
193 virtual void SetNeedsUpdateLayers(); 191 virtual void SetNeedsUpdateLayers();
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 590
593 uint32_t surface_id_namespace_; 591 uint32_t surface_id_namespace_;
594 uint32_t next_surface_sequence_; 592 uint32_t next_surface_sequence_;
595 593
596 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 594 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
597 }; 595 };
598 596
599 } // namespace cc 597 } // namespace cc
600 598
601 #endif // CC_TREES_LAYER_TREE_HOST_H_ 599 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698