OLD | NEW |
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 for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, | 392 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, |
393 // a new unique ID is created and assigned to the worker. | 393 // a new unique ID is created and assigned to the worker. |
394 IPC_STRUCT_MEMBER(int, route_id) | 394 IPC_STRUCT_MEMBER(int, route_id) |
395 | 395 |
396 // The ID of the appcache the main shared worker script resource was loaded | 396 // The ID of the appcache the main shared worker script resource was loaded |
397 // from, only valid for shared workers. | 397 // from, only valid for shared workers. |
398 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) | 398 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) |
399 IPC_STRUCT_END() | 399 IPC_STRUCT_END() |
400 | 400 |
401 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) | 401 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
402 IPC_STRUCT_MEMBER(int, dialog_type) | 402 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
403 IPC_STRUCT_MEMBER(int, year) | 403 IPC_STRUCT_MEMBER(double, dialog_value) |
404 IPC_STRUCT_MEMBER(int, month) | |
405 IPC_STRUCT_MEMBER(int, day) | |
406 IPC_STRUCT_MEMBER(int, hour) | |
407 IPC_STRUCT_MEMBER(int, minute) | |
408 IPC_STRUCT_MEMBER(int, second) | |
409 IPC_STRUCT_MEMBER(int, milli) | |
410 IPC_STRUCT_MEMBER(int, week) | |
411 IPC_STRUCT_MEMBER(double, minimum) | 404 IPC_STRUCT_MEMBER(double, minimum) |
412 IPC_STRUCT_MEMBER(double, maximum) | 405 IPC_STRUCT_MEMBER(double, maximum) |
413 IPC_STRUCT_MEMBER(double, step) | 406 IPC_STRUCT_MEMBER(double, step) |
414 IPC_STRUCT_END() | 407 IPC_STRUCT_END() |
415 | 408 |
416 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) | 409 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
417 // The frame ID for the failure report. | 410 // The frame ID for the failure report. |
418 IPC_STRUCT_MEMBER(int64, frame_id) | 411 IPC_STRUCT_MEMBER(int64, frame_id) |
419 // The WebFrame's uniqueName(). | 412 // The WebFrame's uniqueName(). |
420 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) | 413 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, | 962 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
970 content::StopFindAction /* action */) | 963 content::StopFindAction /* action */) |
971 | 964 |
972 // Informs the renderer about various statistics the browser has (e.g. | 965 // Informs the renderer about various statistics the browser has (e.g. |
973 // latency) regarding the frames that have been displayed. | 966 // latency) regarding the frames that have been displayed. |
974 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, | 967 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
975 content::BrowserRenderingStats /* stats */) | 968 content::BrowserRenderingStats /* stats */) |
976 | 969 |
977 // Replaces a date time input field. | 970 // Replaces a date time input field. |
978 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, | 971 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
979 ViewHostMsg_DateTimeDialogValue_Params /* value */) | 972 double /* dialog_value */) |
980 | 973 |
981 // Copies the image at location x, y to the clipboard (if there indeed is an | 974 // Copies the image at location x, y to the clipboard (if there indeed is an |
982 // image at that location). | 975 // image at that location). |
983 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 976 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
984 int /* x */, | 977 int /* x */, |
985 int /* y */) | 978 int /* y */) |
986 | 979 |
987 // Tells the renderer to perform the given action on the media player | 980 // Tells the renderer to perform the given action on the media player |
988 // located at the given point. | 981 // located at the given point. |
989 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, | 982 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2372 // synchronously (see crbug.com/120597). This IPC message sends the character | 2365 // synchronously (see crbug.com/120597). This IPC message sends the character |
2373 // bounds after every composition change to always have correct bound info. | 2366 // bounds after every composition change to always have correct bound info. |
2374 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2375 gfx::Range /* composition range */, | 2368 gfx::Range /* composition range */, |
2376 std::vector<gfx::Rect> /* character bounds */) | 2369 std::vector<gfx::Rect> /* character bounds */) |
2377 #endif | 2370 #endif |
2378 | 2371 |
2379 // Adding a new message? Stick to the sort order above: first platform | 2372 // Adding a new message? Stick to the sort order above: first platform |
2380 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2381 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |