Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 int32 /* page_id */, 728 int32 /* page_id */,
729 GURL /* url of the favicon */) 729 GURL /* url of the favicon */)
730 730
731 // Used to tell the parent that the user right clicked on an area of the 731 // Used to tell the parent that the user right clicked on an area of the
732 // content area, and a context menu should be shown for it. The params 732 // content area, and a context menu should be shown for it. The params
733 // object contains information about the node(s) that were selected when the 733 // object contains information about the node(s) that were selected when the
734 // user right clicked. 734 // user right clicked.
735 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ViewHostMsg_ContextMenu_Params) 735 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ViewHostMsg_ContextMenu_Params)
736 736
737 // Request that the given URL be opened in the specified manner. 737 // Request that the given URL be opened in the specified manner.
738 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenURL, 738 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenURL,
739 GURL /* url */, 739 GURL /* url */,
740 GURL /* referrer */,
740 WindowOpenDisposition /* disposition */) 741 WindowOpenDisposition /* disposition */)
741 742
742 // Following message is used to communicate the values received by the 743 // Following message is used to communicate the values received by the
743 // callback binding the JS to Cpp. 744 // callback binding the JS to Cpp.
744 // An instance of browser that has an automation host listening to it can 745 // An instance of browser that has an automation host listening to it can
745 // have a javascript send a native value (string, number, boolean) to the 746 // have a javascript send a native value (string, number, boolean) to the
746 // listener in Cpp. (DomAutomationController) 747 // listener in Cpp. (DomAutomationController)
747 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, 748 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse,
748 std::string /* json_string */, 749 std::string /* json_string */,
749 int /* automation_id */) 750 int /* automation_id */)
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 // beforeunload or unload handler. 1059 // beforeunload or unload handler.
1059 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged, 1060 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged,
1060 bool /* has_listener */) 1061 bool /* has_listener */)
1061 1062
1062 // Returns the window location of the window this widget is embeded in. 1063 // Returns the window location of the window this widget is embeded in.
1063 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect, 1064 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect,
1064 HWND /* window */, 1065 HWND /* window */,
1065 gfx::Rect /* Out: Window location */) 1066 gfx::Rect /* Out: Window location */)
1066 1067
1067 IPC_END_MESSAGES(ViewHost) 1068 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698