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

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

Issue 1468753002: Reland of Remove blink::WebLayerClient and WebGraphicsLayerDebugInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not access members of m_contentsLayer Created 5 years, 1 month 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 b0ebba54b2e20b0464e271333bc8e657f82a36ee..1e1f1ed4f907ff107ab33a4a3dcfd1f638303095 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;
@@ -238,7 +242,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
« no previous file with comments | « third_party/WebKit/public/platform/WebGraphicsLayerDebugInfo.h ('k') | third_party/WebKit/public/platform/WebLayerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698