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

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

Issue 6274: Greasemonkey support. (Closed)
Patch Set: Created 12 years, 2 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
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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // 198 //
199 // Example: /html/body/iframe/\n/html/body/div/iframe/\n/frameset/frame[0] 199 // Example: /html/body/iframe/\n/html/body/div/iframe/\n/frameset/frame[0]
200 // can be broken into 3 xpaths 200 // can be broken into 3 xpaths
201 // /html/body/iframe evaluates to an iframe within the root frame 201 // /html/body/iframe evaluates to an iframe within the root frame
202 // /html/body/div/iframe evaluates to an iframe within the level-1 iframe 202 // /html/body/div/iframe evaluates to an iframe within the level-1 iframe
203 // /frameset/frame[0] evaluates to first frame within the level-2 iframe 203 // /frameset/frame[0] evaluates to first frame within the level-2 iframe
204 // 204 //
205 // jscript_url is the string containing the javascript: url to be executed 205 // jscript_url is the string containing the javascript: url to be executed
206 // in the target frame's context. The string should start with "javascript:" 206 // in the target frame's context. The string should start with "javascript:"
207 // and continue with a valid JS text. 207 // and continue with a valid JS text.
208 IPC_MESSAGE_ROUTED2(ViewMsg_ScriptEvalRequest, 208 IPC_MESSAGE_ROUTED3(ViewMsg_ScriptEvalRequest,
209 std::wstring, /* frame_xpath */ 209 std::wstring, /* frame_xpath */
210 std::wstring /* jscript_url */) 210 std::wstring, /* jscript_url */
211 std::wstring /* script filename (for error messages) */)
211 212
212 // Log a message to the console of the target frame 213 // Log a message to the console of the target frame
213 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, 214 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole,
214 std::wstring, /* frame_xpath */ 215 std::wstring, /* frame_xpath */
215 std::wstring, /* msg */ 216 std::wstring, /* msg */
216 ConsoleMessageLevel /* level */) 217 ConsoleMessageLevel /* level */)
217 218
218 // Initialize the V8 debugger in the renderer. 219 // Initialize the V8 debugger in the renderer.
219 IPC_MESSAGE_ROUTED0(ViewMsg_DebugAttach) 220 IPC_MESSAGE_ROUTED0(ViewMsg_DebugAttach)
220 221
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 // beforeunload or unload handler. 1048 // beforeunload or unload handler.
1048 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged, 1049 IPC_MESSAGE_ROUTED1(ViewHostMsg_UnloadListenerChanged,
1049 bool /* has_listener */) 1050 bool /* has_listener */)
1050 1051
1051 // Returns the window location of the window this widget is embeded in. 1052 // Returns the window location of the window this widget is embeded in.
1052 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect, 1053 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowRect,
1053 HWND /* window */, 1054 HWND /* window */,
1054 gfx::Rect /* Out: Window location */) 1055 gfx::Rect /* Out: Window location */)
1055 1056
1056 IPC_END_MESSAGES(ViewHost) 1057 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698