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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 11358050: Remove most remaining webcore points and sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedd Created 8 years, 1 month 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/layer_tree_host_common.cc ('k') | cc/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 CCLayerTreeHostImpl_h 5 #ifndef CCLayerTreeHostImpl_h
6 #define CCLayerTreeHostImpl_h 6 #define CCLayerTreeHostImpl_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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 class LayerTreeHostImpl : public InputHandlerClient, 102 class LayerTreeHostImpl : public InputHandlerClient,
103 public RendererClient, 103 public RendererClient,
104 public WebKit::WebCompositorOutputSurfaceClient { 104 public WebKit::WebCompositorOutputSurfaceClient {
105 typedef std::vector<LayerImpl*> LayerList; 105 typedef std::vector<LayerImpl*> LayerList;
106 106
107 public: 107 public:
108 static scoped_ptr<LayerTreeHostImpl> create(const LayerTreeSettings&, LayerT reeHostImplClient*); 108 static scoped_ptr<LayerTreeHostImpl> create(const LayerTreeSettings&, LayerT reeHostImplClient*);
109 virtual ~LayerTreeHostImpl(); 109 virtual ~LayerTreeHostImpl();
110 110
111 // InputHandlerClient implementation 111 // InputHandlerClient implementation
112 virtual InputHandlerClient::ScrollStatus scrollBegin(const IntPoint&, InputH andlerClient::ScrollInputType) OVERRIDE; 112 virtual InputHandlerClient::ScrollStatus scrollBegin(const gfx::Point&, Inpu tHandlerClient::ScrollInputType) OVERRIDE;
113 virtual void scrollBy(const IntPoint&, const IntSize&) OVERRIDE; 113 virtual void scrollBy(const gfx::Point&, const IntSize&) OVERRIDE;
114 virtual void scrollEnd() OVERRIDE; 114 virtual void scrollEnd() OVERRIDE;
115 virtual void pinchGestureBegin() OVERRIDE; 115 virtual void pinchGestureBegin() OVERRIDE;
116 virtual void pinchGestureUpdate(float, const IntPoint&) OVERRIDE; 116 virtual void pinchGestureUpdate(float, const IntPoint&) OVERRIDE;
117 virtual void pinchGestureEnd() OVERRIDE; 117 virtual void pinchGestureEnd() OVERRIDE;
118 virtual void startPageScaleAnimation(const IntSize& targetPosition, bool anc horPoint, float pageScale, base::TimeTicks startTime, base::TimeDelta duration) OVERRIDE; 118 virtual void startPageScaleAnimation(const IntSize& targetPosition, bool anc horPoint, float pageScale, base::TimeTicks startTime, base::TimeDelta duration) OVERRIDE;
119 virtual void scheduleAnimation() OVERRIDE; 119 virtual void scheduleAnimation() OVERRIDE;
120 120
121 struct FrameData : public RenderPassSink { 121 struct FrameData : public RenderPassSink {
122 FrameData(); 122 FrameData();
123 ~FrameData(); 123 ~FrameData();
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 349
350 size_t m_numImplThreadScrolls; 350 size_t m_numImplThreadScrolls;
351 size_t m_numMainThreadScrolls; 351 size_t m_numMainThreadScrolls;
352 352
353 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 353 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
354 }; 354 };
355 355
356 } // namespace cc 356 } // namespace cc
357 357
358 #endif 358 #endif
OLDNEW
« no previous file with comments | « cc/layer_tree_host_common.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698