summaryrefslogtreecommitdiffstats
path: root/ash/wm/app_list_controller.cc
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-20 17:13:08 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-20 17:13:08 +0000
commit2dca2dc97fd303df0c6a1fb11828472ef1c00428 (patch)
tree0c167969ade022b0a6219255feedd0d198bcdede /ash/wm/app_list_controller.cc
parent06ad578f489b38c5f4fc9bc08864f3dc0b3dea4e (diff)
downloadchromium_src-2dca2dc97fd303df0c6a1fb11828472ef1c00428.zip
chromium_src-2dca2dc97fd303df0c6a1fb11828472ef1c00428.tar.gz
chromium_src-2dca2dc97fd303df0c6a1fb11828472ef1c00428.tar.bz2
ui: Add default implementations for EventHandler interface.
This allows getting rid of a whole bunch of noop implementations, and makes it easier to add new event types to be dispatched through the EventDispatcher to EventHandlers. BUG=159632 Review URL: https://codereview.chromium.org/11348145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/app_list_controller.cc')
-rw-r--r--ash/wm/app_list_controller.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index ff50653..965210d 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -246,24 +246,12 @@ void AppListController::UpdateBounds() {
////////////////////////////////////////////////////////////////////////////////
// AppListController, aura::EventFilter implementation:
-ui::EventResult AppListController::OnKeyEvent(ui::KeyEvent* event) {
- return ui::ER_UNHANDLED;
-}
-
ui::EventResult AppListController::OnMouseEvent(ui::MouseEvent* event) {
if (event->type() == ui::ET_MOUSE_PRESSED)
ProcessLocatedEvent(event);
return ui::ER_UNHANDLED;
}
-ui::EventResult AppListController::OnScrollEvent(ui::ScrollEvent* event) {
- return ui::ER_UNHANDLED;
-}
-
-ui::EventResult AppListController::OnTouchEvent(ui::TouchEvent* event) {
- return ui::ER_UNHANDLED;
-}
-
ui::EventResult AppListController::OnGestureEvent(ui::GestureEvent* event) {
if (event->type() == ui::ET_GESTURE_TAP)
ProcessLocatedEvent(event);