| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <map> | 5 #include <map> |
| 6 #include <set> | 6 #include <set> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 | 562 |
| 563 // Tells the render view to load all blocked plugins. | 563 // Tells the render view to load all blocked plugins. |
| 564 IPC_MESSAGE_ROUTED0(ViewMsg_LoadBlockedPlugins) | 564 IPC_MESSAGE_ROUTED0(ViewMsg_LoadBlockedPlugins) |
| 565 | 565 |
| 566 // Tells the render view a prerendered page is about to be displayed. | 566 // Tells the render view a prerendered page is about to be displayed. |
| 567 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) | 567 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) |
| 568 | 568 |
| 569 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, | 569 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, |
| 570 std::vector<FilePath> /* selected files */) | 570 std::vector<FilePath> /* selected files */) |
| 571 | 571 |
| 572 // Provides the results of directory enumeration. |
| 573 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, |
| 574 int /* request_id */, |
| 575 std::vector<FilePath> /* files_in_directory */) |
| 576 |
| 572 // Used to instruct the RenderView to go into "view source" mode. | 577 // Used to instruct the RenderView to go into "view source" mode. |
| 573 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) | 578 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) |
| 574 | 579 |
| 575 // Get all savable resource links from current webpage, include main | 580 // Get all savable resource links from current webpage, include main |
| 576 // frame and sub-frame. | 581 // frame and sub-frame. |
| 577 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, | 582 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, |
| 578 GURL /* url of page which is needed to save */) | 583 GURL /* url of page which is needed to save */) |
| 579 | 584 |
| 580 // Get html data by serializing all frames of current page with lists | 585 // Get html data by serializing all frames of current page with lists |
| 581 // which contain all resource links that have local copy. | 586 // which contain all resource links that have local copy. |
| (...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1647 | 1652 |
| 1648 // Notification that the text selection has changed. | 1653 // Notification that the text selection has changed. |
| 1649 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged, | 1654 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged, |
| 1650 std::string /* currently selected text */) | 1655 std::string /* currently selected text */) |
| 1651 | 1656 |
| 1652 // Asks the browser to display the file chooser. The result is returned in a | 1657 // Asks the browser to display the file chooser. The result is returned in a |
| 1653 // ViewHost_RunFileChooserResponse message. | 1658 // ViewHost_RunFileChooserResponse message. |
| 1654 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, | 1659 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, |
| 1655 ViewHostMsg_RunFileChooser_Params) | 1660 ViewHostMsg_RunFileChooser_Params) |
| 1656 | 1661 |
| 1662 // Asks the browser to enumerate a directory. This is equivalent to running |
| 1663 // the file chooser in directory-enumeration mode and having the user select |
| 1664 // the given directory. The result is returned in a |
| 1665 // ViewHost_EnumerateDirectoryResponse message. |
| 1666 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, |
| 1667 int /* request_id */, |
| 1668 FilePath /* file_path */); |
| 1669 |
| 1657 // Used to tell the parent the user started dragging in the content area. The | 1670 // Used to tell the parent the user started dragging in the content area. The |
| 1658 // WebDropData struct contains contextual information about the pieces of the | 1671 // WebDropData struct contains contextual information about the pieces of the |
| 1659 // page the user dragged. The parent uses this notification to initiate a | 1672 // page the user dragged. The parent uses this notification to initiate a |
| 1660 // drag session at the OS level. | 1673 // drag session at the OS level. |
| 1661 IPC_MESSAGE_ROUTED4(ViewHostMsg_StartDragging, | 1674 IPC_MESSAGE_ROUTED4(ViewHostMsg_StartDragging, |
| 1662 WebDropData /* drop_data */, | 1675 WebDropData /* drop_data */, |
| 1663 WebKit::WebDragOperationsMask /* ops_allowed */, | 1676 WebKit::WebDragOperationsMask /* ops_allowed */, |
| 1664 SkBitmap /* image */, | 1677 SkBitmap /* image */, |
| 1665 gfx::Point /* image_offset */) | 1678 gfx::Point /* image_offset */) |
| 1666 | 1679 |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2545 // while performing stress testing. | 2558 // while performing stress testing. |
| 2546 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2559 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2547 int /* cmd */, | 2560 int /* cmd */, |
| 2548 int /* param */) | 2561 int /* param */) |
| 2549 | 2562 |
| 2550 // Register a new handler for URL requests with the given scheme. | 2563 // Register a new handler for URL requests with the given scheme. |
| 2551 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2564 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
| 2552 std::string /* scheme */, | 2565 std::string /* scheme */, |
| 2553 GURL /* url */, | 2566 GURL /* url */, |
| 2554 string16 /* title */) | 2567 string16 /* title */) |
| OLD | NEW |