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

Unified Diff: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp

Issue 1933573002: [DevTools] Remove last bits of logic from v8 agent wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1913283003
Patch Set: rebased, fixed uninitialized variable Created 4 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
Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
index aa84f87d34f2dc1b1180a633982d3834c386c540..8fe56377c6b6d7e0720c8df7af2a77c0d124001d 100644
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
@@ -61,6 +61,16 @@ void ThreadDebugger::idleFinished(v8::Isolate* isolate)
data->threadDebugger()->debugger()->idleFinished();
}
+void ThreadDebugger::beginUserGesture()
+{
+ m_userGestureIndicator = adoptPtr(new UserGestureIndicator(DefinitelyProcessingNewUserGesture));
+}
+
+void ThreadDebugger::endUserGesture()
+{
+ m_userGestureIndicator.clear();
+}
+
void ThreadDebugger::eventListeners(v8::Local<v8::Value> value, V8EventListenerInfoList& result)
{
InspectorDOMDebuggerAgent::eventListenersInfoForTarget(m_isolate, value, result);

Powered by Google App Engine
This is Rietveld 408576698