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

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

Issue 1479923002: Enumerate the return value of dispatchEvent so it is clear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma_add
Patch Set: Fix typo Created 4 years, 10 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/events/GestureEvent.h
diff --git a/third_party/WebKit/Source/core/events/GestureEvent.h b/third_party/WebKit/Source/core/events/GestureEvent.h
index 0581cb37d43101c5511141bd39964db15c3f98a0..0f8c06c458f8629668e27e61854557219a39b546 100644
--- a/third_party/WebKit/Source/core/events/GestureEvent.h
+++ b/third_party/WebKit/Source/core/events/GestureEvent.h
@@ -58,8 +58,6 @@ public:
GestureSource source() const { return m_source; }
int resendingPluginId() const { return m_resendingPluginId; }
- PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
-
DECLARE_VIRTUAL_TRACE();
private:
@@ -76,21 +74,6 @@ private:
int m_resendingPluginId;
};
-class GestureEventDispatchMediator final : public EventDispatchMediator {
-public:
- static PassRefPtrWillBeRawPtr<GestureEventDispatchMediator> create(PassRefPtrWillBeRawPtr<GestureEvent> gestureEvent)
- {
- return adoptRefWillBeNoop(new GestureEventDispatchMediator(gestureEvent));
- }
-
-private:
- explicit GestureEventDispatchMediator(PassRefPtrWillBeRawPtr<GestureEvent>);
-
- GestureEvent& event() const;
-
- bool dispatchEvent(EventDispatcher&) const override;
-};
-
DEFINE_EVENT_TYPE_CASTS(GestureEvent);
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/events/FocusEvent.cpp ('k') | third_party/WebKit/Source/core/events/GestureEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698