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

Side by Side Diff: cc/layer_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_animation_controller.h ('k') | cc/layer_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 CCLayerImpl_h 5 #ifndef CCLayerImpl_h
6 #define CCLayerImpl_h 6 #define CCLayerImpl_h
7 7
8 #include "FloatSize.h" 8 #include "FloatSize.h"
9 #include "Region.h" 9 #include "Region.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 bool haveWheelEventHandlers() const { return m_haveWheelEventHandlers; } 211 bool haveWheelEventHandlers() const { return m_haveWheelEventHandlers; }
212 void setHaveWheelEventHandlers(bool haveWheelEventHandlers) { m_haveWheelEve ntHandlers = haveWheelEventHandlers; } 212 void setHaveWheelEventHandlers(bool haveWheelEventHandlers) { m_haveWheelEve ntHandlers = haveWheelEventHandlers; }
213 213
214 const Region& nonFastScrollableRegion() const { return m_nonFastScrollableRe gion; } 214 const Region& nonFastScrollableRegion() const { return m_nonFastScrollableRe gion; }
215 void setNonFastScrollableRegion(const Region& region) { m_nonFastScrollableR egion = region; } 215 void setNonFastScrollableRegion(const Region& region) { m_nonFastScrollableR egion = region; }
216 216
217 void setDrawCheckerboardForMissingTiles(bool checkerboard) { m_drawCheckerbo ardForMissingTiles = checkerboard; } 217 void setDrawCheckerboardForMissingTiles(bool checkerboard) { m_drawCheckerbo ardForMissingTiles = checkerboard; }
218 bool drawCheckerboardForMissingTiles() const; 218 bool drawCheckerboardForMissingTiles() const;
219 219
220 InputHandlerClient::ScrollStatus tryScroll(const gfx::Point& viewportPoint, InputHandlerClient::ScrollInputType) const; 220 InputHandlerClient::ScrollStatus tryScroll(const gfx::PointF& screenSpacePoi nt, InputHandlerClient::ScrollInputType) const;
221 221
222 const gfx::Rect& visibleContentRect() const { return m_visibleContentRect; } 222 const gfx::Rect& visibleContentRect() const { return m_visibleContentRect; }
223 void setVisibleContentRect(const gfx::Rect& visibleContentRect) { m_visibleC ontentRect = visibleContentRect; } 223 void setVisibleContentRect(const gfx::Rect& visibleContentRect) { m_visibleC ontentRect = visibleContentRect; }
224 224
225 bool doubleSided() const { return m_doubleSided; } 225 bool doubleSided() const { return m_doubleSided; }
226 void setDoubleSided(bool); 226 void setDoubleSided(bool);
227 227
228 void setTransform(const WebKit::WebTransformationMatrix&); 228 void setTransform(const WebKit::WebTransformationMatrix&);
229 bool transformIsAnimating() const; 229 bool transformIsAnimating() const;
230 230
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 // Manages scrollbars for this layer 408 // Manages scrollbars for this layer
409 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController; 409 scoped_ptr<ScrollbarAnimationController> m_scrollbarAnimationController;
410 }; 410 };
411 411
412 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*> ::iterator end, LayerSorter*); 412 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*> ::iterator end, LayerSorter*);
413 413
414 } 414 }
415 415
416 #endif // CCLayerImpl_h 416 #endif // CCLayerImpl_h
OLDNEW
« no previous file with comments | « cc/layer_animation_controller.h ('k') | cc/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698