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

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

Issue 2857923004: cc: Keep PaintImage in DrawImage. (Closed)
Patch Set: .. Created 3 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_unittest.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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 490
491 void ResetAllChangeTracking(); 491 void ResetAllChangeTracking();
492 492
493 void AddToLayerList(LayerImpl* layer); 493 void AddToLayerList(LayerImpl* layer);
494 494
495 void ClearLayerList(); 495 void ClearLayerList();
496 496
497 void BuildLayerListForTesting(); 497 void BuildLayerListForTesting();
498 void HandleScrollbarShowRequestsFromMain(); 498 void HandleScrollbarShowRequestsFromMain();
499 499
500 void InvalidateRegionForImages(const ImageIdFlatSet& images_to_invalidate); 500 void InvalidateRegionForImages(
501 const PaintImageIdFlatSet& images_to_invalidate);
501 502
502 LayerTreeLifecycle& lifecycle() { return lifecycle_; } 503 LayerTreeLifecycle& lifecycle() { return lifecycle_; }
503 504
504 protected: 505 protected:
505 float ClampPageScaleFactorToLimits(float page_scale_factor) const; 506 float ClampPageScaleFactorToLimits(float page_scale_factor) const;
506 void PushPageScaleFactorAndLimits(const float* page_scale_factor, 507 void PushPageScaleFactorAndLimits(const float* page_scale_factor,
507 float min_page_scale_factor, 508 float min_page_scale_factor,
508 float max_page_scale_factor); 509 float max_page_scale_factor);
509 bool SetPageScaleFactorLimits(float min_page_scale_factor, 510 bool SetPageScaleFactorLimits(float min_page_scale_factor,
510 float max_page_scale_factor); 511 float max_page_scale_factor);
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 // lifecycle states. See: |LayerTreeLifecycle|. 620 // lifecycle states. See: |LayerTreeLifecycle|.
620 LayerTreeLifecycle lifecycle_; 621 LayerTreeLifecycle lifecycle_;
621 622
622 private: 623 private:
623 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 624 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
624 }; 625 };
625 626
626 } // namespace cc 627 } // namespace cc
627 628
628 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 629 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698