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 "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 // Executes custom context menu action that was provided from WebKit. | 910 // Executes custom context menu action that was provided from WebKit. |
911 IPC_MESSAGE_ROUTED2(ViewMsg_CustomContextMenuAction, | 911 IPC_MESSAGE_ROUTED2(ViewMsg_CustomContextMenuAction, |
912 content::CustomContextMenuContext /* custom_context */, | 912 content::CustomContextMenuContext /* custom_context */, |
913 unsigned /* action */) | 913 unsigned /* action */) |
914 | 914 |
915 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that | 915 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that |
916 // the menu has been closed. | 916 // the menu has been closed. |
917 IPC_MESSAGE_ROUTED1(ViewMsg_ContextMenuClosed, | 917 IPC_MESSAGE_ROUTED1(ViewMsg_ContextMenuClosed, |
918 content::CustomContextMenuContext /* custom_context */) | 918 content::CustomContextMenuContext /* custom_context */) |
919 | 919 |
| 920 // Sent to inform the renderer to invoke a context menu. |
| 921 IPC_MESSAGE_ROUTED0(ViewMsg_ShowContextMenu) |
| 922 |
920 // Tells the renderer to perform the specified navigation, interrupting any | 923 // Tells the renderer to perform the specified navigation, interrupting any |
921 // existing navigation. | 924 // existing navigation. |
922 IPC_MESSAGE_ROUTED1(ViewMsg_Navigate, ViewMsg_Navigate_Params) | 925 IPC_MESSAGE_ROUTED1(ViewMsg_Navigate, ViewMsg_Navigate_Params) |
923 | 926 |
924 IPC_MESSAGE_ROUTED0(ViewMsg_Stop) | 927 IPC_MESSAGE_ROUTED0(ViewMsg_Stop) |
925 | 928 |
926 // Tells the renderer to reload the current focused frame | 929 // Tells the renderer to reload the current focused frame |
927 IPC_MESSAGE_ROUTED0(ViewMsg_ReloadFrame) | 930 IPC_MESSAGE_ROUTED0(ViewMsg_ReloadFrame) |
928 | 931 |
929 // Sent when the user wants to search for a word on the page (find in page). | 932 // Sent when the user wants to search for a word on the page (find in page). |
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2395 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2398 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2396 // for details. | 2399 // for details. |
2397 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2400 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2398 LOGFONT /* font_data */, | 2401 LOGFONT /* font_data */, |
2399 string16 /* characters */) | 2402 string16 /* characters */) |
2400 #endif | 2403 #endif |
2401 | 2404 |
2402 // Adding a new message? Stick to the sort order above: first platform | 2405 // Adding a new message? Stick to the sort order above: first platform |
2403 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2406 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2404 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2407 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |