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

Unified Diff: ui/views/corewm/focus_change_shim.cc

Issue 11308322: events: Start changing EventHandler interface to not return a value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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 | « ui/views/corewm/focus_change_shim.h ('k') | ui/views/corewm/focus_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/focus_change_shim.cc
diff --git a/ui/views/corewm/focus_change_shim.cc b/ui/views/corewm/focus_change_shim.cc
index 4e0f6a48124373689a0458ddc35a946361f4ee79..0ad107055f13cc99f62d14e8738a24f63d4ab0fe 100644
--- a/ui/views/corewm/focus_change_shim.cc
+++ b/ui/views/corewm/focus_change_shim.cc
@@ -33,12 +33,12 @@ FocusChangeShim::~FocusChangeShim() {
void FocusChangeShim::OnWindowFocused(aura::Window* window) {
}
-ui::EventResult FocusChangeShim::OnEvent(ui::Event* event) {
+void FocusChangeShim::OnEvent(ui::Event* event) {
if (event->type() == FocusChangeEvent::focus_changed_event_type()) {
DCHECK(UseFocusController());
OnWindowFocused(static_cast<aura::Window*>(event->target()));
}
- return EventHandler::OnEvent(event);
+ EventHandler::OnEvent(event);
}
} // namespace corewm
« no previous file with comments | « ui/views/corewm/focus_change_shim.h ('k') | ui/views/corewm/focus_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698