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

Unified Diff: chrome/renderer/render_view.h

Issue 21543: Add developer tools message handling to renderer (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/dev_tools_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 10454)
+++ chrome/renderer/render_view.h (working copy)
@@ -44,6 +44,8 @@
class AudioRendererImpl;
class DictionaryValue;
class DebugMessageHandler;
+class DevToolsAgent;
+class DevToolsClient;
class FilePath;
class GlueAccessibility;
class GURL;
@@ -460,6 +462,7 @@
void OnCopyImageAt(int x, int y);
void OnInspectElement(int x, int y);
void OnShowJavaScriptConsole();
+ void OnSetupDevToolsClient();
void OnCancelDownload(int32 download_id);
void OnFind(const FindInPageRequest& request);
void OnZoom(int function);
@@ -590,6 +593,10 @@
// information to the browser process.
void BindDOMAutomationController(WebFrame* webframe);
+ // Creates DevToolsClient and sets up JavaScript bindings for developer tools
+ // UI that is going to be hosted by this RenderView.
+ void CreateDevToolsClient();
+
void set_opened_by_user_gesture(bool value) {
opened_by_user_gesture_ = value;
}
@@ -732,6 +739,13 @@
scoped_refptr<DebugMessageHandler> debug_message_handler_;
+ // Provides access to this renderer from the remote Inspector UI.
+ scoped_refptr<DevToolsAgent> dev_tools_agent_;
+
+ // DevToolsClient for renderer hosting developer tools UI. It's NULL for other
+ // render views.
+ scoped_ptr<DevToolsClient> dev_tools_client_;
+
scoped_ptr<WebFileChooserCallback> file_chooser_;
int history_back_list_count_;
« no previous file with comments | « chrome/renderer/dev_tools_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698