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

Unified Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 286263002: [DevTools] Notify embedder about pausing/resuming in debugger. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 6 years, 7 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 | « Source/web/WebDevToolsAgentImpl.h ('k') | public/web/WebDevToolsAgentClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDevToolsAgentImpl.cpp
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
index bd349235e2251d93843f49793eed8a45e88cbc4d..83c2b9c78992e2bd5213d44cdf212be3483046f7 100644
--- a/Source/web/WebDevToolsAgentImpl.cpp
+++ b/Source/web/WebDevToolsAgentImpl.cpp
@@ -136,6 +136,8 @@ private:
views.append(view);
view->setIgnoreInputEvents(true);
}
+ // Notify embedder about pausing.
+ agent->client()->willEnterDebugLoop();
// 2. Disable active objects
WebView::willEnterModalLoop();
@@ -153,6 +155,7 @@ private:
(*it)->setIgnoreInputEvents(false);
}
}
+ agent->client()->didExitDebugLoop();
// 6. All views have been resumed, clear the set.
m_frozenViews.clear();
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.h ('k') | public/web/WebDevToolsAgentClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698