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

Unified Diff: content/renderer/compositor_bindings/web_animation_curve_common.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_animation_curve_common.h
diff --git a/webkit/renderer/compositor_bindings/web_animation_curve_common.h b/content/renderer/compositor_bindings/web_animation_curve_common.h
similarity index 54%
rename from webkit/renderer/compositor_bindings/web_animation_curve_common.h
rename to content/renderer/compositor_bindings/web_animation_curve_common.h
index b24fabacc37cfac3495a22747426954908fba29e..2cf958c3ae70d95620561182493062c0d79f432d 100644
--- a/webkit/renderer/compositor_bindings/web_animation_curve_common.h
+++ b/content/renderer/compositor_bindings/web_animation_curve_common.h
@@ -2,17 +2,20 @@
// 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_ANIMATION_CURVE_COMMON_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
+#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
+#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
#include "base/memory/scoped_ptr.h"
#include "third_party/WebKit/public/platform/WebAnimationCurve.h"
-namespace cc { class TimingFunction; }
+namespace cc {
+class TimingFunction;
+}
-namespace webkit {
+namespace content {
scoped_ptr<cc::TimingFunction> CreateTimingFunction(
blink::WebAnimationCurve::TimingFunctionType);
-}
+} // namespace content
+
+#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698