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

Side by Side Diff: cc/trees/layer_tree_impl.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/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 void FinishSwapPromises(CompositorFrameMetadata* metadata); 372 void FinishSwapPromises(CompositorFrameMetadata* metadata);
373 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason); 373 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason);
374 374
375 void DidModifyTilePriorities(); 375 void DidModifyTilePriorities();
376 376
377 ResourceId ResourceIdForUIResource(UIResourceId uid) const; 377 ResourceId ResourceIdForUIResource(UIResourceId uid) const;
378 void ProcessUIResourceRequestQueue(); 378 void ProcessUIResourceRequestQueue();
379 379
380 bool IsUIResourceOpaque(UIResourceId uid) const; 380 bool IsUIResourceOpaque(UIResourceId uid) const;
381 381
382 bool OutputIsSecure() const;
383
384 void RegisterPictureLayerImpl(PictureLayerImpl* layer); 382 void RegisterPictureLayerImpl(PictureLayerImpl* layer);
385 void UnregisterPictureLayerImpl(PictureLayerImpl* layer); 383 void UnregisterPictureLayerImpl(PictureLayerImpl* layer);
386 const std::vector<PictureLayerImpl*>& picture_layers() const { 384 const std::vector<PictureLayerImpl*>& picture_layers() const {
387 return picture_layers_; 385 return picture_layers_;
388 } 386 }
389 387
390 void RegisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); 388 void RegisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer);
391 void UnregisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); 389 void UnregisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer);
392 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const; 390 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const;
393 391
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 588
591 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 589 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
592 590
593 private: 591 private:
594 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 592 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
595 }; 593 };
596 594
597 } // namespace cc 595 } // namespace cc
598 596
599 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 597 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698