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

Unified Diff: third_party/WebKit/Source/core/events/FocusEvent.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: Add back the EventDispatchResult enum 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/FocusEvent.h
diff --git a/third_party/WebKit/Source/core/events/FocusEvent.h b/third_party/WebKit/Source/core/events/FocusEvent.h
index f85bd94547f849a06acca9abc01567f52eeb147f..b929c653ca481b9830af6cfa53fa2532bf7d2eaf 100644
--- a/third_party/WebKit/Source/core/events/FocusEvent.h
+++ b/third_party/WebKit/Source/core/events/FocusEvent.h
@@ -76,7 +76,7 @@ public:
private:
explicit FocusEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent>);
FocusEvent& event() const { return static_cast<FocusEvent&>(EventDispatchMediator::event()); }
- bool dispatchEvent(EventDispatcher&) const override;
+ EventTarget::DispatchEventResult dispatchEvent(EventDispatcher&) const override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698