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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 11975007: Implement one-page-at-a-time mousewheel scrolling in the impl thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
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_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_
6 #define CC_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 public OutputSurfaceClient, 64 public OutputSurfaceClient,
65 public TopControlsManagerClient { 65 public TopControlsManagerClient {
66 typedef std::vector<LayerImpl*> LayerList; 66 typedef std::vector<LayerImpl*> LayerList;
67 67
68 public: 68 public:
69 static scoped_ptr<LayerTreeHostImpl> create(const LayerTreeSettings&, LayerT reeHostImplClient*, Proxy*); 69 static scoped_ptr<LayerTreeHostImpl> create(const LayerTreeSettings&, LayerT reeHostImplClient*, Proxy*);
70 virtual ~LayerTreeHostImpl(); 70 virtual ~LayerTreeHostImpl();
71 71
72 // InputHandlerClient implementation 72 // InputHandlerClient implementation
73 virtual InputHandlerClient::ScrollStatus scrollBegin(gfx::Point, InputHandle rClient::ScrollInputType) OVERRIDE; 73 virtual InputHandlerClient::ScrollStatus scrollBegin(gfx::Point, InputHandle rClient::ScrollInputType) OVERRIDE;
74 virtual bool scrollBy(const gfx::Point&, const gfx::Vector2d&) OVERRIDE; 74 virtual bool scrollBy(const gfx::Point&, const gfx::Vector2d&, bool) OVERRID E;
75 virtual void scrollEnd() OVERRIDE; 75 virtual void scrollEnd() OVERRIDE;
76 virtual void pinchGestureBegin() OVERRIDE; 76 virtual void pinchGestureBegin() OVERRIDE;
77 virtual void pinchGestureUpdate(float, gfx::Point) OVERRIDE; 77 virtual void pinchGestureUpdate(float, gfx::Point) OVERRIDE;
78 virtual void pinchGestureEnd() OVERRIDE; 78 virtual void pinchGestureEnd() OVERRIDE;
79 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool anchor Point, float pageScale, base::TimeTicks startTime, base::TimeDelta duration) OVE RRIDE; 79 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool anchor Point, float pageScale, base::TimeTicks startTime, base::TimeDelta duration) OVE RRIDE;
80 virtual void scheduleAnimation() OVERRIDE; 80 virtual void scheduleAnimation() OVERRIDE;
81 virtual bool haveTouchEventHandlersAt(const gfx::Point&) OVERRIDE; 81 virtual bool haveTouchEventHandlersAt(const gfx::Point&) OVERRIDE;
82 82
83 // TopControlsManagerClient implementation. 83 // TopControlsManagerClient implementation.
84 virtual LayerTreeImpl* activeTree() OVERRIDE; 84 virtual LayerTreeImpl* activeTree() OVERRIDE;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 size_t m_lastSentMemoryUseBytes; 347 size_t m_lastSentMemoryUseBytes;
348 348
349 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 349 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
350 350
351 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 351 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
352 }; 352 };
353 353
354 } // namespace cc 354 } // namespace cc
355 355
356 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 356 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | cc/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698