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

Unified Diff: content/common/cc_messages.h

Issue 16968002: Move implementation of WebFilterOperations into cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/common/cc_messages.h
diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h
index 701b65f76453e7dfb34422b3254f5784d18a2b61..14afa7db4d361be06119a1f2a032aad46ca5e72b 100644
--- a/content/common/cc_messages.h
+++ b/content/common/cc_messages.h
@@ -6,6 +6,7 @@
#include "cc/output/compositor_frame.h"
#include "cc/output/compositor_frame_ack.h"
+#include "cc/output/filter_operation.h"
#include "cc/quads/checkerboard_draw_quad.h"
#include "cc/quads/debug_border_draw_quad.h"
#include "cc/quads/draw_quad.h"
@@ -23,7 +24,6 @@
#include "content/common/content_export.h"
#include "gpu/ipc/gpu_command_buffer_traits.h"
#include "ipc/ipc_message_macros.h"
-#include "third_party/WebKit/public/platform/WebFilterOperation.h"
#ifndef CONTENT_COMMON_CC_MESSAGES_H_
#define CONTENT_COMMON_CC_MESSAGES_H_
@@ -32,23 +32,23 @@ namespace gfx {
class Transform;
}
-namespace WebKit {
-class WebFilterOperations;
+namespace cc {
+class FilterOperations;
}
namespace IPC {
template <>
-struct ParamTraits<WebKit::WebFilterOperation> {
- typedef WebKit::WebFilterOperation param_type;
+struct ParamTraits<cc::FilterOperation> {
+ typedef cc::FilterOperation param_type;
static void Write(Message* m, const param_type& p);
static bool Read(const Message* m, PickleIterator* iter, param_type* r);
static void Log(const param_type& p, std::string* l);
};
template <>
-struct ParamTraits<WebKit::WebFilterOperations> {
- typedef WebKit::WebFilterOperations param_type;
+struct ParamTraits<cc::FilterOperations> {
+ typedef cc::FilterOperations param_type;
static void Write(Message* m, const param_type& p);
static bool Read(const Message* m, PickleIterator* iter, param_type* r);
static void Log(const param_type& p, std::string* l);
@@ -106,7 +106,7 @@ struct CONTENT_EXPORT ParamTraits<cc::DelegatedFrameData> {
IPC_ENUM_TRAITS(cc::DrawQuad::Material)
IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation)
-IPC_ENUM_TRAITS(WebKit::WebFilterOperation::FilterType)
+IPC_ENUM_TRAITS(cc::FilterOperation::FilterType)
IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id)
IPC_STRUCT_TRAITS_MEMBER(layer_id)

Powered by Google App Engine
This is Rietveld 408576698