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

Unified Diff: ash/accelerators/accelerator_commands_aura.h

Issue 2162193003: Separates out accelerators using non-common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@accelerators
Patch Set: fix compile issues Created 4 years, 5 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/accelerators/accelerator_commands_aura.h
diff --git a/ash/accelerators/accelerator_commands.h b/ash/accelerators/accelerator_commands_aura.h
similarity index 53%
copy from ash/accelerators/accelerator_commands.h
copy to ash/accelerators/accelerator_commands_aura.h
index 832dda39a0891ec6cdc303987a222c38362cfa77..0796c327524d301c0655eae235755d20cc0fd15d 100644
--- a/ash/accelerators/accelerator_commands.h
+++ b/ash/accelerators/accelerator_commands_aura.h
@@ -1,9 +1,9 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// 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.
-#ifndef ASH_ACCELERATORS_ACCELERATOR_COMMANDS_H_
-#define ASH_ACCELERATORS_ACCELERATOR_COMMANDS_H_
+#ifndef ASH_ACCELERATORS_ACCELERATOR_COMMANDS_AURA_H_
James Cook 2016/07/20 16:08:04 Long-term will this file end up in ash/aura and th
sky 2016/07/20 16:42:49 Yes, after I straighten out debug_commands I plan
+#define ASH_ACCELERATORS_ACCELERATOR_COMMANDS_AURA_H_
#include "ash/ash_export.h"
@@ -12,19 +12,6 @@
namespace ash {
namespace accelerators {
-// Minimizes the active window, if present. If no windows are active, restores
-// the first unminimized window. Returns true if a window was minimized or
-// restored.
-ASH_EXPORT bool ToggleMinimized();
-
-// Toggles the maxmized state. If the window is in fulllscreen, it exits
-// fullscreen mode.
-ASH_EXPORT void ToggleMaximized();
-
-// Toggles the fullscreen state. The behavior can be overridden
-// by WindowStateDelegate::ToggleFullscreen().
-ASH_EXPORT void ToggleFullscreen();
-
// Toggles touch HUD.
ASH_EXPORT void ToggleTouchHudProjection();
@@ -43,4 +30,4 @@ ASH_EXPORT void Unpin();
} // namespace accelerators
} // namespace ash
-#endif // ASH_ACCELERATORS_ACCELERATOR_COMMANDS_H_
+#endif // ASH_ACCELERATORS_ACCELERATOR_COMMANDS_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698