summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 22:28:04 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 22:28:04 +0000
commit8ca8d24697eb99d14cab7028ad3b7c152dde7d56 (patch)
tree52ed61ac468fe094769ef78b3813af0fd51ab5bd /ash
parent2a848e0e4d75cd9195d15ff955014397482f9faa (diff)
downloadchromium_src-8ca8d24697eb99d14cab7028ad3b7c152dde7d56.zip
chromium_src-8ca8d24697eb99d14cab7028ad3b7c152dde7d56.tar.gz
chromium_src-8ca8d24697eb99d14cab7028ad3b7c152dde7d56.tar.bz2
Remove TouchEvent interface, and rename TouchEventImpl to TouchEvent.
BUG=125937 Review URL: https://chromiumcodereview.appspot.com/10831240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r--ash/accelerators/accelerator_filter.cc2
-rw-r--r--ash/accelerators/accelerator_filter.h2
-rw-r--r--ash/display/mouse_cursor_event_filter.cc2
-rw-r--r--ash/display/mouse_cursor_event_filter.h2
-rw-r--r--ash/drag_drop/drag_drop_controller.cc2
-rw-r--r--ash/drag_drop/drag_drop_controller.h2
-rw-r--r--ash/launcher/launcher_tooltip_manager.cc2
-rw-r--r--ash/launcher/launcher_tooltip_manager.h2
-rw-r--r--ash/launcher/launcher_tooltip_manager_unittest.cc2
-rw-r--r--ash/magnifier/magnification_controller.cc4
-rw-r--r--ash/system/tray/tray_bubble_view.cc2
-rw-r--r--ash/system/tray/tray_bubble_view.h2
-rw-r--r--ash/tooltips/tooltip_controller.cc2
-rw-r--r--ash/tooltips/tooltip_controller.h2
-rw-r--r--ash/touch/touch_observer_hud.cc2
-rw-r--r--ash/touch/touch_observer_hud.h2
-rw-r--r--ash/touch/touch_uma.cc2
-rw-r--r--ash/touch/touch_uma.h2
-rw-r--r--ash/wm/app_list_controller.cc2
-rw-r--r--ash/wm/app_list_controller.h2
-rw-r--r--ash/wm/event_rewriter_event_filter.cc2
-rw-r--r--ash/wm/event_rewriter_event_filter.h2
-rw-r--r--ash/wm/overlay_event_filter.cc2
-rw-r--r--ash/wm/overlay_event_filter.h2
-rw-r--r--ash/wm/panel_window_event_filter.cc2
-rw-r--r--ash/wm/panel_window_event_filter.h2
-rw-r--r--ash/wm/shelf_layout_manager.cc4
-rw-r--r--ash/wm/system_gesture_event_filter.cc2
-rw-r--r--ash/wm/system_gesture_event_filter.h2
-rw-r--r--ash/wm/system_gesture_event_filter_unittest.cc12
-rw-r--r--ash/wm/system_modal_container_event_filter.cc2
-rw-r--r--ash/wm/system_modal_container_event_filter.h2
-rw-r--r--ash/wm/toplevel_window_event_filter.cc2
-rw-r--r--ash/wm/toplevel_window_event_filter.h2
-rw-r--r--ash/wm/user_activity_detector.cc2
-rw-r--r--ash/wm/user_activity_detector.h2
-rw-r--r--ash/wm/user_activity_detector_unittest.cc2
-rw-r--r--ash/wm/window_cycle_controller.cc4
-rw-r--r--ash/wm/window_manager_unittest.cc10
-rw-r--r--ash/wm/window_modality_controller.cc2
-rw-r--r--ash/wm/window_modality_controller.h2
-rw-r--r--ash/wm/window_modality_controller_unittest.cc2
-rw-r--r--ash/wm/workspace/frame_maximize_button.cc4
43 files changed, 56 insertions, 56 deletions
diff --git a/ash/accelerators/accelerator_filter.cc b/ash/accelerators/accelerator_filter.cc
index ffb2c78..652ed6d 100644
--- a/ash/accelerators/accelerator_filter.cc
+++ b/ash/accelerators/accelerator_filter.cc
@@ -85,7 +85,7 @@ bool AcceleratorFilter::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus AcceleratorFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/accelerators/accelerator_filter.h b/ash/accelerators/accelerator_filter.h
index 6d5855d..2d2e5f9 100644
--- a/ash/accelerators/accelerator_filter.h
+++ b/ash/accelerators/accelerator_filter.h
@@ -27,7 +27,7 @@ class ASH_EXPORT AcceleratorFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/display/mouse_cursor_event_filter.cc b/ash/display/mouse_cursor_event_filter.cc
index 217fc3a..474119e 100644
--- a/ash/display/mouse_cursor_event_filter.cc
+++ b/ash/display/mouse_cursor_event_filter.cc
@@ -48,7 +48,7 @@ bool MouseCursorEventFilter::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus MouseCursorEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/display/mouse_cursor_event_filter.h b/ash/display/mouse_cursor_event_filter.h
index 3d95843..34df074 100644
--- a/ash/display/mouse_cursor_event_filter.h
+++ b/ash/display/mouse_cursor_event_filter.h
@@ -27,7 +27,7 @@ class ASH_EXPORT MouseCursorEventFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/drag_drop/drag_drop_controller.cc b/ash/drag_drop/drag_drop_controller.cc
index 5657cf2..cd99aeb 100644
--- a/ash/drag_drop/drag_drop_controller.cc
+++ b/ash/drag_drop/drag_drop_controller.cc
@@ -232,7 +232,7 @@ bool DragDropController::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus DragDropController::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
// TODO(sad): Also check for the touch-id.
if (!drag_drop_in_progress_)
return ui::TOUCH_STATUS_UNKNOWN;
diff --git a/ash/drag_drop/drag_drop_controller.h b/ash/drag_drop/drag_drop_controller.h
index f3f0985..e806265 100644
--- a/ash/drag_drop/drag_drop_controller.h
+++ b/ash/drag_drop/drag_drop_controller.h
@@ -65,7 +65,7 @@ class ASH_EXPORT DragDropController
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/launcher/launcher_tooltip_manager.cc b/ash/launcher/launcher_tooltip_manager.cc
index 51b56d0..04f7fbc 100644
--- a/ash/launcher/launcher_tooltip_manager.cc
+++ b/ash/launcher/launcher_tooltip_manager.cc
@@ -332,7 +332,7 @@ bool LauncherTooltipManager::PreHandleMouseEvent(aura::Window* target,
}
ui::TouchStatus LauncherTooltipManager::PreHandleTouchEvent(
- aura::Window* target, ui::TouchEventImpl* event) {
+ aura::Window* target, ui::TouchEvent* event) {
if (widget_ && widget_->IsVisible() && widget_->GetNativeWindow() != target)
Close();
return ui::TOUCH_STATUS_UNKNOWN;
diff --git a/ash/launcher/launcher_tooltip_manager.h b/ash/launcher/launcher_tooltip_manager.h
index 95c9fcf..ed13731 100644
--- a/ash/launcher/launcher_tooltip_manager.h
+++ b/ash/launcher/launcher_tooltip_manager.h
@@ -77,7 +77,7 @@ protected:
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/launcher/launcher_tooltip_manager_unittest.cc b/ash/launcher/launcher_tooltip_manager_unittest.cc
index 391d948..527b4cd 100644
--- a/ash/launcher/launcher_tooltip_manager_unittest.cc
+++ b/ash/launcher/launcher_tooltip_manager_unittest.cc
@@ -146,7 +146,7 @@ TEST_F(LauncherTooltipManagerTest, ShouldHideForEvents) {
EXPECT_TRUE(TooltipIsVisible());
// Should hide for touch events.
- ui::TouchEventImpl touch_event(
+ ui::TouchEvent touch_event(
ui::ET_TOUCH_PRESSED, gfx::Point(), 0, base::TimeDelta());
EXPECT_EQ(ui::TOUCH_STATUS_UNKNOWN,
event_filter->PreHandleTouchEvent(root_window, &touch_event));
diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc
index 22785d3..4a84ef4 100644
--- a/ash/magnifier/magnification_controller.cc
+++ b/ash/magnifier/magnification_controller.cc
@@ -104,7 +104,7 @@ class MagnificationControllerImpl : virtual public MagnificationController,
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
@@ -448,7 +448,7 @@ bool MagnificationControllerImpl::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus MagnificationControllerImpl::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/system/tray/tray_bubble_view.cc b/ash/system/tray/tray_bubble_view.cc
index 7a6fa10..93b6c7e 100644
--- a/ash/system/tray/tray_bubble_view.cc
+++ b/ash/system/tray/tray_bubble_view.cc
@@ -469,7 +469,7 @@ bool TrayBubbleView::Host::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus TrayBubbleView::Host::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
if (event->type() == ui::ET_TOUCH_PRESSED)
ProcessLocatedEvent(*event);
return ui::TOUCH_STATUS_UNKNOWN;
diff --git a/ash/system/tray/tray_bubble_view.h b/ash/system/tray/tray_bubble_view.h
index 5a10f9c..93489ed 100644
--- a/ash/system/tray/tray_bubble_view.h
+++ b/ash/system/tray/tray_bubble_view.h
@@ -53,7 +53,7 @@ class TrayBubbleView : public views::BubbleDelegateView {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/tooltips/tooltip_controller.cc b/ash/tooltips/tooltip_controller.cc
index a73f119..1be88a9 100644
--- a/ash/tooltips/tooltip_controller.cc
+++ b/ash/tooltips/tooltip_controller.cc
@@ -295,7 +295,7 @@ bool TooltipController::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus TooltipController::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
// TODO(varunjain): need to properly implement tooltips for
// touch events.
// Hide the tooltip for touch events.
diff --git a/ash/tooltips/tooltip_controller.h b/ash/tooltips/tooltip_controller.h
index e623701..0c1190b 100644
--- a/ash/tooltips/tooltip_controller.h
+++ b/ash/tooltips/tooltip_controller.h
@@ -48,7 +48,7 @@ class ASH_EXPORT TooltipController : public aura::client::TooltipClient,
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/touch/touch_observer_hud.cc b/ash/touch/touch_observer_hud.cc
index 31d3910..65b75bd 100644
--- a/ash/touch/touch_observer_hud.cc
+++ b/ash/touch/touch_observer_hud.cc
@@ -194,7 +194,7 @@ bool TouchObserverHUD::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus TouchObserverHUD::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
if (event->touch_id() >= kMaxTouchPoints)
return ui::TOUCH_STATUS_UNKNOWN;
diff --git a/ash/touch/touch_observer_hud.h b/ash/touch/touch_observer_hud.h
index cdb2493..c3d56fe 100644
--- a/ash/touch/touch_observer_hud.h
+++ b/ash/touch/touch_observer_hud.h
@@ -41,7 +41,7 @@ class TouchObserverHUD : public aura::EventFilter,
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/touch/touch_uma.cc b/ash/touch/touch_uma.cc
index 3acd93d..ca2a826 100644
--- a/ash/touch/touch_uma.cc
+++ b/ash/touch/touch_uma.cc
@@ -256,7 +256,7 @@ void TouchUMA::RecordGestureEvent(aura::Window* target,
}
void TouchUMA::RecordTouchEvent(aura::Window* target,
- const ui::TouchEventImpl& event) {
+ const ui::TouchEvent& event) {
UMA_HISTOGRAM_CUSTOM_COUNTS("Ash.TouchRadius",
static_cast<int>(std::max(event.radius_x(), event.radius_y())),
1, 500, 100);
diff --git a/ash/touch/touch_uma.h b/ash/touch/touch_uma.h
index 72daed9..457fdd1 100644
--- a/ash/touch/touch_uma.h
+++ b/ash/touch/touch_uma.h
@@ -29,7 +29,7 @@ class TouchUMA {
void RecordGestureEvent(aura::Window* target,
const ui::GestureEventImpl& event);
void RecordTouchEvent(aura::Window* target,
- const ui::TouchEventImpl& event);
+ const ui::TouchEvent& event);
private:
DISALLOW_COPY_AND_ASSIGN(TouchUMA);
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index 19eb91f..4a15e92 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -247,7 +247,7 @@ bool AppListController::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus AppListController::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/wm/app_list_controller.h b/ash/wm/app_list_controller.h
index 32fdb6a..6e67b0b 100644
--- a/ash/wm/app_list_controller.h
+++ b/ash/wm/app_list_controller.h
@@ -80,7 +80,7 @@ class AppListController : public aura::EventFilter,
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/event_rewriter_event_filter.cc b/ash/wm/event_rewriter_event_filter.cc
index acab56c..83a9aef 100644
--- a/ash/wm/event_rewriter_event_filter.cc
+++ b/ash/wm/event_rewriter_event_filter.cc
@@ -59,7 +59,7 @@ bool EventRewriterEventFilter::PreHandleMouseEvent(
}
ui::TouchStatus EventRewriterEventFilter::PreHandleTouchEvent(
- aura::Window* target, ui::TouchEventImpl* event) {
+ aura::Window* target, ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN; // Not handled.
}
diff --git a/ash/wm/event_rewriter_event_filter.h b/ash/wm/event_rewriter_event_filter.h
index 51f5a9c..5a633a5 100644
--- a/ash/wm/event_rewriter_event_filter.h
+++ b/ash/wm/event_rewriter_event_filter.h
@@ -33,7 +33,7 @@ class ASH_EXPORT EventRewriterEventFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/overlay_event_filter.cc b/ash/wm/overlay_event_filter.cc
index f977f3e..a3b2395 100644
--- a/ash/wm/overlay_event_filter.cc
+++ b/ash/wm/overlay_event_filter.cc
@@ -59,7 +59,7 @@ bool OverlayEventFilter::PreHandleMouseEvent(
}
ui::TouchStatus OverlayEventFilter::PreHandleTouchEvent(
- aura::Window* target, ui::TouchEventImpl* event) {
+ aura::Window* target, ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN; // Not handled.
}
diff --git a/ash/wm/overlay_event_filter.h b/ash/wm/overlay_event_filter.h
index ed1456c..49d0250 100644
--- a/ash/wm/overlay_event_filter.h
+++ b/ash/wm/overlay_event_filter.h
@@ -55,7 +55,7 @@ class OverlayEventFilter : public aura::EventFilter,
virtual bool PreHandleMouseEvent(
aura::Window* target, ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
- aura::Window* target, ui::TouchEventImpl* event) OVERRIDE;
+ aura::Window* target, ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target, ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/panel_window_event_filter.cc b/ash/wm/panel_window_event_filter.cc
index 461ced0..bab183f 100644
--- a/ash/wm/panel_window_event_filter.cc
+++ b/ash/wm/panel_window_event_filter.cc
@@ -97,7 +97,7 @@ bool PanelWindowEventFilter::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus PanelWindowEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/wm/panel_window_event_filter.h b/ash/wm/panel_window_event_filter.h
index ba40003..db2fb12 100644
--- a/ash/wm/panel_window_event_filter.h
+++ b/ash/wm/panel_window_event_filter.h
@@ -34,7 +34,7 @@ class PanelWindowEventFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/shelf_layout_manager.cc b/ash/wm/shelf_layout_manager.cc
index e1da66e..a2b847e 100644
--- a/ash/wm/shelf_layout_manager.cc
+++ b/ash/wm/shelf_layout_manager.cc
@@ -64,7 +64,7 @@ class ShelfLayoutManager::AutoHideEventFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
@@ -109,7 +109,7 @@ bool ShelfLayoutManager::AutoHideEventFilter::PreHandleMouseEvent(
ui::TouchStatus ShelfLayoutManager::AutoHideEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN; // Not handled.
}
diff --git a/ash/wm/system_gesture_event_filter.cc b/ash/wm/system_gesture_event_filter.cc
index 6bb5d8a..e909acb 100644
--- a/ash/wm/system_gesture_event_filter.cc
+++ b/ash/wm/system_gesture_event_filter.cc
@@ -544,7 +544,7 @@ bool SystemGestureEventFilter::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus SystemGestureEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
touch_uma_.RecordTouchEvent(target, *event);
long_press_affordance_->ProcessEvent(target, event);
return ui::TOUCH_STATUS_UNKNOWN;
diff --git a/ash/wm/system_gesture_event_filter.h b/ash/wm/system_gesture_event_filter.h
index 466ec04..9585481 100644
--- a/ash/wm/system_gesture_event_filter.h
+++ b/ash/wm/system_gesture_event_filter.h
@@ -98,7 +98,7 @@ class SystemGestureEventFilter : public aura::EventFilter,
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/system_gesture_event_filter_unittest.cc b/ash/wm/system_gesture_event_filter_unittest.cc
index ed83863..638f2d9 100644
--- a/ash/wm/system_gesture_event_filter_unittest.cc
+++ b/ash/wm/system_gesture_event_filter_unittest.cc
@@ -158,7 +158,7 @@ TEST_F(SystemGestureEventFilterTest, TapOutsideRootWindow) {
const int kTouchId = 5;
// A touch outside the root window will be associated with the root window
- ui::TouchEventImpl press(ui::ET_TOUCH_PRESSED, gfx::Point(-10, -10), kTouchId,
+ ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(-10, -10), kTouchId,
base::Time::NowFromSystemTime() - base::Time());
root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&press);
@@ -214,7 +214,7 @@ TEST_F(SystemGestureEventFilterTest, DeviceControl) {
xpos = screen.right() + 40; // Make sure it is out of the screen.
}
// Get a target for kTouchId
- ui::TouchEventImpl press1(ui::ET_TOUCH_PRESSED,
+ ui::TouchEvent press1(ui::ET_TOUCH_PRESSED,
gfx::Point(-10, ypos + ypos_half),
kTouchId,
base::Time::NowFromSystemTime() - base::Time());
@@ -284,7 +284,7 @@ TEST_F(SystemGestureEventFilterTest, DeviceControl) {
EXPECT_TRUE(consumed);
EXPECT_EQ(3, delegate->handle_percent_count());
- ui::TouchEventImpl release1(
+ ui::TouchEvent release1(
ui::ET_TOUCH_RELEASED, gfx::Point(2 * xpos, ypos + ypos_half), kTouchId,
base::Time::NowFromSystemTime() - base::Time());
root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&release1);
@@ -330,7 +330,7 @@ TEST_F(SystemGestureEventFilterTest, ApplicationControl) {
aura::Window* active_window = ash::wm::GetActiveWindow();
// Get a target for kTouchId
- ui::TouchEventImpl press(ui::ET_TOUCH_PRESSED,
+ ui::TouchEvent press(ui::ET_TOUCH_PRESSED,
gfx::Point(-10, ypos + ypos_half),
kTouchId,
base::Time::NowFromSystemTime() - base::Time());
@@ -381,7 +381,7 @@ TEST_F(SystemGestureEventFilterTest, ApplicationControl) {
EXPECT_TRUE(consumed);
EXPECT_EQ(ash::wm::GetActiveWindow(), active_window);
- ui::TouchEventImpl release(
+ ui::TouchEvent release(
ui::ET_TOUCH_RELEASED, gfx::Point(2 * xpos, ypos + ypos_half), kTouchId,
base::Time::NowFromSystemTime() - base::Time());
root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&release);
@@ -413,7 +413,7 @@ TEST_F(SystemGestureEventFilterTest, LongPressAffordanceStateOnCaptureLoss) {
EXPECT_TRUE(window1->HasCapture());
// Send touch event to first window.
- ui::TouchEventImpl press(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), kTouchId,
+ ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), kTouchId,
base::Time::NowFromSystemTime() - base::Time());
root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&press);
EXPECT_TRUE(window1->HasCapture());
diff --git a/ash/wm/system_modal_container_event_filter.cc b/ash/wm/system_modal_container_event_filter.cc
index 448a73c..eb835b7 100644
--- a/ash/wm/system_modal_container_event_filter.cc
+++ b/ash/wm/system_modal_container_event_filter.cc
@@ -32,7 +32,7 @@ bool SystemModalContainerEventFilter::PreHandleMouseEvent(
ui::TouchStatus SystemModalContainerEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
// TODO(sadrul): !
return ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/wm/system_modal_container_event_filter.h b/ash/wm/system_modal_container_event_filter.h
index ce45d7e..cded403 100644
--- a/ash/wm/system_modal_container_event_filter.h
+++ b/ash/wm/system_modal_container_event_filter.h
@@ -27,7 +27,7 @@ class ASH_EXPORT SystemModalContainerEventFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/toplevel_window_event_filter.cc b/ash/wm/toplevel_window_event_filter.cc
index e896d07..3a6abd7 100644
--- a/ash/wm/toplevel_window_event_filter.cc
+++ b/ash/wm/toplevel_window_event_filter.cc
@@ -120,7 +120,7 @@ bool ToplevelWindowEventFilter::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus ToplevelWindowEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/wm/toplevel_window_event_filter.h b/ash/wm/toplevel_window_event_filter.h
index 02deebb..fc4fa578 100644
--- a/ash/wm/toplevel_window_event_filter.h
+++ b/ash/wm/toplevel_window_event_filter.h
@@ -48,7 +48,7 @@ class ASH_EXPORT ToplevelWindowEventFilter :
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/user_activity_detector.cc b/ash/wm/user_activity_detector.cc
index 5f16b6f..c2c5d1a 100644
--- a/ash/wm/user_activity_detector.cc
+++ b/ash/wm/user_activity_detector.cc
@@ -49,7 +49,7 @@ bool UserActivityDetector::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus UserActivityDetector::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
if (!GetRootWindowController(target->GetRootWindow()))
return ui::TOUCH_STATUS_END;
MaybeNotify();
diff --git a/ash/wm/user_activity_detector.h b/ash/wm/user_activity_detector.h
index 2332ffd..51f1d11 100644
--- a/ash/wm/user_activity_detector.h
+++ b/ash/wm/user_activity_detector.h
@@ -40,7 +40,7 @@ class ASH_EXPORT UserActivityDetector : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/user_activity_detector_unittest.cc b/ash/wm/user_activity_detector_unittest.cc
index f396a52..cdf94f1 100644
--- a/ash/wm/user_activity_detector_unittest.cc
+++ b/ash/wm/user_activity_detector_unittest.cc
@@ -97,7 +97,7 @@ TEST_F(UserActivityDetectorTest, Basic) {
observer_->reset_stats();
AdvanceTime(advance_delta);
- ui::TouchEventImpl touch_event(
+ ui::TouchEvent touch_event(
ui::ET_TOUCH_PRESSED, gfx::Point(), 0, base::TimeDelta());
EXPECT_FALSE(detector_->PreHandleTouchEvent(window.get(), &touch_event));
EXPECT_EQ(1, observer_->num_invocations());
diff --git a/ash/wm/window_cycle_controller.cc b/ash/wm/window_cycle_controller.cc
index dd71538..31fea4e 100644
--- a/ash/wm/window_cycle_controller.cc
+++ b/ash/wm/window_cycle_controller.cc
@@ -39,7 +39,7 @@ class WindowCycleEventFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
@@ -74,7 +74,7 @@ bool WindowCycleEventFilter::PreHandleMouseEvent(
ui::TouchStatus WindowCycleEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN; // Not handled.
}
diff --git a/ash/wm/window_manager_unittest.cc b/ash/wm/window_manager_unittest.cc
index cb558b6..fd67cfd 100644
--- a/ash/wm/window_manager_unittest.cc
+++ b/ash/wm/window_manager_unittest.cc
@@ -123,7 +123,7 @@ TEST_F(WindowManagerTest, Focus) {
// Touch on a sub-window (w122) to focus it.
gfx::Point click_point = w122->bounds().CenterPoint();
aura::Window::ConvertPointToTarget(w122->parent(), root_window, &click_point);
- ui::TouchEventImpl touchev(ui::ET_TOUCH_PRESSED, click_point, 0, getTime());
+ ui::TouchEvent touchev(ui::ET_TOUCH_PRESSED, click_point, 0, getTime());
root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&touchev);
focus_manager = w122->GetFocusManager();
EXPECT_EQ(w122.get(), focus_manager->GetFocusedWindow());
@@ -323,7 +323,7 @@ TEST_F(WindowManagerTest, ActivateOnTouch) {
// Touch window2.
gfx::Point press_point = w2->bounds().CenterPoint();
aura::Window::ConvertPointToTarget(w2->parent(), root_window, &press_point);
- ui::TouchEventImpl touchev1(ui::ET_TOUCH_PRESSED, press_point, 0, getTime());
+ ui::TouchEvent touchev1(ui::ET_TOUCH_PRESSED, press_point, 0, getTime());
root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&touchev1);
// Window2 should have become active.
@@ -340,7 +340,7 @@ TEST_F(WindowManagerTest, ActivateOnTouch) {
press_point = w1->bounds().CenterPoint();
aura::Window::ConvertPointToTarget(w1->parent(), root_window, &press_point);
d1.set_activate(false);
- ui::TouchEventImpl touchev2(ui::ET_TOUCH_PRESSED, press_point, 1, getTime());
+ ui::TouchEvent touchev2(ui::ET_TOUCH_PRESSED, press_point, 1, getTime());
root_window->AsRootWindowHostDelegate()->OnHostTouchEvent(&touchev2);
// Window2 should still be active and focused.
@@ -579,9 +579,9 @@ TEST_F(WindowManagerTest, UpdateCursorVisibility) {
ui::MouseEvent mouse_moved(
ui::ET_MOUSE_MOVED, gfx::Point(0, 0), gfx::Point(0, 0), 0x0);
- ui::TouchEventImpl touch_pressed1(
+ ui::TouchEvent touch_pressed1(
ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), 0, getTime());
- ui::TouchEventImpl touch_pressed2(
+ ui::TouchEvent touch_pressed2(
ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), 1, getTime());
env_filter->set_update_cursor_visibility(true);
diff --git a/ash/wm/window_modality_controller.cc b/ash/wm/window_modality_controller.cc
index bf474d8..1c72edf 100644
--- a/ash/wm/window_modality_controller.cc
+++ b/ash/wm/window_modality_controller.cc
@@ -86,7 +86,7 @@ bool WindowModalityController::PreHandleMouseEvent(aura::Window* target,
ui::TouchStatus WindowModalityController::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ProcessLocatedEvent(target, event) ? ui::TOUCH_STATUS_CONTINUE :
ui::TOUCH_STATUS_UNKNOWN;
}
diff --git a/ash/wm/window_modality_controller.h b/ash/wm/window_modality_controller.h
index 614eb92..05ac6bb 100644
--- a/ash/wm/window_modality_controller.h
+++ b/ash/wm/window_modality_controller.h
@@ -44,7 +44,7 @@ class WindowModalityController : public aura::EventFilter,
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
diff --git a/ash/wm/window_modality_controller_unittest.cc b/ash/wm/window_modality_controller_unittest.cc
index d5a40fa..d749bd6 100644
--- a/ash/wm/window_modality_controller_unittest.cc
+++ b/ash/wm/window_modality_controller_unittest.cc
@@ -294,7 +294,7 @@ class TouchTrackerWindowDelegate : public aura::test::TestWindowDelegate {
private:
// Overridden from aura::test::TestWindowDelegate.
- virtual ui::TouchStatus OnTouchEvent(ui::TouchEventImpl* event) OVERRIDE {
+ virtual ui::TouchStatus OnTouchEvent(ui::TouchEvent* event) OVERRIDE {
received_touch_ = true;
return aura::test::TestWindowDelegate::OnTouchEvent(event);
}
diff --git a/ash/wm/workspace/frame_maximize_button.cc b/ash/wm/workspace/frame_maximize_button.cc
index ba2281b..33cdbf1 100644
--- a/ash/wm/workspace/frame_maximize_button.cc
+++ b/ash/wm/workspace/frame_maximize_button.cc
@@ -49,7 +49,7 @@ class FrameMaximizeButton::EscapeEventFilter : public aura::EventFilter {
ui::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) OVERRIDE;
+ ui::TouchEvent* event) OVERRIDE;
virtual ui::GestureStatus PreHandleGestureEvent(
aura::Window* target,
ui::GestureEventImpl* event) OVERRIDE;
@@ -88,7 +88,7 @@ bool FrameMaximizeButton::EscapeEventFilter::PreHandleMouseEvent(
ui::TouchStatus FrameMaximizeButton::EscapeEventFilter::PreHandleTouchEvent(
aura::Window* target,
- ui::TouchEventImpl* event) {
+ ui::TouchEvent* event) {
return ui::TOUCH_STATUS_UNKNOWN;
}