| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |