diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 17:59:36 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 17:59:36 +0000 |
commit | aa7e932f4c29e47c1f69afc8781115eaba0185bc (patch) | |
tree | fe227fa5da525f47e46a7c42a506e0a70817190f /chrome/renderer/devtools_agent.h | |
parent | 4f967820e2e2e24b438c230cc781df62ecdc2c89 (diff) | |
download | chromium_src-aa7e932f4c29e47c1f69afc8781115eaba0185bc.zip chromium_src-aa7e932f4c29e47c1f69afc8781115eaba0185bc.tar.gz chromium_src-aa7e932f4c29e47c1f69afc8781115eaba0185bc.tar.bz2 |
DevTools: support cross-navigation instrumentation.
Review URL: http://codereview.chromium.org/343075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_agent.h')
-rw-r--r-- | chrome/renderer/devtools_agent.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/renderer/devtools_agent.h b/chrome/renderer/devtools_agent.h index 2110841..9f52e9e 100644 --- a/chrome/renderer/devtools_agent.h +++ b/chrome/renderer/devtools_agent.h @@ -7,6 +7,7 @@ #include <map> #include <string> +#include <vector> #include "base/basictypes.h" #include "webkit/api/public/WebDevToolsAgentClient.h" @@ -43,18 +44,20 @@ class DevToolsAgent : public WebKit::WebDevToolsAgentClient { const WebKit::WebString& param3); virtual int hostIdentifier(); virtual void forceRepaint(); + virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature, + bool enabled); // Returns agent instance for its host id. static DevToolsAgent* FromHostId(int host_id); - RenderView* render_view() { return view_; } + RenderView* render_view() { return render_view_; } WebKit::WebDevToolsAgent* GetWebAgent(); private: friend class DevToolsAgentFilter; - void OnAttach(); + void OnAttach(const std::vector<std::string>& runtime_features); void OnDetach(); void OnRpcMessage(const std::string& class_name, const std::string& method_name, @@ -67,7 +70,7 @@ class DevToolsAgent : public WebKit::WebDevToolsAgentClient { static std::map<int, DevToolsAgent*> agent_for_routing_id_; int routing_id_; // View routing id that we can access from IO thread. - RenderView* view_; + RenderView* render_view_; DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); }; |