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

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

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: remove include Created 3 years, 10 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 } 447 }
448 448
449 void ResetAllChangeTracking(); 449 void ResetAllChangeTracking();
450 450
451 void AddToLayerList(LayerImpl* layer); 451 void AddToLayerList(LayerImpl* layer);
452 452
453 void ClearLayerList(); 453 void ClearLayerList();
454 454
455 void BuildLayerListForTesting(); 455 void BuildLayerListForTesting();
456 456
457 void InvalidateRegionForImages(const ImageIdFlatSet& images_to_invalidate);
458
457 protected: 459 protected:
458 float ClampPageScaleFactorToLimits(float page_scale_factor) const; 460 float ClampPageScaleFactorToLimits(float page_scale_factor) const;
459 void PushPageScaleFactorAndLimits(const float* page_scale_factor, 461 void PushPageScaleFactorAndLimits(const float* page_scale_factor,
460 float min_page_scale_factor, 462 float min_page_scale_factor,
461 float max_page_scale_factor); 463 float max_page_scale_factor);
462 bool SetPageScaleFactorLimits(float min_page_scale_factor, 464 bool SetPageScaleFactorLimits(float min_page_scale_factor,
463 float max_page_scale_factor); 465 float max_page_scale_factor);
464 bool IsViewportLayerId(int id) const; 466 bool IsViewportLayerId(int id) const;
465 void UpdateScrollbars(int scroll_layer_id, int clip_layer_id); 467 void UpdateScrollbars(int scroll_layer_id, int clip_layer_id);
466 void DidUpdatePageScale(); 468 void DidUpdatePageScale();
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 562
561 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 563 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
562 564
563 private: 565 private:
564 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 566 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
565 }; 567 };
566 568
567 } // namespace cc 569 } // namespace cc
568 570
569 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 571 #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