diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 18:51:34 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 18:51:34 +0000 |
commit | 611cad45a3bc67189d273eaba0171b96f7bdbd97 (patch) | |
tree | 3fc4655ab572b37310dc43c53a510affd430496d /webkit/glue/webframeloaderclient_impl.h | |
parent | 12e0eed769a220d8ff490f092a7235af6f68270e (diff) | |
download | chromium_src-611cad45a3bc67189d273eaba0171b96f7bdbd97.zip chromium_src-611cad45a3bc67189d273eaba0171b96f7bdbd97.tar.gz chromium_src-611cad45a3bc67189d273eaba0171b96f7bdbd97.tar.bz2 |
Wire DevTools agent in the Glue to the Renderer DevTools IPC transport: DevToolsAgent now implements WebDevToolsAgentDelegate, DevToolsClient covers WebDevToolsClientDelegate.
WebDevToolsAgent instance is being created by the WebView early in the init code and belongs to it. WebView exposes interface for accessing the agent; it also extends its delegate interface to pass WebDevToolsAgentDelegate into it.
Note that there is no call overhead unless particular sub-agents are enabled in the WebDevToolsAgent.
WebDevToolsClient instance is being created externally by the DevToolsClient.
Review URL: http://codereview.chromium.org/46032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframeloaderclient_impl.h')
-rw-r--r-- | webkit/glue/webframeloaderclient_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webframeloaderclient_impl.h b/webkit/glue/webframeloaderclient_impl.h index 4281d2f..b322f10 100644 --- a/webkit/glue/webframeloaderclient_impl.h +++ b/webkit/glue/webframeloaderclient_impl.h @@ -25,6 +25,7 @@ class Widget; } class Alt404PageResourceFetcher; +class NetAgentImpl; class WebFrameImpl; class WebPluginContainer; @@ -216,6 +217,9 @@ class WebFrameLoaderClient : public WebCore::FrameLoaderClient { // otherwise returns NavigationGestureUnknown. NavigationGesture NavigationGestureForLastLoad(); + // Returns NetAgent instance if network tracking is enabled. + NetAgentImpl* GetNetAgentImpl(); + // The WebFrame that owns this object and manages its lifetime. Therefore, // the web frame object is guaranteed to exist. WebFrameImpl* webframe_; |