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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1001 | 1001 |
1002 // This message confirms an ongoing composition. | 1002 // This message confirms an ongoing composition. |
1003 IPC_MESSAGE_ROUTED2(ViewMsg_ImeConfirmComposition, | 1003 IPC_MESSAGE_ROUTED2(ViewMsg_ImeConfirmComposition, |
1004 string16 /* text */, | 1004 string16 /* text */, |
1005 ui::Range /* replacement_range */) | 1005 ui::Range /* replacement_range */) |
1006 | 1006 |
1007 // Used to notify the render-view that we have received a target URL. Used | 1007 // Used to notify the render-view that we have received a target URL. Used |
1008 // to prevent target URLs spamming the browser. | 1008 // to prevent target URLs spamming the browser. |
1009 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) | 1009 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) |
1010 | 1010 |
1011 | |
1012 // Sets the alternate error page URL (link doctor) for the renderer process. | 1011 // Sets the alternate error page URL (link doctor) for the renderer process. |
1013 IPC_MESSAGE_ROUTED1(ViewMsg_SetAltErrorPageURL, | 1012 IPC_MESSAGE_ROUTED1(ViewMsg_SetAltErrorPageURL, |
1014 GURL) | 1013 GURL) |
1015 | 1014 |
| 1015 // Notifies the color that the user selected in the color chooser. |
| 1016 IPC_MESSAGE_ROUTED1(ViewMsg_DidChooseColorResponse, WebKit::WebColor) |
| 1017 IPC_MESSAGE_ROUTED0(ViewMsg_DidEndColorChooser) |
| 1018 |
1016 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, | 1019 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, |
1017 std::vector<FilePath> /* selected files */) | 1020 std::vector<FilePath> /* selected files */) |
1018 | 1021 |
1019 // Provides the results of directory enumeration. | 1022 // Provides the results of directory enumeration. |
1020 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, | 1023 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, |
1021 int /* request_id */, | 1024 int /* request_id */, |
1022 std::vector<FilePath> /* files_in_directory */) | 1025 std::vector<FilePath> /* files_in_directory */) |
1023 | 1026 |
1024 // When a renderer sends a ViewHostMsg_Focus to the browser process, | 1027 // When a renderer sends a ViewHostMsg_Focus to the browser process, |
1025 // the browser has the option of sending a ViewMsg_CantFocus back to | 1028 // the browser has the option of sending a ViewMsg_CantFocus back to |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1720 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1723 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1721 string16 /* text covers the selection range */, | 1724 string16 /* text covers the selection range */, |
1722 size_t /* the offset of the text in the document */, | 1725 size_t /* the offset of the text in the document */, |
1723 ui::Range /* selection range in the document */) | 1726 ui::Range /* selection range in the document */) |
1724 | 1727 |
1725 // Notification that the selection bounds have changed. | 1728 // Notification that the selection bounds have changed. |
1726 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, | 1729 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged, |
1727 gfx::Rect /* start rect */, | 1730 gfx::Rect /* start rect */, |
1728 gfx::Rect /* end rect */) | 1731 gfx::Rect /* end rect */) |
1729 | 1732 |
| 1733 // Asks the browser to open the color chooser. |
| 1734 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenColorChooser, WebKit::WebColor) |
| 1735 |
| 1736 // Asks the browser to end the color chooser. |
| 1737 IPC_MESSAGE_ROUTED0(ViewHostMsg_EndColorChooser) |
| 1738 |
| 1739 // Change the selected color in the color chooser. |
| 1740 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetSelectedColorInColorChooser, |
| 1741 WebKit::WebColor) |
| 1742 |
1730 // Asks the browser to display the file chooser. The result is returned in a | 1743 // Asks the browser to display the file chooser. The result is returned in a |
1731 // ViewHost_RunFileChooserResponse message. | 1744 // ViewHost_RunFileChooserResponse message. |
1732 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, | 1745 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, |
1733 content::FileChooserParams) | 1746 content::FileChooserParams) |
1734 | 1747 |
1735 // Asks the browser to enumerate a directory. This is equivalent to running | 1748 // Asks the browser to enumerate a directory. This is equivalent to running |
1736 // the file chooser in directory-enumeration mode and having the user select | 1749 // the file chooser in directory-enumeration mode and having the user select |
1737 // the given directory. The result is returned in a | 1750 // the given directory. The result is returned in a |
1738 // ViewMsg_EnumerateDirectoryResponse message. | 1751 // ViewMsg_EnumerateDirectoryResponse message. |
1739 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, | 1752 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1992 media::MediaLogEvent /* event */) | 2005 media::MediaLogEvent /* event */) |
1993 | 2006 |
1994 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 2007 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1995 // being sent back. | 2008 // being sent back. |
1996 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 2009 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1997 | 2010 |
1998 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 2011 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1999 // whenever the mouse is unlocked (which may or may not be caused by | 2012 // whenever the mouse is unlocked (which may or may not be caused by |
2000 // ViewHostMsg_UnlockMouse). | 2013 // ViewHostMsg_UnlockMouse). |
2001 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 2014 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |