| 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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 ViewHostMsg_SelectionBounds_Params) | 782 ViewHostMsg_SelectionBounds_Params) |
| 783 | 783 |
| 784 // Asks the browser to enumerate a directory. This is equivalent to running | 784 // Asks the browser to enumerate a directory. This is equivalent to running |
| 785 // the file chooser in directory-enumeration mode and having the user select | 785 // the file chooser in directory-enumeration mode and having the user select |
| 786 // the given directory. The result is returned in a | 786 // the given directory. The result is returned in a |
| 787 // ViewMsg_EnumerateDirectoryResponse message. | 787 // ViewMsg_EnumerateDirectoryResponse message. |
| 788 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, | 788 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, |
| 789 int /* request_id */, | 789 int /* request_id */, |
| 790 base::FilePath /* file_path */) | 790 base::FilePath /* file_path */) |
| 791 | 791 |
| 792 // Tells the browser to move the focus to the next (previous if reverse is | 792 // Tells the browser to move the focus to the next (previous if reverse is true) |
| 793 // true) focusable element. | 793 // focusable element in chrome if this is the top-level view or tells an outer |
| 794 // WebContents to continue focus traversal after the element representing the |
| 795 // inner WebContents. |
| 794 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, | 796 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, |
| 795 bool /* reverse */) | 797 bool /* reverse */) |
| 796 | 798 |
| 797 // Required for opening a date/time dialog | 799 // Required for opening a date/time dialog |
| 798 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog, | 800 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog, |
| 799 ViewHostMsg_DateTimeDialogValue_Params /* value */) | 801 ViewHostMsg_DateTimeDialogValue_Params /* value */) |
| 800 | 802 |
| 801 // Required for updating text input state. | 803 // Required for updating text input state. |
| 802 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 804 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
| 803 content::TextInputState /* text_input_state */) | 805 content::TextInputState /* text_input_state */) |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 int /* y */) | 927 int /* y */) |
| 926 | 928 |
| 927 #elif defined(OS_MACOSX) | 929 #elif defined(OS_MACOSX) |
| 928 // Receives content of a web page as plain text. | 930 // Receives content of a web page as plain text. |
| 929 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 931 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 930 #endif | 932 #endif |
| 931 | 933 |
| 932 // Adding a new message? Stick to the sort order above: first platform | 934 // Adding a new message? Stick to the sort order above: first platform |
| 933 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 935 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 934 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 936 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |