Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: ash/wm/maximize_mode/maximize_mode_event_handler_aura.cc

Issue 2905383003: (fix landed) Reland of name MaximizeMode to TabletMode (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_event_handler_aura.h ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698