| 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 #endif | 1010 #endif |
| 1011 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 1011 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
| 1012 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) | 1012 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) |
| 1013 // Replaces the selected region or a word around the cursor with the | 1013 // Replaces the selected region or a word around the cursor with the |
| 1014 // specified string. | 1014 // specified string. |
| 1015 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, | 1015 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
| 1016 string16) | 1016 string16) |
| 1017 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 1017 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| 1018 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 1018 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 1019 | 1019 |
| 1020 // Replaces all text in the current input field with the specified string. | 1020 // Replaces a date time input field. |
| 1021 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceAll, | 1021 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, string16 /* text */) |
| 1022 string16 /* text */) | 1022 |
| 1023 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) | 1023 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
| 1024 | 1024 |
| 1025 // Requests the renderer to select the region between two points. | 1025 // Requests the renderer to select the region between two points. |
| 1026 // Expects a SelectRange_ACK message when finished. | 1026 // Expects a SelectRange_ACK message when finished. |
| 1027 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, | 1027 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |
| 1028 gfx::Point /* start */, | 1028 gfx::Point /* start */, |
| 1029 gfx::Point /* end */) | 1029 gfx::Point /* end */) |
| 1030 | 1030 |
| 1031 // Copies the image at location x, y to the clipboard (if there indeed is an | 1031 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 1032 // image at that location). | 1032 // image at that location). |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2070 ViewHostMsg_TextInputState_Params /* input state params */) | 2070 ViewHostMsg_TextInputState_Params /* input state params */) |
| 2071 | 2071 |
| 2072 // Message sent when the IME text composition range changes. | 2072 // Message sent when the IME text composition range changes. |
| 2073 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2073 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2074 ui::Range /* composition range */, | 2074 ui::Range /* composition range */, |
| 2075 std::vector<gfx::Rect> /* character bounds */) | 2075 std::vector<gfx::Rect> /* character bounds */) |
| 2076 | 2076 |
| 2077 // Required for cancelling an ongoing input method composition. | 2077 // Required for cancelling an ongoing input method composition. |
| 2078 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) | 2078 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) |
| 2079 | 2079 |
| 2080 // Tells the renderer to cancel an opened date/time dialog. |
| 2081 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
| 2082 |
| 2080 // WebKit and JavaScript error messages to log to the console | 2083 // WebKit and JavaScript error messages to log to the console |
| 2081 // or debugger UI. | 2084 // or debugger UI. |
| 2082 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | 2085 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, |
| 2083 int32, /* log level */ | 2086 int32, /* log level */ |
| 2084 string16, /* msg */ | 2087 string16, /* msg */ |
| 2085 int32, /* line number */ | 2088 int32, /* line number */ |
| 2086 string16 /* source id */) | 2089 string16 /* source id */) |
| 2087 | 2090 |
| 2088 // Sent by the renderer process to indicate that a plugin instance has | 2091 // Sent by the renderer process to indicate that a plugin instance has |
| 2089 // crashed. | 2092 // crashed. |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2432 int /* arb_robustness_status_code */) | 2435 int /* arb_robustness_status_code */) |
| 2433 | 2436 |
| 2434 #if defined(OS_WIN) | 2437 #if defined(OS_WIN) |
| 2435 // Request that the given font characters be loaded by the browser so it's | 2438 // Request that the given font characters be loaded by the browser so it's |
| 2436 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2439 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2437 // for details. | 2440 // for details. |
| 2438 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2441 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2439 LOGFONT /* font_data */, | 2442 LOGFONT /* font_data */, |
| 2440 string16 /* characters */) | 2443 string16 /* characters */) |
| 2441 #endif | 2444 #endif |
| OLD | NEW |