| Index: ash/shelf/shelf_bezel_event_filter.cc
|
| diff --git a/ash/shelf/shelf_bezel_event_filter.cc b/ash/shelf/shelf_bezel_event_filter.cc
|
| index 023d5c967a006418c299226eff7fed145c53ea5a..e05239858a45b2b2cdcc4ff78f077a918fe91827 100644
|
| --- a/ash/shelf/shelf_bezel_event_filter.cc
|
| +++ b/ash/shelf/shelf_bezel_event_filter.cc
|
| @@ -13,10 +13,8 @@
|
|
|
| namespace ash {
|
|
|
| -ShelfBezelEventFilter::ShelfBezelEventFilter(
|
| - ShelfLayoutManager* shelf)
|
| - : shelf_(shelf),
|
| - in_touch_drag_(false) {
|
| +ShelfBezelEventFilter::ShelfBezelEventFilter(ShelfLayoutManager* shelf)
|
| + : shelf_(shelf), in_touch_drag_(false) {
|
| Shell::GetInstance()->AddPreTargetHandler(this);
|
| }
|
|
|
| @@ -24,8 +22,7 @@ ShelfBezelEventFilter::~ShelfBezelEventFilter() {
|
| Shell::GetInstance()->RemovePreTargetHandler(this);
|
| }
|
|
|
| -void ShelfBezelEventFilter::OnGestureEvent(
|
| - ui::GestureEvent* event) {
|
| +void ShelfBezelEventFilter::OnGestureEvent(ui::GestureEvent* event) {
|
| gfx::Point point_in_screen(event->location());
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| ::wm::ConvertPointToScreen(target, &point_in_screen);
|
|
|