Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
index e83ce52dd52c717bdfa0d2e5fa2cca51a6cdfdfe..1878a4384b20b9500a039c1f7f717346b5f844c4 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
@@ -93,6 +93,7 @@ public: |
bool installCommandLineAPI(); |
bool installRemoteObjectAPI(const String16& objectGroupName); |
void ignoreExceptionsAndMuteConsole(); |
+ void pretendUserGesture(); |
v8::Local<v8::Context> context() const { return m_context; } |
InjectedScript* injectedScript() const { return m_injectedScript; } |
const v8::TryCatch& tryCatch() const { return m_tryCatch; } |
@@ -119,6 +120,7 @@ public: |
v8::MaybeLocal<v8::Object> m_global; |
bool m_ignoreExceptionsAndMuteConsole; |
V8DebuggerImpl::PauseOnExceptionsState m_previousPauseOnExceptionsState; |
+ bool m_userGesture; |
}; |
class ContextScope: public Scope { |