| 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 WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
| 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_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/WebAnimation.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebColor.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebColor.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 const WebKit::WebVector<WebKit::WebRect>& region); | 106 const WebKit::WebVector<WebKit::WebRect>& region); |
| 107 virtual WebKit::WebVector<WebKit::WebRect> nonFastScrollableRegion() const; | 107 virtual WebKit::WebVector<WebKit::WebRect> nonFastScrollableRegion() const; |
| 108 virtual void setTouchEventHandlerRegion( | 108 virtual void setTouchEventHandlerRegion( |
| 109 const WebKit::WebVector<WebKit::WebRect>& region); | 109 const WebKit::WebVector<WebKit::WebRect>& region); |
| 110 virtual WebKit::WebVector<WebKit::WebRect> touchEventHandlerRegion() const; | 110 virtual WebKit::WebVector<WebKit::WebRect> touchEventHandlerRegion() const; |
| 111 virtual void setIsContainerForFixedPositionLayers(bool is_container); | 111 virtual void setIsContainerForFixedPositionLayers(bool is_container); |
| 112 virtual bool isContainerForFixedPositionLayers() const; | 112 virtual bool isContainerForFixedPositionLayers() const; |
| 113 virtual void setFixedToContainerLayer(bool is_fixed); | 113 virtual void setFixedToContainerLayer(bool is_fixed); |
| 114 virtual bool fixedToContainerLayer() const; | 114 virtual bool fixedToContainerLayer() const; |
| 115 virtual void setScrollClient(WebKit::WebLayerScrollClient* client); | 115 virtual void setScrollClient(WebKit::WebLayerScrollClient* client); |
| 116 virtual bool isOrphan() const; |
| 116 | 117 |
| 117 protected: | 118 protected: |
| 118 scoped_refptr<cc::Layer> layer_; | 119 scoped_refptr<cc::Layer> layer_; |
| 119 | 120 |
| 120 private: | 121 private: |
| 121 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 122 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace WebKit | 125 } // namespace WebKit |
| 125 | 126 |
| 126 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 127 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
| OLD | NEW |