| 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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 // Indicates if an input method is active in the browser process. | 752 // Indicates if an input method is active in the browser process. |
| 753 // The possible actions when a renderer process receives this message are | 753 // The possible actions when a renderer process receives this message are |
| 754 // listed below: | 754 // listed below: |
| 755 // Value Action | 755 // Value Action |
| 756 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState | 756 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState |
| 757 // to notify the input method status of the focused edit control. | 757 // to notify the input method status of the focused edit control. |
| 758 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState. | 758 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState. |
| 759 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive, | 759 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive, |
| 760 bool /* is_active */) | 760 bool /* is_active */) |
| 761 | 761 |
| 762 // IME API oncandidatewindow* events for InputMethodContext. | |
| 763 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowShown) | |
| 764 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowUpdated) | |
| 765 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowHidden) | |
| 766 | |
| 767 // Used to notify the render-view that we have received a target URL. Used | 762 // Used to notify the render-view that we have received a target URL. Used |
| 768 // to prevent target URLs spamming the browser. | 763 // to prevent target URLs spamming the browser. |
| 769 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) | 764 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) |
| 770 | 765 |
| 771 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, | 766 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, |
| 772 std::vector<content::FileChooserFileInfo>) | 767 std::vector<content::FileChooserFileInfo>) |
| 773 | 768 |
| 774 // Provides the results of directory enumeration. | 769 // Provides the results of directory enumeration. |
| 775 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, | 770 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, |
| 776 int /* request_id */, | 771 int /* request_id */, |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1618 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1613 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1619 // for details. | 1614 // for details. |
| 1620 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1615 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1621 LOGFONT /* font_data */, | 1616 LOGFONT /* font_data */, |
| 1622 base::string16 /* characters */) | 1617 base::string16 /* characters */) |
| 1623 #endif | 1618 #endif |
| 1624 | 1619 |
| 1625 // Adding a new message? Stick to the sort order above: first platform | 1620 // Adding a new message? Stick to the sort order above: first platform |
| 1626 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1621 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1627 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1622 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |