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

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

Issue 1995133002: cc : Delete ResetFlags in property trees (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_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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 EventListenerProperties event_listener_properties( 476 EventListenerProperties event_listener_properties(
477 EventListenerClass event_class) const { 477 EventListenerClass event_class) const {
478 return event_listener_properties_[static_cast<size_t>(event_class)]; 478 return event_listener_properties_[static_cast<size_t>(event_class)];
479 } 479 }
480 void set_event_listener_properties(EventListenerClass event_class, 480 void set_event_listener_properties(EventListenerClass event_class,
481 EventListenerProperties event_properties) { 481 EventListenerProperties event_properties) {
482 event_listener_properties_[static_cast<size_t>(event_class)] = 482 event_listener_properties_[static_cast<size_t>(event_class)] =
483 event_properties; 483 event_properties;
484 } 484 }
485 485
486 void ResetAllChangeTracking(PropertyTrees::ResetFlags flag); 486 void ResetAllChangeTracking();
487 487
488 protected: 488 protected:
489 explicit LayerTreeImpl( 489 explicit LayerTreeImpl(
490 LayerTreeHostImpl* layer_tree_host_impl, 490 LayerTreeHostImpl* layer_tree_host_impl,
491 scoped_refptr<SyncedProperty<ScaleGroup>> page_scale_factor, 491 scoped_refptr<SyncedProperty<ScaleGroup>> page_scale_factor,
492 scoped_refptr<SyncedTopControls> top_controls_shown_ratio, 492 scoped_refptr<SyncedTopControls> top_controls_shown_ratio,
493 scoped_refptr<SyncedElasticOverscroll> elastic_overscroll); 493 scoped_refptr<SyncedElasticOverscroll> elastic_overscroll);
494 float ClampPageScaleFactorToLimits(float page_scale_factor) const; 494 float ClampPageScaleFactorToLimits(float page_scale_factor) const;
495 void PushPageScaleFactorAndLimits(const float* page_scale_factor, 495 void PushPageScaleFactorAndLimits(const float* page_scale_factor,
496 float min_page_scale_factor, 496 float min_page_scale_factor,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 588
589 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 589 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
590 590
591 private: 591 private:
592 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 592 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
593 }; 593 };
594 594
595 } // namespace cc 595 } // namespace cc
596 596
597 #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_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698