Index: third_party/WebKit/public/platform/WebLayer.h |
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h |
index 83089ca7248ee0fa599542965cbdc6f3bb3a497e..3c73cfae0eeb2da302380a859f0cc7505fe2f34a 100644 |
--- a/third_party/WebKit/public/platform/WebLayer.h |
+++ b/third_party/WebKit/public/platform/WebLayer.h |
@@ -42,10 +42,14 @@ |
class SkMatrix44; |
class SkImageFilter; |
+namespace cc { |
+class Layer; |
+class LayerClient; |
+} |
+ |
namespace blink { |
class WebCompositorAnimationDelegate; |
class WebFilterOperations; |
-class WebLayerClient; |
class WebLayerScrollClient; |
struct WebFloatPoint; |
struct WebLayerPositionConstraint; |
@@ -234,7 +238,11 @@ public: |
// True if the layer is not part of a tree attached to a WebLayerTreeView. |
virtual bool isOrphan() const = 0; |
- virtual void setWebLayerClient(WebLayerClient*) = 0; |
+ // Sets the cc-side layer client. |
+ virtual void setLayerClient(cc::LayerClient*) = 0; |
+ |
+ // Gets the underlying cc layer. |
+ virtual const cc::Layer* ccLayer() const = 0; |
}; |
} // namespace blink |