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 WebLayerImpl_h | 5 #ifndef WebLayerImpl_h |
6 #define WebLayerImpl_h | 6 #define WebLayerImpl_h |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 virtual void setMaxScrollPosition(WebSize) OVERRIDE; | 81 virtual void setMaxScrollPosition(WebSize) OVERRIDE; |
82 virtual WebSize maxScrollPosition() const; | 82 virtual WebSize maxScrollPosition() const; |
83 virtual void setScrollable(bool) OVERRIDE; | 83 virtual void setScrollable(bool) OVERRIDE; |
84 virtual bool scrollable() const; | 84 virtual bool scrollable() const; |
85 virtual void setHaveWheelEventHandlers(bool) OVERRIDE; | 85 virtual void setHaveWheelEventHandlers(bool) OVERRIDE; |
86 virtual bool haveWheelEventHandlers() const; | 86 virtual bool haveWheelEventHandlers() const; |
87 virtual void setShouldScrollOnMainThread(bool) OVERRIDE; | 87 virtual void setShouldScrollOnMainThread(bool) OVERRIDE; |
88 virtual bool shouldScrollOnMainThread() const; | 88 virtual bool shouldScrollOnMainThread() const; |
89 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; | 89 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; |
90 virtual WebVector<WebRect> nonFastScrollableRegion() const; | 90 virtual WebVector<WebRect> nonFastScrollableRegion() const; |
| 91 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&); |
| 92 virtual WebVector<WebRect> touchEventHandlerRegion() const; |
91 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; | 93 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; |
92 virtual bool isContainerForFixedPositionLayers() const; | 94 virtual bool isContainerForFixedPositionLayers() const; |
93 virtual void setFixedToContainerLayer(bool) OVERRIDE; | 95 virtual void setFixedToContainerLayer(bool) OVERRIDE; |
94 virtual bool fixedToContainerLayer() const; | 96 virtual bool fixedToContainerLayer() const; |
95 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; | 97 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; |
96 | 98 |
97 cc::Layer* layer() const; | 99 cc::Layer* layer() const; |
98 | 100 |
99 protected: | 101 protected: |
100 scoped_refptr<cc::Layer> m_layer; | 102 scoped_refptr<cc::Layer> m_layer; |
101 }; | 103 }; |
102 | 104 |
103 } // namespace WebKit | 105 } // namespace WebKit |
104 | 106 |
105 #endif // WebLayerImpl_h | 107 #endif // WebLayerImpl_h |
OLD | NEW |