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

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

Issue 1306193006: Remove touch scroll chaining from compositor scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@disable_chaining_no_bubbling
Patch Set: Created 5 years, 3 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 | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 // In impl-side painting mode, tree with possibly incomplete rasterized 721 // In impl-side painting mode, tree with possibly incomplete rasterized
722 // content. May be promoted to active by ActivatePendingTree(). 722 // content. May be promoted to active by ActivatePendingTree().
723 scoped_ptr<LayerTreeImpl> pending_tree_; 723 scoped_ptr<LayerTreeImpl> pending_tree_;
724 724
725 // In impl-side painting mode, inert tree with layers that can be recycled 725 // In impl-side painting mode, inert tree with layers that can be recycled
726 // by the next sync from the main thread. 726 // by the next sync from the main thread.
727 scoped_ptr<LayerTreeImpl> recycle_tree_; 727 scoped_ptr<LayerTreeImpl> recycle_tree_;
728 728
729 InputHandlerClient* input_handler_client_; 729 InputHandlerClient* input_handler_client_;
730 bool did_lock_scrolling_layer_; 730 bool did_lock_scrolling_layer_;
731 bool should_bubble_scrolls_;
732 bool wheel_scrolling_; 731 bool wheel_scrolling_;
733 bool scroll_affects_scroll_handler_; 732 bool scroll_affects_scroll_handler_;
734 int scroll_layer_id_when_mouse_over_scrollbar_; 733 int scroll_layer_id_when_mouse_over_scrollbar_;
735 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_; 734 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_;
736 735
737 // An object to implement the ScrollElasticityHelper interface and 736 // An object to implement the ScrollElasticityHelper interface and
738 // hold all state related to elasticity. May be NULL if never requested. 737 // hold all state related to elasticity. May be NULL if never requested.
739 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_; 738 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_;
740 739
741 bool tile_priorities_dirty_; 740 bool tile_priorities_dirty_;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 821 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
823 822
824 scoped_ptr<Viewport> viewport_; 823 scoped_ptr<Viewport> viewport_;
825 824
826 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 825 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
827 }; 826 };
828 827
829 } // namespace cc 828 } // namespace cc
830 829
831 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 830 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698