| 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 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" | 10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual bool shouldScrollOnMainThread() const; | 87 virtual bool shouldScrollOnMainThread() const; |
| 88 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; | 88 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; |
| 89 virtual WebVector<WebRect> nonFastScrollableRegion() const; | 89 virtual WebVector<WebRect> nonFastScrollableRegion() const; |
| 90 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&); | 90 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&); |
| 91 virtual WebVector<WebRect> touchEventHandlerRegion() const; | 91 virtual WebVector<WebRect> touchEventHandlerRegion() const; |
| 92 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; | 92 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; |
| 93 virtual bool isContainerForFixedPositionLayers() const; | 93 virtual bool isContainerForFixedPositionLayers() const; |
| 94 virtual void setFixedToContainerLayer(bool) OVERRIDE; | 94 virtual void setFixedToContainerLayer(bool) OVERRIDE; |
| 95 virtual bool fixedToContainerLayer() const; | 95 virtual bool fixedToContainerLayer() const; |
| 96 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; | 96 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; |
| 97 virtual void setTags(unsigned) OVERRIDE; |
| 98 virtual unsigned getTags() const OVERRIDE; |
| 99 virtual void addTag(WebLayer::Tag) OVERRIDE; |
| 100 virtual bool getTag(WebLayer::Tag) const OVERRIDE; |
| 97 | 101 |
| 98 cc::Layer* layer() const; | 102 cc::Layer* layer() const; |
| 99 | 103 |
| 100 protected: | 104 protected: |
| 101 scoped_refptr<cc::Layer> m_layer; | 105 scoped_refptr<cc::Layer> m_layer; |
| 102 }; | 106 }; |
| 103 | 107 |
| 104 } // namespace WebKit | 108 } // namespace WebKit |
| 105 | 109 |
| 106 #endif // WebLayerImpl_h | 110 #endif // WebLayerImpl_h |
| OLD | NEW |