diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 13:24:35 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 13:24:35 +0000 |
commit | e73fd5d32e9206d40c4c9c016834c0ed5f09ecdf (patch) | |
tree | df2f0d93c68ad9e732ce9811a87cff81115bd116 /ui/views/debug_utils.h | |
parent | c63925ad27af4a2072c5b08a64b3bbfbc178744a (diff) | |
download | chromium_src-e73fd5d32e9206d40c4c9c016834c0ed5f09ecdf.zip chromium_src-e73fd5d32e9206d40c4c9c016834c0ed5f09ecdf.tar.gz chromium_src-e73fd5d32e9206d40c4c9c016834c0ed5f09ecdf.tar.bz2 |
views: Move some random files from views/ to ui/views/.
BUG=104039
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8735009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/debug_utils.h')
-rw-r--r-- | ui/views/debug_utils.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/views/debug_utils.h b/ui/views/debug_utils.h new file mode 100644 index 0000000..b953c94 --- /dev/null +++ b/ui/views/debug_utils.h @@ -0,0 +1,25 @@ +// Copyright (c) 2011 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 UI_VIEWS_DEBUG_UTILS_H_ +#define UI_VIEWS_DEBUG_UTILS_H_ +#pragma once + +namespace views { + +class View; + +#ifndef NDEBUG + +// Log the view hierarchy. +void PrintViewHierarchy(const View* view); + +// Log the focus traversal hierarchy. +void PrintFocusHierarchy(const View* view); + +#endif // NDEBUG + +} // namespace views + +#endif // UI_VIEWS_DEBUG_UTILS_H_ |