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

Unified Diff: cc/layers/layer_client.h

Issue 1461423002: Revert of Remove blink::WebLayerClient and WebGraphicsLayerDebugInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/layers/layer.cc ('k') | third_party/WebKit/Source/core/core.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_client.h
diff --git a/cc/layers/layer_client.h b/cc/layers/layer_client.h
index 524399d0d84e5e72379b80338c87dbc1213e4c16..bcdf1c3c77d7124d5b82c9daec769ec7c37d7c28 100644
--- a/cc/layers/layer_client.h
+++ b/cc/layers/layer_client.h
@@ -4,6 +4,8 @@
#ifndef CC_LAYERS_LAYER_CLIENT_H_
#define CC_LAYERS_LAYER_CLIENT_H_
+
+#include <string>
#include "base/memory/ref_counted.h"
#include "cc/base/cc_export.h"
@@ -16,19 +18,14 @@
namespace cc {
-class Layer;
-
class CC_EXPORT LayerClient {
public:
// Returns a pointer to a debug info object, if one has been computed.
// If not, returns nullptr.
// If the returned pointer is non-nullptr, the caller takes
// ownership of the pointer.
- //
- // A pointer to the layer is provided for the convenience of layer clients
- // which service multiple layers.
virtual scoped_refptr<base::trace_event::ConvertableToTraceFormat>
- TakeDebugInfo(Layer* layer) = 0;
+ TakeDebugInfo() = 0;
protected:
virtual ~LayerClient() {}
« no previous file with comments | « cc/layers/layer.cc ('k') | third_party/WebKit/Source/core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698