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

Unified Diff: ui/views/corewm/activation_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/activation_change_shim.h ('k') | ui/views/corewm/focus_change_shim.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/activation_change_shim.cc
diff --git a/ui/views/corewm/activation_change_shim.cc b/ui/views/corewm/activation_change_shim.cc
index 6184606055900ee00531584cd5e6b77e98d90d5f..f1822914beee493c5fd390baf9bf9cc99ff0d34c 100644
--- a/ui/views/corewm/activation_change_shim.cc
+++ b/ui/views/corewm/activation_change_shim.cc
@@ -34,14 +34,14 @@ void ActivationChangeShim::OnWindowActivated(aura::Window* active,
aura::Window* old_active) {
}
-ui::EventResult ActivationChangeShim::OnEvent(ui::Event* event) {
+void ActivationChangeShim::OnEvent(ui::Event* event) {
if (event->type() == FocusChangeEvent::activation_changed_event_type()) {
DCHECK(UseFocusController());
FocusChangeEvent* fce = static_cast<FocusChangeEvent*>(event);
OnWindowActivated(static_cast<aura::Window*>(event->target()),
static_cast<aura::Window*>(fce->last_focus()));
}
- return EventHandler::OnEvent(event);
+ EventHandler::OnEvent(event);
}
} // namespace corewm
« no previous file with comments | « ui/views/corewm/activation_change_shim.h ('k') | ui/views/corewm/focus_change_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698