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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
381 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, | 381 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, |
382 // a new unique ID is created and assigned to the worker. | 382 // a new unique ID is created and assigned to the worker. |
383 IPC_STRUCT_MEMBER(int, route_id) | 383 IPC_STRUCT_MEMBER(int, route_id) |
384 | 384 |
385 // The ID of the appcache the main shared worker script resource was loaded | 385 // The ID of the appcache the main shared worker script resource was loaded |
386 // from, only valid for shared workers. | 386 // from, only valid for shared workers. |
387 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) | 387 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) |
388 IPC_STRUCT_END() | 388 IPC_STRUCT_END() |
389 | 389 |
390 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) | 390 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
391 IPC_STRUCT_MEMBER(int, dialog_type) | 391 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
392 IPC_STRUCT_MEMBER(int, year) | 392 IPC_STRUCT_MEMBER(double, current_value) |
miu
2013/11/08 01:48:02
Drive-by comment: "current_value" isn't very descr
keishi
2013/11/08 02:13:07
It depends on the dialog_type. If it is "date", "d
Miguel Garcia
2013/11/11 13:40:05
since you have dialog_type already how about namin
keishi
2013/11/19 12:51:21
Done.
| |
393 IPC_STRUCT_MEMBER(int, month) | |
394 IPC_STRUCT_MEMBER(int, day) | |
395 IPC_STRUCT_MEMBER(int, hour) | |
396 IPC_STRUCT_MEMBER(int, minute) | |
397 IPC_STRUCT_MEMBER(int, second) | |
398 IPC_STRUCT_MEMBER(int, milli) | |
399 IPC_STRUCT_MEMBER(int, week) | |
400 IPC_STRUCT_MEMBER(double, minimum) | 393 IPC_STRUCT_MEMBER(double, minimum) |
401 IPC_STRUCT_MEMBER(double, maximum) | 394 IPC_STRUCT_MEMBER(double, maximum) |
402 IPC_STRUCT_MEMBER(double, step) | 395 IPC_STRUCT_MEMBER(double, step) |
403 IPC_STRUCT_END() | 396 IPC_STRUCT_END() |
404 | 397 |
405 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) | 398 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
406 // The frame ID for the failure report. | 399 // The frame ID for the failure report. |
407 IPC_STRUCT_MEMBER(int64, frame_id) | 400 IPC_STRUCT_MEMBER(int64, frame_id) |
408 // The WebFrame's uniqueName(). | 401 // The WebFrame's uniqueName(). |
409 IPC_STRUCT_MEMBER(string16, frame_unique_name) | 402 IPC_STRUCT_MEMBER(string16, frame_unique_name) |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
956 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, | 949 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
957 content::StopFindAction /* action */) | 950 content::StopFindAction /* action */) |
958 | 951 |
959 // Informs the renderer about various statistics the browser has (e.g. | 952 // Informs the renderer about various statistics the browser has (e.g. |
960 // latency) regarding the frames that have been displayed. | 953 // latency) regarding the frames that have been displayed. |
961 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, | 954 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
962 content::BrowserRenderingStats /* stats */) | 955 content::BrowserRenderingStats /* stats */) |
963 | 956 |
964 // Replaces a date time input field. | 957 // Replaces a date time input field. |
965 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, | 958 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
966 ViewHostMsg_DateTimeDialogValue_Params /* value */) | 959 double /* value */) |
967 | 960 |
968 // Copies the image at location x, y to the clipboard (if there indeed is an | 961 // Copies the image at location x, y to the clipboard (if there indeed is an |
969 // image at that location). | 962 // image at that location). |
970 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 963 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
971 int /* x */, | 964 int /* x */, |
972 int /* y */) | 965 int /* y */) |
973 | 966 |
974 // Tells the renderer to perform the given action on the media player | 967 // Tells the renderer to perform the given action on the media player |
975 // located at the given point. | 968 // located at the given point. |
976 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, | 969 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
(...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2370 // synchronously (see crbug.com/120597). This IPC message sends the character | 2363 // synchronously (see crbug.com/120597). This IPC message sends the character |
2371 // bounds after every composition change to always have correct bound info. | 2364 // bounds after every composition change to always have correct bound info. |
2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2365 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2373 gfx::Range /* composition range */, | 2366 gfx::Range /* composition range */, |
2374 std::vector<gfx::Rect> /* character bounds */) | 2367 std::vector<gfx::Rect> /* character bounds */) |
2375 #endif | 2368 #endif |
2376 | 2369 |
2377 // Adding a new message? Stick to the sort order above: first platform | 2370 // Adding a new message? Stick to the sort order above: first platform |
2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2371 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2372 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |