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

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

Issue 3394003: Add Worker support for FileSystem API. (Closed)
Patch Set: '' Created 10 years, 2 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
« no previous file with comments | « chrome/common/render_messages_params.cc ('k') | chrome/renderer/render_view.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) 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 12 matching lines...) Expand all
23 #ifndef CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ 23 #ifndef CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_
24 #define CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ 24 #define CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_
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/WebKit/chromium/public/WebCache.h" 28 #include "third_party/WebKit/WebKit/chromium/public/WebCache.h"
29 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" 29 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h"
30 #include "third_party/WebKit/WebKit/chromium/public/WebContextMenuData.h" 30 #include "third_party/WebKit/WebKit/chromium/public/WebContextMenuData.h"
31 #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h" 31 #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
32 #include "third_party/WebKit/WebKit/chromium/public/WebFileError.h" 32 #include "third_party/WebKit/WebKit/chromium/public/WebFileError.h"
33 #include "third_party/WebKit/WebKit/chromium/public/WebFileSystem.h"
34 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" 33 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
35 #include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h" 34 #include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h"
36 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" 35 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h"
37 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h" 36 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h"
38 37
39 namespace WebKit { 38 namespace WebKit {
40 struct WebCompositionUnderline; 39 struct WebCompositionUnderline;
41 struct WebFindOptions; 40 struct WebFindOptions;
42 struct WebMediaPlayerAction; 41 struct WebMediaPlayerAction;
43 struct WebRect; 42 struct WebRect;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 default: 262 default:
264 NOTIMPLEMENTED(); 263 NOTIMPLEMENTED();
265 control = "UNKNOWN"; 264 control = "UNKNOWN";
266 break; 265 break;
267 } 266 }
268 LogParam(control, l); 267 LogParam(control, l);
269 } 268 }
270 }; 269 };
271 270
272 template <> 271 template <>
273 struct SimilarTypeTraits<WebKit::WebFileSystem::Type> {
274 typedef int Type;
275 };
276
277 template <>
278 struct SimilarTypeTraits<WebKit::WebFileError> { 272 struct SimilarTypeTraits<WebKit::WebFileError> {
279 typedef int Type; 273 typedef int Type;
280 }; 274 };
281 275
282 } // namespace IPC 276 } // namespace IPC
283 277
284 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ 278 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_params.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698