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

Unified Diff: content/renderer/compositor_bindings/web_compositor_support_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_compositor_support_impl.h
diff --git a/webkit/renderer/compositor_bindings/web_compositor_support_impl.h b/content/renderer/compositor_bindings/web_compositor_support_impl.h
similarity index 84%
rename from webkit/renderer/compositor_bindings/web_compositor_support_impl.h
rename to content/renderer/compositor_bindings/web_compositor_support_impl.h
index aa7eee0b01efdcc9188c2effbd6909044ddbdd96..3c52055849772d16de2b3934ed10839969ca7a04 100644
--- a/webkit/renderer/compositor_bindings/web_compositor_support_impl.h
+++ b/content/renderer/compositor_bindings/web_compositor_support_impl.h
@@ -2,11 +2,12 @@
// 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_COMPOSITOR_SUPPORT_IMPL_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
+#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
+#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop_proxy.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebAnimationCurve.h"
#include "third_party/WebKit/public/platform/WebCompositorSupport.h"
#include "third_party/WebKit/public/platform/WebLayer.h"
@@ -16,9 +17,10 @@ namespace blink {
class WebGraphicsContext3D;
}
-namespace webkit {
+namespace content {
-class WebCompositorSupportImpl : public blink::WebCompositorSupport {
+class CONTENT_EXPORT WebCompositorSupportImpl
+ : public NON_EXPORTED_BASE(blink::WebCompositorSupport) {
public:
WebCompositorSupportImpl();
virtual ~WebCompositorSupportImpl();
@@ -60,6 +62,7 @@ class WebCompositorSupportImpl : public blink::WebCompositorSupport {
DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl);
};
-} // namespace webkit
+} // namespace content
+
+#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698