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

Unified Diff: content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.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_to_cc_animation_delegate_adapter.h
diff --git a/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h b/content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
similarity index 70%
rename from webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
rename to content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
index 951a9a669cdecb8befa3b309c3bb27a1993e707d..45fe47a030bd22eb701d556182c7d436b6bd3f9c 100644
--- a/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
+++ b/content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
@@ -2,16 +2,18 @@
// 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_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
+#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
+#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "cc/animation/animation_delegate.h"
-namespace blink { class WebAnimationDelegate; }
+namespace blink {
+class WebAnimationDelegate;
+}
-namespace webkit {
+namespace content {
class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate {
public:
@@ -31,6 +33,7 @@ class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate {
DISALLOW_COPY_AND_ASSIGN(WebToCCAnimationDelegateAdapter);
};
-} // namespace webkit
+} // namespace content
+
+#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_

Powered by Google App Engine
This is Rietveld 408576698