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

Unified Diff: ash/launcher/launcher_view.cc

Issue 10912063: events: Get rid of GestureStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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
« no previous file with comments | « ash/launcher/launcher_view.h ('k') | ash/magnifier/magnification_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view.cc
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc
index 4c87029df6e96ca9da55dea069b9d1f55f0911a0..7141bf95d91985d2fa3c1994b8c5b7922b27fdfb 100644
--- a/ash/launcher/launcher_view.cc
+++ b/ash/launcher/launcher_view.cc
@@ -748,9 +748,9 @@ gfx::Size LauncherView::GetPreferredSize() {
last_button_bounds.bottom() + leading_inset());
}
-ui::GestureStatus LauncherView::OnGestureEvent(const ui::GestureEvent& event) {
+ui::EventResult LauncherView::OnGestureEvent(const ui::GestureEvent& event) {
return gesture_handler_.ProcessGestureEvent(event) ?
- ui::GESTURE_STATUS_CONSUMED : ui::GESTURE_STATUS_UNKNOWN;
+ ui::ER_CONSUMED : ui::ER_UNHANDLED;
}
void LauncherView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
« no previous file with comments | « ash/launcher/launcher_view.h ('k') | ash/magnifier/magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698