Index: ash/wm/maximize_mode/maximize_mode_event_handler_aura.cc |
diff --git a/ash/wm/maximize_mode/maximize_mode_event_handler_aura.cc b/ash/wm/maximize_mode/maximize_mode_event_handler_aura.cc |
deleted file mode 100644 |
index 35e590220eace83a6c9a7d704e7fd38b2633d62e..0000000000000000000000000000000000000000 |
--- a/ash/wm/maximize_mode/maximize_mode_event_handler_aura.cc |
+++ /dev/null |
@@ -1,27 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "ash/wm/maximize_mode/maximize_mode_event_handler_aura.h" |
- |
-#include "ash/shell.h" |
-#include "ui/events/event.h" |
- |
-namespace ash { |
-namespace wm { |
- |
-MaximizeModeEventHandlerAura::MaximizeModeEventHandlerAura() { |
- Shell::Get()->AddPreTargetHandler(this); |
-} |
- |
-MaximizeModeEventHandlerAura::~MaximizeModeEventHandlerAura() { |
- Shell::Get()->RemovePreTargetHandler(this); |
-} |
- |
-void MaximizeModeEventHandlerAura::OnTouchEvent(ui::TouchEvent* event) { |
- if (ToggleFullscreen(*event)) |
- event->StopPropagation(); |
-} |
- |
-} // namespace wm |
-} // namespace ash |