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

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

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: 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
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(
458 const std::unordered_set<uint32_t>& images_to_invalidate);
459
457 protected: 460 protected:
458 float ClampPageScaleFactorToLimits(float page_scale_factor) const; 461 float ClampPageScaleFactorToLimits(float page_scale_factor) const;
459 void PushPageScaleFactorAndLimits(const float* page_scale_factor, 462 void PushPageScaleFactorAndLimits(const float* page_scale_factor,
460 float min_page_scale_factor, 463 float min_page_scale_factor,
461 float max_page_scale_factor); 464 float max_page_scale_factor);
462 bool SetPageScaleFactorLimits(float min_page_scale_factor, 465 bool SetPageScaleFactorLimits(float min_page_scale_factor,
463 float max_page_scale_factor); 466 float max_page_scale_factor);
464 bool IsViewportLayerId(int id) const; 467 bool IsViewportLayerId(int id) const;
465 void UpdateScrollbars(int scroll_layer_id, int clip_layer_id); 468 void UpdateScrollbars(int scroll_layer_id, int clip_layer_id);
466 void DidUpdatePageScale(); 469 void DidUpdatePageScale();
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 563
561 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 564 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
562 565
563 private: 566 private:
564 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 567 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
565 }; 568 };
566 569
567 } // namespace cc 570 } // namespace cc
568 571
569 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 572 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698