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

Unified Diff: Source/core/animation/Animation.h

Issue 1241613004: Rework dispatchEvent so it is consistent for isTrusted support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | Source/core/animation/Animation.cpp » ('j') | Source/core/dom/Node.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Animation.h
diff --git a/Source/core/animation/Animation.h b/Source/core/animation/Animation.h
index 88335cd477fda3e66804440c2f12fb715867b156..41f7df08031f897f2daba0f4b73f3e14869d1bc6 100644
--- a/Source/core/animation/Animation.h
+++ b/Source/core/animation/Animation.h
@@ -114,7 +114,6 @@ public:
ExecutionContext* executionContext() const override;
bool hasPendingActivity() const override;
void stop() override;
- bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override;
double playbackRate() const;
void setPlaybackRate(double);
@@ -181,6 +180,9 @@ public:
DECLARE_VIRTUAL_TRACE();
+protected:
+ bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+
private:
Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*);
« no previous file with comments | « no previous file | Source/core/animation/Animation.cpp » ('j') | Source/core/dom/Node.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698