diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-11 09:36:59 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-11 09:36:59 +0000 |
commit | 386c889899593445683c2013ba3894f310995a91 (patch) | |
tree | 5e547155af2ccdb0d68463e3e96b32719b9aea67 /webkit/glue/webdevtoolsagent_impl.cc | |
parent | 58499794f61c470e89dac754b085e3e0403d2cda (diff) | |
download | chromium_src-386c889899593445683c2013ba3894f310995a91.zip chromium_src-386c889899593445683c2013ba3894f310995a91.tar.gz chromium_src-386c889899593445683c2013ba3894f310995a91.tar.bz2 |
DevTools: Keep Resources panel enabled status upon frame navigate.
Review URL: http://codereview.chromium.org/118508
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18153 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r-- | webkit/glue/webdevtoolsagent_impl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc index 592db96..f617220 100644 --- a/webkit/glue/webdevtoolsagent_impl.cc +++ b/webkit/glue/webdevtoolsagent_impl.cc @@ -151,6 +151,10 @@ void WebDevToolsAgentImpl::DidCommitLoadForFrame( tools_agent_delegate_stub_->FrameNavigate( url.possibly_invalid_spec(), webview->GetMainFrame() == frame); + InspectorController* ic = webview->page()->inspectorController(); + // Unhide resources panel if necessary. + tools_agent_delegate_stub_->SetResourcesPanelEnabled( + ic->resourceTrackingEnabled()); } void WebDevToolsAgentImpl::WindowObjectCleared(WebFrameImpl* webframe) { |