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

Unified Diff: webkit/glue/webdevtoolsagent_impl.cc

Issue 178053: DevTools: Close inspector controller on detach; hide node highlight on detach... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « webkit/glue/devtools/js/inspector_controller_impl.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsagent_impl.cc
===================================================================
--- webkit/glue/webdevtoolsagent_impl.cc (revision 25017)
+++ webkit/glue/webdevtoolsagent_impl.cc (working copy)
@@ -101,7 +101,8 @@
void WebDevToolsAgentImpl::Detach() {
// Prevent controller from sending messages to the frontend.
InspectorController* ic = web_view_impl_->page()->inspectorController();
- ic->setWindowVisible(false, false);
+ ic->hideHighlight();
+ ic->close();
DisposeUtilityContext();
inspector_frontend_script_state_.clear();
devtools_agent_host_.set(NULL);
« no previous file with comments | « webkit/glue/devtools/js/inspector_controller_impl.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698