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

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

Issue 2422353002: Iframe/div MD scrollbars get idle when mouse leaves the nested elements. (Closed)
Patch Set: Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 739
740 // In impl-side painting mode, inert tree with layers that can be recycled 740 // In impl-side painting mode, inert tree with layers that can be recycled
741 // by the next sync from the main thread. 741 // by the next sync from the main thread.
742 std::unique_ptr<LayerTreeImpl> recycle_tree_; 742 std::unique_ptr<LayerTreeImpl> recycle_tree_;
743 743
744 InputHandlerClient* input_handler_client_; 744 InputHandlerClient* input_handler_client_;
745 bool did_lock_scrolling_layer_; 745 bool did_lock_scrolling_layer_;
746 bool wheel_scrolling_; 746 bool wheel_scrolling_;
747 bool scroll_affects_scroll_handler_; 747 bool scroll_affects_scroll_handler_;
748 int scroll_layer_id_when_mouse_over_scrollbar_; 748 int scroll_layer_id_when_mouse_over_scrollbar_;
749 int scroll_layer_id_when_mouse_near_scrollbar_;
749 int captured_scrollbar_layer_id_; 750 int captured_scrollbar_layer_id_;
750 751
751 std::vector<std::unique_ptr<SwapPromise>> 752 std::vector<std::unique_ptr<SwapPromise>>
752 swap_promises_for_main_thread_scroll_update_; 753 swap_promises_for_main_thread_scroll_update_;
753 754
754 // An object to implement the ScrollElasticityHelper interface and 755 // An object to implement the ScrollElasticityHelper interface and
755 // hold all state related to elasticity. May be NULL if never requested. 756 // hold all state related to elasticity. May be NULL if never requested.
756 std::unique_ptr<ScrollElasticityHelper> scroll_elasticity_helper_; 757 std::unique_ptr<ScrollElasticityHelper> scroll_elasticity_helper_;
757 758
758 bool tile_priorities_dirty_; 759 bool tile_priorities_dirty_;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 838
838 std::unique_ptr<PendingTreeDurationHistogramTimer> 839 std::unique_ptr<PendingTreeDurationHistogramTimer>
839 pending_tree_duration_timer_; 840 pending_tree_duration_timer_;
840 841
841 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 842 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
842 }; 843 };
843 844
844 } // namespace cc 845 } // namespace cc
845 846
846 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 847 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698