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

Unified Diff: content/renderer/compositor_bindings/web_blend_mode.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_blend_mode.h
diff --git a/webkit/renderer/compositor_bindings/web_blend_mode.h b/content/renderer/compositor_bindings/web_blend_mode.h
similarity index 93%
rename from webkit/renderer/compositor_bindings/web_blend_mode.h
rename to content/renderer/compositor_bindings/web_blend_mode.h
index 24236ffe62256330ac1189d4595d074e80e4fb0c..9e63fcc8f0f806f02338ead92a03559a0f6a7f8e 100644
--- a/webkit/renderer/compositor_bindings/web_blend_mode.h
+++ b/content/renderer/compositor_bindings/web_blend_mode.h
@@ -2,12 +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_BLEND_MODE_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_
+#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_
+#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_
#include "third_party/WebKit/public/platform/WebBlendMode.h"
-namespace webkit {
+namespace content {
inline SkXfermode::Mode BlendModeToSkia(blink::WebBlendMode blend_mode) {
switch (blend_mode) {
@@ -101,6 +101,7 @@ inline blink::WebBlendMode BlendModeFromSkia(SkXfermode::Mode blend_mode) {
return blink::WebBlendModeNormal;
}
-} // namespace webkit
+} // namespace content
+
+#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_

Powered by Google App Engine
This is Rietveld 408576698