1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_ACCELERATORS_DEBUG_COMMANDS_H_
6 #define ASH_ACCELERATORS_DEBUG_COMMANDS_H_
8 #include "ash/ash_export.h"
10 // This file contains implementations of commands that are used only
11 // when running on desktop for debugging.
15 // Print the views::View, ui::Layer and aura::Window hierarchies. This may be
16 // useful in debugging user reported bugs.
17 ASH_EXPORT void PrintUIHierarchies();
19 // Returns true if debug accelerators are enabled.
20 ASH_EXPORT bool DebugAcceleratorsEnabled();
22 // Performs |action| and returns true if |action| belongs to a
23 // debug-only accelerator and debug accelerators are enabled.
24 ASH_EXPORT bool PerformDebugAction(int action);
29 #endif // ASH_ACCELERATORS_DEBUG_COMMANDS_H_