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

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

Issue 401007: Make executeScript and insertCSS inject code into all frames. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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
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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 729
730 // Tell the renderer which browser window it's being attached to. 730 // Tell the renderer which browser window it's being attached to.
731 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, 731 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId,
732 int /* id of browser window */) 732 int /* id of browser window */)
733 733
734 // Tell the renderer which type this view is. 734 // Tell the renderer which type this view is.
735 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType, 735 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType,
736 ViewType::Type /* view_type */) 736 ViewType::Type /* view_type */)
737 737
738 // Notification that renderer should run some JavaScript code. 738 // Notification that renderer should run some JavaScript code.
739 IPC_MESSAGE_ROUTED4(ViewMsg_ExecuteCode, 739 IPC_MESSAGE_ROUTED5(ViewMsg_ExecuteCode,
740 int, /* request id */ 740 int, /* request id */
741 std::string, /* id of extension which runs the scripts */ 741 std::string, /* id of extension which runs the scripts */
742 bool, /* It's true if the code is JavaScript; Otherwise 742 bool, /* It's true if the code is JavaScript; Otherwise
743 the code is CSS text. */ 743 the code is CSS text. */
744 std::string /* code would be executed */) 744 std::string, /* code would be executed */
745 bool /* It's true if the code would be injected into all
746 frames; Otherwise the code is only injected into
747 top main frame */)
745 748
746 // Returns a file handle 749 // Returns a file handle
747 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse, 750 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse,
748 int32 /* the ID of the message we're replying to */, 751 int32 /* the ID of the message we're replying to */,
749 ViewMsg_DatabaseOpenFileResponse_Params) 752 ViewMsg_DatabaseOpenFileResponse_Params)
750 753
751 // Returns a SQLite error code 754 // Returns a SQLite error code
752 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseDeleteFileResponse, 755 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseDeleteFileResponse,
753 int32 /* the ID of the message we're replying to */, 756 int32 /* the ID of the message we're replying to */,
754 int /* SQLite error code */) 757 int /* SQLite error code */)
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 std::string /* signed public key and challenge */) 2038 std::string /* signed public key and challenge */)
2036 2039
2037 #if defined(SPELLCHECKER_IN_RENDERER) 2040 #if defined(SPELLCHECKER_IN_RENDERER)
2038 // The renderer has tried to spell check a word, but couldn't because no 2041 // The renderer has tried to spell check a word, but couldn't because no
2039 // dictionary was available to load. Request that the browser find an 2042 // dictionary was available to load. Request that the browser find an
2040 // appropriate dictionary and return it. 2043 // appropriate dictionary and return it.
2041 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) 2044 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary)
2042 #endif 2045 #endif
2043 2046
2044 IPC_END_MESSAGES(ViewHost) 2047 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698