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

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

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.h
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
index c123a83cdfc67a1f7aa362fb6d308ba96be023d6..74ea04fe248aa09b4cbb741a1764a7d8bcb5afde 100644
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "platform/Timer.h"
+#include "platform/UserGestureIndicator.h"
#include "platform/v8_inspector/public/V8Debugger.h"
#include "platform/v8_inspector/public/V8DebuggerClient.h"
#include "wtf/Forward.h"
@@ -31,6 +32,8 @@ public:
static void idleFinished(v8::Isolate*);
// V8DebuggerClient implementation.
+ void beginUserGesture() override;
+ void endUserGesture() override;
void eventListeners(v8::Local<v8::Value>, V8EventListenerInfoList&) override;
String16 valueSubtype(v8::Local<v8::Value>) override;
bool formatAccessorsAsProperties(v8::Local<v8::Value>) override;
@@ -55,6 +58,7 @@ protected:
HashMap<int, OwnPtr<Timer<ThreadDebugger>>> m_timers;
HashMap<Timer<ThreadDebugger>*, OwnPtr<V8DebuggerClient::TimerCallback>> m_timerCallbacks;
int m_lastTimerId;
+ OwnPtr<UserGestureIndicator> m_userGestureIndicator;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698