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

Unified Diff: third_party/WebKit/Source/core/events/KeyboardEvent.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/KeyboardEvent.h
diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.h b/third_party/WebKit/Source/core/events/KeyboardEvent.h
index 6165c23382661acc3a8f4a3a5f0df7fae285ddf8..56541514f1844ddfab2b1fc147d08598aae349cf 100644
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.h
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.h
@@ -25,7 +25,6 @@
#define KeyboardEvent_h
#include "core/CoreExport.h"
-#include "core/events/EventDispatchMediator.h"
#include "core/events/KeyboardEventInit.h"
#include "core/events/UIEventWithKeyState.h"
@@ -86,8 +85,6 @@ public:
bool isKeyboardEvent() const override;
int which() const override;
- PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
-
DECLARE_VIRTUAL_TRACE();
private:
@@ -107,14 +104,6 @@ private:
unsigned m_location;
};
-class KeyboardEventDispatchMediator : public EventDispatchMediator {
-public:
- static PassRefPtrWillBeRawPtr<KeyboardEventDispatchMediator> create(PassRefPtrWillBeRawPtr<KeyboardEvent>);
-private:
- explicit KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent>);
- bool dispatchEvent(EventDispatcher&) const override;
-};
-
DEFINE_EVENT_TYPE_CASTS(KeyboardEvent);
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/events/InputEvent.cpp ('k') | third_party/WebKit/Source/core/events/KeyboardEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698