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

Unified Diff: content/renderer/compositor_bindings/web_layer_impl.h

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots Created 6 years, 6 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: content/renderer/compositor_bindings/web_layer_impl.h
diff --git a/webkit/renderer/compositor_bindings/web_layer_impl.h b/content/renderer/compositor_bindings/web_layer_impl.h
similarity index 91%
rename from webkit/renderer/compositor_bindings/web_layer_impl.h
rename to content/renderer/compositor_bindings/web_layer_impl.h
index f567dd62b67738d9919353269f103ec42980df0a..c34269a4d26b169cf8670ccebc851c86125f335a 100644
--- a/webkit/renderer/compositor_bindings/web_layer_impl.h
+++ b/content/renderer/compositor_bindings/web_layer_impl.h
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
+#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
+#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
#include <string>
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "cc/layers/layer_client.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebAnimation.h"
#include "third_party/WebKit/public/platform/WebCString.h"
#include "third_party/WebKit/public/platform/WebColor.h"
@@ -21,9 +22,10 @@
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/skia/include/utils/SkMatrix44.h"
-#include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export.h"
-namespace cc { class Layer; }
+namespace cc {
+class Layer;
+}
namespace blink {
class WebFilterOperations;
@@ -37,22 +39,22 @@ class ConvertableToTraceFormat;
}
}
-namespace webkit {
+namespace content {
class WebToCCAnimationDelegateAdapter;
class WebLayerImpl : public blink::WebLayer, public cc::LayerClient {
public:
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerImpl();
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebLayerImpl(
+ CONTENT_EXPORT WebLayerImpl();
+ CONTENT_EXPORT explicit WebLayerImpl(
scoped_refptr<cc::Layer>);
virtual ~WebLayerImpl();
static bool UsingPictureLayer();
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT static void SetImplSidePaintingEnabled(
+ CONTENT_EXPORT static void SetImplSidePaintingEnabled(
bool enabled);
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT cc::Layer* layer() const;
+ CONTENT_EXPORT cc::Layer* layer() const;
// WebLayer implementation.
virtual int id() const;
@@ -153,6 +155,7 @@ class WebLayerImpl : public blink::WebLayer, public cc::LayerClient {
DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
};
-} // namespace webkit
+} // namespace content
+
+#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
« no previous file with comments | « content/renderer/compositor_bindings/web_image_layer_impl.cc ('k') | content/renderer/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698