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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 11111003: cc: Convert processScrollDeltas() to scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/CCLayerTreeHostImpl.cpp » ('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/time.h" 9 #include "base/time.h"
10 #include "CCAnimationEvents.h" 10 #include "CCAnimationEvents.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 void setViewportSize(const IntSize& layoutViewportSize, const IntSize& devic eViewportSize); 200 void setViewportSize(const IntSize& layoutViewportSize, const IntSize& devic eViewportSize);
201 const IntSize& layoutViewportSize() const { return m_layoutViewportSize; } 201 const IntSize& layoutViewportSize() const { return m_layoutViewportSize; }
202 202
203 float deviceScaleFactor() const { return m_deviceScaleFactor; } 203 float deviceScaleFactor() const { return m_deviceScaleFactor; }
204 void setDeviceScaleFactor(float); 204 void setDeviceScaleFactor(float);
205 205
206 float pageScaleFactor() const; 206 float pageScaleFactor() const;
207 void setPageScaleFactorAndLimits(float pageScaleFactor, float minPageScaleFa ctor, float maxPageScaleFactor); 207 void setPageScaleFactorAndLimits(float pageScaleFactor, float minPageScaleFa ctor, float maxPageScaleFactor);
208 208
209 PassOwnPtr<CCScrollAndScaleSet> processScrollDeltas(); 209 scoped_ptr<CCScrollAndScaleSet> processScrollDeltas();
210 WebKit::WebTransformationMatrix implTransform() const; 210 WebKit::WebTransformationMatrix implTransform() const;
211 211
212 void startPageScaleAnimation(const IntSize& tragetPosition, bool useAnchor, float scale, double durationSec); 212 void startPageScaleAnimation(const IntSize& tragetPosition, bool useAnchor, float scale, double durationSec);
213 213
214 SkColor backgroundColor() const { return m_backgroundColor; } 214 SkColor backgroundColor() const { return m_backgroundColor; }
215 void setBackgroundColor(SkColor color) { m_backgroundColor = color; } 215 void setBackgroundColor(SkColor color) { m_backgroundColor = color; }
216 216
217 bool hasTransparentBackground() const { return m_hasTransparentBackground; } 217 bool hasTransparentBackground() const { return m_hasTransparentBackground; }
218 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; } 218 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; }
219 219
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 347
348 size_t m_numImplThreadScrolls; 348 size_t m_numImplThreadScrolls;
349 size_t m_numMainThreadScrolls; 349 size_t m_numMainThreadScrolls;
350 350
351 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl); 351 DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImpl);
352 }; 352 };
353 353
354 }; 354 };
355 355
356 #endif 356 #endif
OLDNEW
« no previous file with comments | « no previous file | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698