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