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

Side by Side Diff: chrome/common/webkit_param_traits.h

Issue 6392045: Integrating Mac OS Grammar checker into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated to ToT Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/webkit_param_traits.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file contains ParamTraits templates to support serialization of WebKit 5 // This file contains ParamTraits templates to support serialization of WebKit
6 // data types over IPC. 6 // data types over IPC.
7 // 7 //
8 // NOTE: IT IS IMPORTANT THAT ONLY POD (plain old data) TYPES ARE SERIALIZED. 8 // NOTE: IT IS IMPORTANT THAT ONLY POD (plain old data) TYPES ARE SERIALIZED.
9 // 9 //
10 // There are several reasons for this restrictions: 10 // There are several reasons for this restrictions:
(...skipping 14 matching lines...) Expand all
25 #pragma once 25 #pragma once
26 26
27 #include "ipc/ipc_message_utils.h" 27 #include "ipc/ipc_message_utils.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileError.h" 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileError.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult .h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h" 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h"
37 38
38 namespace WebKit { 39 namespace WebKit {
39 struct WebCompositionUnderline; 40 struct WebCompositionUnderline;
40 struct WebFindOptions; 41 struct WebFindOptions;
41 struct WebMediaPlayerAction; 42 struct WebMediaPlayerAction;
42 struct WebRect; 43 struct WebRect;
43 struct WebScreenInfo; 44 struct WebScreenInfo;
44 } 45 }
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 267 }
267 LogParam(control, l); 268 LogParam(control, l);
268 } 269 }
269 }; 270 };
270 271
271 template <> 272 template <>
272 struct SimilarTypeTraits<WebKit::WebFileError> { 273 struct SimilarTypeTraits<WebKit::WebFileError> {
273 typedef int Type; 274 typedef int Type;
274 }; 275 };
275 276
277 template <>
278 struct ParamTraits<WebKit::WebTextCheckingResult> {
279 typedef WebKit::WebTextCheckingResult param_type;
280 static void Write(Message* m, const param_type& p);
281 static bool Read(const Message* m, void** iter, param_type* r);
282 static void Log(const param_type& p, std::string* l);
283 };
284
276 } // namespace IPC 285 } // namespace IPC
277 286
278 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ 287 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/webkit_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698