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

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

Issue 361143002: Impl thread smooth scrolling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | 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 <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 RenderingStatsInstrumentation* rendering_stats_instrumentation, 119 RenderingStatsInstrumentation* rendering_stats_instrumentation,
120 SharedBitmapManager* manager, 120 SharedBitmapManager* manager,
121 int id); 121 int id);
122 virtual ~LayerTreeHostImpl(); 122 virtual ~LayerTreeHostImpl();
123 123
124 // InputHandler implementation 124 // InputHandler implementation
125 virtual void BindToClient(InputHandlerClient* client) OVERRIDE; 125 virtual void BindToClient(InputHandlerClient* client) OVERRIDE;
126 virtual InputHandler::ScrollStatus ScrollBegin( 126 virtual InputHandler::ScrollStatus ScrollBegin(
127 const gfx::Point& viewport_point, 127 const gfx::Point& viewport_point,
128 InputHandler::ScrollInputType type) OVERRIDE; 128 InputHandler::ScrollInputType type) OVERRIDE;
129 virtual InputHandler::ScrollStatus ScrollAnimated(
130 const gfx::Point& viewport_point,
131 const gfx::Vector2dF& scroll_delta) OVERRIDE;
129 virtual bool ScrollBy(const gfx::Point& viewport_point, 132 virtual bool ScrollBy(const gfx::Point& viewport_point,
130 const gfx::Vector2dF& scroll_delta) OVERRIDE; 133 const gfx::Vector2dF& scroll_delta) OVERRIDE;
131 virtual bool ScrollVerticallyByPage(const gfx::Point& viewport_point, 134 virtual bool ScrollVerticallyByPage(const gfx::Point& viewport_point,
132 ScrollDirection direction) OVERRIDE; 135 ScrollDirection direction) OVERRIDE;
133 virtual void SetRootLayerScrollOffsetDelegate( 136 virtual void SetRootLayerScrollOffsetDelegate(
134 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) OVERRIDE; 137 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate) OVERRIDE;
135 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; 138 virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE;
136 virtual void ScrollEnd() OVERRIDE; 139 virtual void ScrollEnd() OVERRIDE;
137 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; 140 virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE;
138 virtual void MouseMoveAt(const gfx::Point& viewport_point) OVERRIDE; 141 virtual void MouseMoveAt(const gfx::Point& viewport_point) OVERRIDE;
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 size_t transfer_buffer_memory_limit_; 698 size_t transfer_buffer_memory_limit_;
696 699
697 std::vector<PictureLayerImpl*> picture_layers_; 700 std::vector<PictureLayerImpl*> picture_layers_;
698 701
699 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 702 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
700 }; 703 };
701 704
702 } // namespace cc 705 } // namespace cc
703 706
704 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 707 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698