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

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

Issue 3107026: Add IPC plumbing code for FileSystem API's openFileSystem (Closed)
Patch Set: nits fix + rebase Created 10 years, 4 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_internal.h ('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 11 matching lines...) Expand all
22 22
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/WebFileSystem.h"
32 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" 33 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
33 #include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h" 34 #include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h"
34 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" 35 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h"
35 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h" 36 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h"
36 37
37 namespace WebKit { 38 namespace WebKit {
38 struct WebCompositionUnderline; 39 struct WebCompositionUnderline;
39 struct WebFindOptions; 40 struct WebFindOptions;
40 struct WebMediaPlayerAction; 41 struct WebMediaPlayerAction;
41 struct WebRect; 42 struct WebRect;
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 break; 321 break;
321 default: 322 default:
322 NOTIMPLEMENTED(); 323 NOTIMPLEMENTED();
323 control = "UNKNOWN"; 324 control = "UNKNOWN";
324 break; 325 break;
325 } 326 }
326 LogParam(control, l); 327 LogParam(control, l);
327 } 328 }
328 }; 329 };
329 330
331 template <>
332 struct SimilarTypeTraits<WebKit::WebFileSystem::Type> {
333 typedef int Type;
334 };
335
330 } // namespace IPC 336 } // namespace IPC
331 337
332 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_ 338 #endif // CHROME_COMMON_WEBKIT_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698