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

Side by Side Diff: chrome/browser/render_view_host.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 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 const gfx::Point& screen_pt); 213 const gfx::Point& screen_pt);
214 void DragTargetDragLeave(); 214 void DragTargetDragLeave();
215 void DragTargetDrop(const gfx::Point& client_pt, 215 void DragTargetDrop(const gfx::Point& client_pt,
216 const gfx::Point& screen_pt); 216 const gfx::Point& screen_pt);
217 217
218 // Tell the RenderView to reserve a range of page ids of the given size. 218 // Tell the RenderView to reserve a range of page ids of the given size.
219 void ReservePageIDRange(int size); 219 void ReservePageIDRange(int size);
220 220
221 // Runs some javascript within the context of a frame in the page. 221 // Runs some javascript within the context of a frame in the page.
222 void ExecuteJavascriptInWebFrame(const std::wstring& frame_xpath, 222 void ExecuteJavascriptInWebFrame(const std::wstring& frame_xpath,
223 const std::wstring& jscript); 223 const std::wstring& jscript,
224 const std::wstring& source_url);
224 225
225 // Logs a message to the console of a frame in the page. 226 // Logs a message to the console of a frame in the page.
226 void AddMessageToConsole(const std::wstring& frame_xpath, 227 void AddMessageToConsole(const std::wstring& frame_xpath,
227 const std::wstring& msg, 228 const std::wstring& msg,
228 ConsoleMessageLevel level); 229 ConsoleMessageLevel level);
229 230
230 // Send command to the debugger 231 // Send command to the debugger
231 void DebugCommand(const std::wstring& cmd); 232 void DebugCommand(const std::wstring& cmd);
232 233
233 // Attach to the V8 instance for debugging 234 // Attach to the V8 instance for debugging
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 576
576 virtual RenderViewHost* CreateRenderViewHost( 577 virtual RenderViewHost* CreateRenderViewHost(
577 SiteInstance* instance, 578 SiteInstance* instance,
578 RenderViewHostDelegate* delegate, 579 RenderViewHostDelegate* delegate,
579 int routing_id, 580 int routing_id,
580 HANDLE modal_dialog_event) = 0; 581 HANDLE modal_dialog_event) = 0;
581 }; 582 };
582 583
583 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ 584 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__
584 585
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698