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

Side by Side Diff: chrome/common/render_messages_params.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_internal.h ('k') | chrome/common/render_messages_params.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 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 12 matching lines...) Expand all
23 #include "chrome/common/indexed_db_key.h" 23 #include "chrome/common/indexed_db_key.h"
24 #include "chrome/common/navigation_gesture.h" 24 #include "chrome/common/navigation_gesture.h"
25 #include "chrome/common/navigation_types.h" 25 #include "chrome/common/navigation_types.h"
26 #include "chrome/common/page_transition_types.h" 26 #include "chrome/common/page_transition_types.h"
27 #include "chrome/common/renderer_preferences.h" 27 #include "chrome/common/renderer_preferences.h"
28 #include "chrome/common/serialized_script_value.h" 28 #include "chrome/common/serialized_script_value.h"
29 #include "chrome/common/window_container_type.h" 29 #include "chrome/common/window_container_type.h"
30 #include "googleurl/src/gurl.h" 30 #include "googleurl/src/gurl.h"
31 #include "ipc/ipc_param_traits.h" 31 #include "ipc/ipc_param_traits.h"
32 #include "media/audio/audio_parameters.h" 32 #include "media/audio/audio_parameters.h"
33 #include "third_party/WebKit/WebKit/chromium/public/WebFileSystem.h"
34 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" 33 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h"
35 #include "webkit/glue/password_form.h" 34 #include "webkit/glue/password_form.h"
36 #include "webkit/glue/plugins/webplugin.h" 35 #include "webkit/glue/plugins/webplugin.h"
37 #include "webkit/glue/resource_type.h" 36 #include "webkit/glue/resource_type.h"
38 #include "webkit/glue/webaccessibility.h" 37 #include "webkit/glue/webaccessibility.h"
39 #include "webkit/glue/webmenuitem.h" 38 #include "webkit/glue/webmenuitem.h"
40 #include "webkit/glue/webpreferences.h" 39 #include "webkit/glue/webpreferences.h"
41 40
42 // TODO(erg): Split this file into $1_db_params.h, $1_audio_params.h, 41 // TODO(erg): Split this file into $1_db_params.h, $1_audio_params.h,
43 // $1_print_params.h and $1_render_params.h. 42 // $1_print_params.h and $1_render_params.h.
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 // Unique request id to match requests and responses. 961 // Unique request id to match requests and responses.
963 int request_id; 962 int request_id;
964 963
965 // True if request has a callback specified. 964 // True if request has a callback specified.
966 bool has_callback; 965 bool has_callback;
967 966
968 // True if request is executed in response to an explicit user gesture. 967 // True if request is executed in response to an explicit user gesture.
969 bool user_gesture; 968 bool user_gesture;
970 }; 969 };
971 970
972 struct ViewHostMsg_OpenFileSystemRequest_Params {
973 ViewHostMsg_OpenFileSystemRequest_Params();
974 ~ViewHostMsg_OpenFileSystemRequest_Params();
975
976 // The routing ID of the view initiating the request.
977 int routing_id;
978
979 // The response should have this id.
980 int request_id;
981
982 // The origin doing the initiating.
983 GURL origin_url;
984
985 // The requested FileSystem type.
986 WebKit::WebFileSystem::Type type;
987
988 // Indicates how much storage space (in bytes) the caller expects to need.
989 int64 requested_size;
990 };
991
992 struct ViewHostMsg_AccessibilityNotification_Params { 971 struct ViewHostMsg_AccessibilityNotification_Params {
993 enum NotificationType { 972 enum NotificationType {
994 // The node checked state has changed. 973 // The node checked state has changed.
995 NOTIFICATION_TYPE_CHECK_STATE_CHANGED, 974 NOTIFICATION_TYPE_CHECK_STATE_CHANGED,
996 975
997 // The node tree structure has changed. 976 // The node tree structure has changed.
998 NOTIFICATION_TYPE_CHILDREN_CHANGED, 977 NOTIFICATION_TYPE_CHILDREN_CHANGED,
999 978
1000 // The node value has changed. 979 // The node value has changed.
1001 NOTIFICATION_TYPE_VALUE_CHANGED, 980 NOTIFICATION_TYPE_VALUE_CHANGED,
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 1242
1264 template <> 1243 template <>
1265 struct ParamTraits<ViewHostMsg_DomMessage_Params> { 1244 struct ParamTraits<ViewHostMsg_DomMessage_Params> {
1266 typedef ViewHostMsg_DomMessage_Params param_type; 1245 typedef ViewHostMsg_DomMessage_Params param_type;
1267 static void Write(Message* m, const param_type& p); 1246 static void Write(Message* m, const param_type& p);
1268 static bool Read(const Message* m, void** iter, param_type* p); 1247 static bool Read(const Message* m, void** iter, param_type* p);
1269 static void Log(const param_type& p, std::string* l); 1248 static void Log(const param_type& p, std::string* l);
1270 }; 1249 };
1271 1250
1272 template <> 1251 template <>
1273 struct ParamTraits<ViewHostMsg_OpenFileSystemRequest_Params> {
1274 typedef ViewHostMsg_OpenFileSystemRequest_Params param_type;
1275 static void Write(Message* m, const param_type& p);
1276 static bool Read(const Message* m, void** iter, param_type* p);
1277 static void Log(const param_type& p, std::string* l);
1278 };
1279
1280 template <>
1281 struct ParamTraits<base::file_util_proxy::Entry> { 1252 struct ParamTraits<base::file_util_proxy::Entry> {
1282 typedef base::file_util_proxy::Entry param_type; 1253 typedef base::file_util_proxy::Entry param_type;
1283 static void Write(Message* m, const param_type& p); 1254 static void Write(Message* m, const param_type& p);
1284 static bool Read(const Message* m, void** iter, param_type* p); 1255 static bool Read(const Message* m, void** iter, param_type* p);
1285 static void Log(const param_type& p, std::string* l); 1256 static void Log(const param_type& p, std::string* l);
1286 }; 1257 };
1287 1258
1288 template <> 1259 template <>
1289 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1260 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1290 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1261 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1291 static void Write(Message* m, const param_type& p); 1262 static void Write(Message* m, const param_type& p);
1292 static bool Read(const Message* m, void** iter, param_type* p); 1263 static bool Read(const Message* m, void** iter, param_type* p);
1293 static void Log(const param_type& p, std::string* l); 1264 static void Log(const param_type& p, std::string* l);
1294 }; 1265 };
1295 1266
1296 } // namespace IPC 1267 } // namespace IPC
1297 1268
1298 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1269 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/render_messages_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698