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

Side by Side Diff: cc/ipc/cc_param_traits.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « cc/input/scrollbar_animation_controller_thinning.h ('k') | cc/layers/heads_up_display_layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // IPC Messages sent between compositor instances. 5 // IPC Messages sent between compositor instances.
6 6
7 #ifndef CC_IPC_CC_PARAM_TRAITS_H_ 7 #ifndef CC_IPC_CC_PARAM_TRAITS_H_
8 #define CC_IPC_CC_PARAM_TRAITS_H_ 8 #define CC_IPC_CC_PARAM_TRAITS_H_
9 9
10 #include "cc/ipc/cc_ipc_export.h" 10 #include "cc/ipc/cc_ipc_export.h"
11 #include "cc/ipc/cc_param_traits_macros.h" 11 #include "cc/ipc/cc_param_traits_macros.h"
12 #include "cc/output/compositor_frame.h" 12 #include "cc/output/compositor_frame.h"
13 #include "cc/output/filter_operation.h" 13 #include "cc/output/filter_operation.h"
14 #include "cc/quads/draw_quad.h" 14 #include "cc/quads/draw_quad.h"
15 #include "cc/quads/stream_video_draw_quad.h" 15 #include "cc/quads/stream_video_draw_quad.h"
16 #include "cc/quads/texture_draw_quad.h" 16 #include "cc/quads/texture_draw_quad.h"
17 #include "gpu/ipc/common/gpu_command_buffer_traits.h" 17 #include "gpu/ipc/common/gpu_command_buffer_traits.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 19
20 namespace gfx {
21 class Transform;
22 }
23
24 namespace cc { 20 namespace cc {
25 class FilterOperations; 21 class FilterOperations;
26 } 22 }
27 23
28 namespace IPC { 24 namespace IPC {
29 25
30 template <> 26 template <>
31 struct ParamTraits<cc::FilterOperation> { 27 struct ParamTraits<cc::FilterOperation> {
32 typedef cc::FilterOperation param_type; 28 typedef cc::FilterOperation param_type;
33 static void GetSize(base::PickleSizer* s, const param_type& p); 29 static void GetSize(base::PickleSizer* s, const param_type& p);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 static void Write(base::Pickle* m, const param_type& p); 159 static void Write(base::Pickle* m, const param_type& p);
164 static bool Read(const base::Pickle* m, 160 static bool Read(const base::Pickle* m,
165 base::PickleIterator* iter, 161 base::PickleIterator* iter,
166 param_type* p); 162 param_type* p);
167 static void Log(const param_type& p, std::string* l); 163 static void Log(const param_type& p, std::string* l);
168 }; 164 };
169 165
170 } // namespace IPC 166 } // namespace IPC
171 167
172 #endif // CC_IPC_CC_PARAM_TRAITS_H_ 168 #endif // CC_IPC_CC_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « cc/input/scrollbar_animation_controller_thinning.h ('k') | cc/layers/heads_up_display_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698