Chromium Code Reviews| 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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 771 ViewHostMsg_SelectionBounds_Params) | 771 ViewHostMsg_SelectionBounds_Params) |
| 772 | 772 |
| 773 // Asks the browser to enumerate a directory. This is equivalent to running | 773 // Asks the browser to enumerate a directory. This is equivalent to running |
| 774 // the file chooser in directory-enumeration mode and having the user select | 774 // the file chooser in directory-enumeration mode and having the user select |
| 775 // the given directory. The result is returned in a | 775 // the given directory. The result is returned in a |
| 776 // ViewMsg_EnumerateDirectoryResponse message. | 776 // ViewMsg_EnumerateDirectoryResponse message. |
| 777 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, | 777 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, |
| 778 int /* request_id */, | 778 int /* request_id */, |
| 779 base::FilePath /* file_path */) | 779 base::FilePath /* file_path */) |
| 780 | 780 |
| 781 // Tells the browser to move the focus to the next (previous if reverse is | 781 // Tells the browser to move the focus to the next (previous if reverse is true) |
| 782 // true) focusable element. | 782 // focusable element in chrome if this is the top-level view or tells an outer |
|
dcheng
2017/01/12 10:19:21
This comment is a bit confusing to me. I assume "c
avallee
2017/01/12 20:00:23
Done.
| |
| 783 // WebContents to continue focus traversal after the element representing the | |
| 784 // inner WebContents. | |
| 783 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, | 785 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, |
| 784 bool /* reverse */) | 786 bool /* reverse */) |
| 785 | 787 |
| 786 // Required for opening a date/time dialog | 788 // Required for opening a date/time dialog |
| 787 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog, | 789 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog, |
| 788 ViewHostMsg_DateTimeDialogValue_Params /* value */) | 790 ViewHostMsg_DateTimeDialogValue_Params /* value */) |
| 789 | 791 |
| 790 // Required for updating text input state. | 792 // Required for updating text input state. |
| 791 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 793 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
| 792 content::TextInputState /* text_input_state */) | 794 content::TextInputState /* text_input_state */) |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 914 int /* y */) | 916 int /* y */) |
| 915 | 917 |
| 916 #elif defined(OS_MACOSX) | 918 #elif defined(OS_MACOSX) |
| 917 // Receives content of a web page as plain text. | 919 // Receives content of a web page as plain text. |
| 918 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 920 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 919 #endif | 921 #endif |
| 920 | 922 |
| 921 // Adding a new message? Stick to the sort order above: first platform | 923 // Adding a new message? Stick to the sort order above: first platform |
| 922 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 924 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 923 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 925 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |