Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1723)

Unified Diff: third_party/WebKit/public/platform/WebLayer.h

Issue 1419913002: Remove blink::WebLayerClient and WebGraphicsLayerDebugInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try making webcore_shared link with base to fix win dbg component Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698