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