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

Unified Diff: third_party/WebKit/Source/core/events/Event.h

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more Created 3 years, 11 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 | « third_party/WebKit/Source/core/dom/Document.idl ('k') | third_party/WebKit/Source/core/events/Event.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index d85ac87f7b0552fdaace6da1b95e6fbfb5b5cf22..a2b55cce677f5d20f2d627a662b5d9d9b876b3ce 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -40,7 +40,7 @@ namespace blink {
class DOMWrapperWorld;
class EventDispatchMediator;
class EventTarget;
-class ExecutionContext;
+class ScriptState;
class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
public ScriptWrappable {
@@ -154,8 +154,8 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
return target();
} // MSIE extension - "the object that fired the event"
- bool legacyReturnValue(ExecutionContext*) const;
- void setLegacyReturnValue(ExecutionContext*, bool returnValue);
+ bool legacyReturnValue(ScriptState*) const;
+ void setLegacyReturnValue(ScriptState*, bool returnValue);
virtual const AtomicString& interfaceName() const;
bool hasInterface(const AtomicString&) const;
@@ -198,10 +198,10 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
bool defaultHandled() const { return m_defaultHandled; }
void setDefaultHandled() { m_defaultHandled = true; }
- bool cancelBubble(ExecutionContext* = nullptr) const {
+ bool cancelBubble(ScriptState* = nullptr) const {
return propagationStopped();
}
- void setCancelBubble(ExecutionContext*, bool);
+ void setCancelBubble(ScriptState*, bool);
Event* underlyingEvent() const { return m_underlyingEvent.get(); }
void setUnderlyingEvent(Event*);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.idl ('k') | third_party/WebKit/Source/core/events/Event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698