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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1009 #endif | 1009 #endif |
1010 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 1010 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
1011 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) | 1011 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) |
1012 // Replaces the selected region or a word around the cursor with the | 1012 // Replaces the selected region or a word around the cursor with the |
1013 // specified string. | 1013 // specified string. |
1014 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, | 1014 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
1015 string16) | 1015 string16) |
1016 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 1016 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
1017 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 1017 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
1018 | 1018 |
1019 // Replaces all text in the current input field with the specified string. | 1019 // Replaces a date time input field. |
1020 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceAll, | 1020 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, string16 /* text */) |
1021 string16 /* text */) | 1021 |
1022 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) | 1022 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
1023 | 1023 |
1024 // Requests the renderer to select the region between two points. | 1024 // Requests the renderer to select the region between two points. |
1025 // Expects a SelectRange_ACK message when finished. | 1025 // Expects a SelectRange_ACK message when finished. |
1026 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, | 1026 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |
1027 gfx::Point /* start */, | 1027 gfx::Point /* start */, |
1028 gfx::Point /* end */) | 1028 gfx::Point /* end */) |
1029 | 1029 |
1030 // Copies the image at location x, y to the clipboard (if there indeed is an | 1030 // Copies the image at location x, y to the clipboard (if there indeed is an |
1031 // image at that location). | 1031 // image at that location). |
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2090 ViewHostMsg_TextInputState_Params /* input state params */) | 2090 ViewHostMsg_TextInputState_Params /* input state params */) |
2091 | 2091 |
2092 // Message sent when the IME text composition range changes. | 2092 // Message sent when the IME text composition range changes. |
2093 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2093 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2094 ui::Range /* composition range */, | 2094 ui::Range /* composition range */, |
2095 std::vector<gfx::Rect> /* character bounds */) | 2095 std::vector<gfx::Rect> /* character bounds */) |
2096 | 2096 |
2097 // Required for cancelling an ongoing input method composition. | 2097 // Required for cancelling an ongoing input method composition. |
2098 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) | 2098 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) |
2099 | 2099 |
| 2100 // Tells the renderer to cancel an opened date/time dialog. |
| 2101 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
| 2102 |
2100 // WebKit and JavaScript error messages to log to the console | 2103 // WebKit and JavaScript error messages to log to the console |
2101 // or debugger UI. | 2104 // or debugger UI. |
2102 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | 2105 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, |
2103 int32, /* log level */ | 2106 int32, /* log level */ |
2104 string16, /* msg */ | 2107 string16, /* msg */ |
2105 int32, /* line number */ | 2108 int32, /* line number */ |
2106 string16 /* source id */) | 2109 string16 /* source id */) |
2107 | 2110 |
2108 // Sent by the renderer process to indicate that a plugin instance has | 2111 // Sent by the renderer process to indicate that a plugin instance has |
2109 // crashed. | 2112 // crashed. |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2452 int /* arb_robustness_status_code */) | 2455 int /* arb_robustness_status_code */) |
2453 | 2456 |
2454 #if defined(OS_WIN) | 2457 #if defined(OS_WIN) |
2455 // Request that the given font characters be loaded by the browser so it's | 2458 // Request that the given font characters be loaded by the browser so it's |
2456 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2459 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2457 // for details. | 2460 // for details. |
2458 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2461 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2459 LOGFONT /* font_data */, | 2462 LOGFONT /* font_data */, |
2460 string16 /* characters */) | 2463 string16 /* characters */) |
2461 #endif | 2464 #endif |
OLD | NEW |