Chromium Code Reviews| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 386 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, | 386 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, |
| 387 // a new unique ID is created and assigned to the worker. | 387 // a new unique ID is created and assigned to the worker. |
| 388 IPC_STRUCT_MEMBER(int, route_id) | 388 IPC_STRUCT_MEMBER(int, route_id) |
| 389 | 389 |
| 390 // The ID of the appcache the main shared worker script resource was loaded | 390 // The ID of the appcache the main shared worker script resource was loaded |
| 391 // from, only valid for shared workers. | 391 // from, only valid for shared workers. |
| 392 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) | 392 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) |
| 393 IPC_STRUCT_END() | 393 IPC_STRUCT_END() |
| 394 | 394 |
| 395 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) | 395 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
| 396 IPC_STRUCT_MEMBER(int, dialog_type) | 396 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
| 397 IPC_STRUCT_MEMBER(int, year) | 397 IPC_STRUCT_MEMBER(double, dialog_value) |
| 398 IPC_STRUCT_MEMBER(int, month) | |
| 399 IPC_STRUCT_MEMBER(int, day) | |
| 400 IPC_STRUCT_MEMBER(int, hour) | |
| 401 IPC_STRUCT_MEMBER(int, minute) | |
| 402 IPC_STRUCT_MEMBER(int, second) | |
| 403 IPC_STRUCT_MEMBER(int, milli) | |
| 404 IPC_STRUCT_MEMBER(int, week) | |
| 405 IPC_STRUCT_MEMBER(double, minimum) | 398 IPC_STRUCT_MEMBER(double, minimum) |
| 406 IPC_STRUCT_MEMBER(double, maximum) | 399 IPC_STRUCT_MEMBER(double, maximum) |
| 407 IPC_STRUCT_MEMBER(double, step) | 400 IPC_STRUCT_MEMBER(double, step) |
| 408 IPC_STRUCT_END() | 401 IPC_STRUCT_END() |
| 409 | 402 |
| 410 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) | 403 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
| 411 // The frame ID for the failure report. | 404 // The frame ID for the failure report. |
| 412 IPC_STRUCT_MEMBER(int64, frame_id) | 405 IPC_STRUCT_MEMBER(int64, frame_id) |
| 413 // The WebFrame's uniqueName(). | 406 // The WebFrame's uniqueName(). |
| 414 IPC_STRUCT_MEMBER(string16, frame_unique_name) | 407 IPC_STRUCT_MEMBER(string16, frame_unique_name) |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 966 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, | 959 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
| 967 content::StopFindAction /* action */) | 960 content::StopFindAction /* action */) |
| 968 | 961 |
| 969 // Informs the renderer about various statistics the browser has (e.g. | 962 // Informs the renderer about various statistics the browser has (e.g. |
| 970 // latency) regarding the frames that have been displayed. | 963 // latency) regarding the frames that have been displayed. |
| 971 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, | 964 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
| 972 content::BrowserRenderingStats /* stats */) | 965 content::BrowserRenderingStats /* stats */) |
| 973 | 966 |
| 974 // Replaces a date time input field. | 967 // Replaces a date time input field. |
| 975 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, | 968 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
| 976 ViewHostMsg_DateTimeDialogValue_Params /* value */) | 969 double /* dialog_value */) |
|
Miguel Garcia
2013/11/26 16:07:08
so if you are passing milliseconds since epoch why
keishi
2013/11/27 06:58:37
The HTML spec defines min/max for the date/time va
Miguel Garcia
2013/11/27 11:17:24
Ok, would be nice to know what happens if we actua
keishi
2013/11/29 03:30:14
Blink only send valid values to chromium so the va
| |
| 977 | 970 |
| 978 // Copies the image at location x, y to the clipboard (if there indeed is an | 971 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 979 // image at that location). | 972 // image at that location). |
| 980 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 973 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| 981 int /* x */, | 974 int /* x */, |
| 982 int /* y */) | 975 int /* y */) |
| 983 | 976 |
| 984 // Tells the renderer to perform the given action on the media player | 977 // Tells the renderer to perform the given action on the media player |
| 985 // located at the given point. | 978 // located at the given point. |
| 986 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, | 979 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
| (...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2377 // synchronously (see crbug.com/120597). This IPC message sends the character | 2370 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2378 // bounds after every composition change to always have correct bound info. | 2371 // bounds after every composition change to always have correct bound info. |
| 2379 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2380 gfx::Range /* composition range */, | 2373 gfx::Range /* composition range */, |
| 2381 std::vector<gfx::Rect> /* character bounds */) | 2374 std::vector<gfx::Rect> /* character bounds */) |
| 2382 #endif | 2375 #endif |
| 2383 | 2376 |
| 2384 // Adding a new message? Stick to the sort order above: first platform | 2377 // Adding a new message? Stick to the sort order above: first platform |
| 2385 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2386 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |