Index: ash/tooltips/tooltip_controller.cc |
=================================================================== |
--- ash/tooltips/tooltip_controller.cc (revision 150582) |
+++ ash/tooltips/tooltip_controller.cc (working copy) |
@@ -15,9 +15,9 @@ |
#include "base/time.h" |
#include "ui/aura/client/drag_drop_client.h" |
#include "ui/aura/env.h" |
-#include "ui/aura/event.h" |
#include "ui/aura/root_window.h" |
#include "ui/aura/window.h" |
+#include "ui/base/event.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/text/text_elider.h" |
#include "ui/gfx/font.h" |
@@ -238,7 +238,7 @@ |
} |
bool TooltipController::PreHandleKeyEvent(aura::Window* target, |
- aura::KeyEvent* event) { |
+ ui::KeyEvent* event) { |
// On key press, we want to hide the tooltip and not show it until change. |
// This is the same behavior as hiding tooltips on timeout. Hence, we can |
// simply simulate a timeout. |
@@ -250,7 +250,7 @@ |
} |
bool TooltipController::PreHandleMouseEvent(aura::Window* target, |
- aura::MouseEvent* event) { |
+ ui::MouseEvent* event) { |
switch (event->type()) { |
case ui::ET_MOUSE_MOVED: |
case ui::ET_MOUSE_DRAGGED: |
@@ -295,7 +295,7 @@ |
ui::TouchStatus TooltipController::PreHandleTouchEvent( |
aura::Window* target, |
- aura::TouchEvent* event) { |
+ ui::TouchEventImpl* event) { |
// TODO(varunjain): need to properly implement tooltips for |
// touch events. |
// Hide the tooltip for touch events. |
@@ -309,7 +309,7 @@ |
ui::GestureStatus TooltipController::PreHandleGestureEvent( |
aura::Window* target, |
- aura::GestureEvent* event) { |
+ ui::GestureEventImpl* event) { |
return ui::GESTURE_STATUS_UNKNOWN; |
} |