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

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: Rebase. Created 5 years, 2 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') | no next file with comments »
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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 // In impl-side painting mode, tree with possibly incomplete rasterized 715 // In impl-side painting mode, tree with possibly incomplete rasterized
716 // content. May be promoted to active by ActivatePendingTree(). 716 // content. May be promoted to active by ActivatePendingTree().
717 scoped_ptr<LayerTreeImpl> pending_tree_; 717 scoped_ptr<LayerTreeImpl> pending_tree_;
718 718
719 // In impl-side painting mode, inert tree with layers that can be recycled 719 // In impl-side painting mode, inert tree with layers that can be recycled
720 // by the next sync from the main thread. 720 // by the next sync from the main thread.
721 scoped_ptr<LayerTreeImpl> recycle_tree_; 721 scoped_ptr<LayerTreeImpl> recycle_tree_;
722 722
723 InputHandlerClient* input_handler_client_; 723 InputHandlerClient* input_handler_client_;
724 bool did_lock_scrolling_layer_; 724 bool did_lock_scrolling_layer_;
725 bool should_bubble_scrolls_;
726 bool wheel_scrolling_; 725 bool wheel_scrolling_;
727 bool scroll_affects_scroll_handler_; 726 bool scroll_affects_scroll_handler_;
728 int scroll_layer_id_when_mouse_over_scrollbar_; 727 int scroll_layer_id_when_mouse_over_scrollbar_;
729 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_; 728 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_;
730 729
731 // An object to implement the ScrollElasticityHelper interface and 730 // An object to implement the ScrollElasticityHelper interface and
732 // hold all state related to elasticity. May be NULL if never requested. 731 // hold all state related to elasticity. May be NULL if never requested.
733 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_; 732 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_;
734 733
735 bool tile_priorities_dirty_; 734 bool tile_priorities_dirty_;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 806 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
808 807
809 scoped_ptr<Viewport> viewport_; 808 scoped_ptr<Viewport> viewport_;
810 809
811 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 810 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
812 }; 811 };
813 812
814 } // namespace cc 813 } // namespace cc
815 814
816 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 815 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698