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

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

Issue 518013: Merge 32634 - Make executeScript and insertCSS inject code into all frames.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 10 years, 12 months 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/extensions/api/extension_api.json ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 728
729 // Tell the renderer which browser window it's being attached to. 729 // Tell the renderer which browser window it's being attached to.
730 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, 730 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId,
731 int /* id of browser window */) 731 int /* id of browser window */)
732 732
733 // Tell the renderer which type this view is. 733 // Tell the renderer which type this view is.
734 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType, 734 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType,
735 ViewType::Type /* view_type */) 735 ViewType::Type /* view_type */)
736 736
737 // Notification that renderer should run some JavaScript code. 737 // Notification that renderer should run some JavaScript code.
738 IPC_MESSAGE_ROUTED4(ViewMsg_ExecuteCode, 738 IPC_MESSAGE_ROUTED5(ViewMsg_ExecuteCode,
739 int, /* request id */ 739 int, /* request id */
740 std::string, /* id of extension which runs the scripts */ 740 std::string, /* id of extension which runs the scripts */
741 bool, /* It's true if the code is JavaScript; Otherwise 741 bool, /* It's true if the code is JavaScript; Otherwise
742 the code is CSS text. */ 742 the code is CSS text. */
743 std::string /* code would be executed */) 743 std::string, /* code would be executed */
744 bool /* It's true if the code would be injected into all
745 frames; Otherwise the code is only injected into
746 top main frame */)
744 747
745 // Returns a file handle 748 // Returns a file handle
746 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse, 749 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse,
747 int32 /* the ID of the message we're replying to */, 750 int32 /* the ID of the message we're replying to */,
748 ViewMsg_DatabaseOpenFileResponse_Params) 751 ViewMsg_DatabaseOpenFileResponse_Params)
749 752
750 // Returns a SQLite error code 753 // Returns a SQLite error code
751 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseDeleteFileResponse, 754 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseDeleteFileResponse,
752 int32 /* the ID of the message we're replying to */, 755 int32 /* the ID of the message we're replying to */,
753 int /* SQLite error code */) 756 int /* SQLite error code */)
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
2005 2008
2006 // Asks the browser process to generate a keypair for grabbing a client 2009 // Asks the browser process to generate a keypair for grabbing a client
2007 // certificate from a CA (<keygen> tag), and returns the signed public 2010 // certificate from a CA (<keygen> tag), and returns the signed public
2008 // key and challenge string. 2011 // key and challenge string.
2009 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, 2012 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen,
2010 uint32 /* key size index */, 2013 uint32 /* key size index */,
2011 std::string /* challenge string */, 2014 std::string /* challenge string */,
2012 GURL /* URL of requestor */, 2015 GURL /* URL of requestor */,
2013 std::string /* signed public key and challenge */) 2016 std::string /* signed public key and challenge */)
2014 IPC_END_MESSAGES(ViewHost) 2017 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698