| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) | 703 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) |
| 704 | 704 |
| 705 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, | 705 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, |
| 706 std::vector<content::FileChooserFileInfo>) | 706 std::vector<content::FileChooserFileInfo>) |
| 707 | 707 |
| 708 // Provides the results of directory enumeration. | 708 // Provides the results of directory enumeration. |
| 709 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, | 709 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, |
| 710 int /* request_id */, | 710 int /* request_id */, |
| 711 std::vector<base::FilePath> /* files_in_directory */) | 711 std::vector<base::FilePath> /* files_in_directory */) |
| 712 | 712 |
| 713 // Tells the renderer to suppress any further modal dialogs until it receives a | |
| 714 // corresponding ViewMsg_SwapOut message. This ensures that no | |
| 715 // PageGroupLoadDeferrer is on the stack for SwapOut. | |
| 716 IPC_MESSAGE_ROUTED0(ViewMsg_SuppressDialogsUntilSwapOut) | |
| 717 | |
| 718 // Instructs the renderer to close the current page, including running the | 713 // Instructs the renderer to close the current page, including running the |
| 719 // onunload event handler. | 714 // onunload event handler. |
| 720 // | 715 // |
| 721 // Expects a ClosePage_ACK message when finished. | 716 // Expects a ClosePage_ACK message when finished. |
| 722 IPC_MESSAGE_ROUTED0(ViewMsg_ClosePage) | 717 IPC_MESSAGE_ROUTED0(ViewMsg_ClosePage) |
| 723 | 718 |
| 724 // Notifies the renderer about ui theme changes | 719 // Notifies the renderer about ui theme changes |
| 725 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) | 720 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) |
| 726 | 721 |
| 727 // Notifies the renderer that a paint is to be generated for the rectangle | 722 // Notifies the renderer that a paint is to be generated for the rectangle |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1263 int /* y */) | 1258 int /* y */) |
| 1264 | 1259 |
| 1265 #elif defined(OS_MACOSX) | 1260 #elif defined(OS_MACOSX) |
| 1266 // Receives content of a web page as plain text. | 1261 // Receives content of a web page as plain text. |
| 1267 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1262 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1268 #endif | 1263 #endif |
| 1269 | 1264 |
| 1270 // Adding a new message? Stick to the sort order above: first platform | 1265 // Adding a new message? Stick to the sort order above: first platform |
| 1271 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1266 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1272 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1267 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |