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

Side by Side Diff: ui/views/debug_utils.h

Issue 12494011: Keyboard shortcut to log views, layers, windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/compositor/debug_utils.cc ('k') | ui/views/debug_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_DEBUG_UTILS_H_ 5 #ifndef UI_VIEWS_DEBUG_UTILS_H_
6 #define UI_VIEWS_DEBUG_UTILS_H_ 6 #define UI_VIEWS_DEBUG_UTILS_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 class View; 12 class View;
13 13
14 #ifndef NDEBUG
15
16 // Log the view hierarchy. 14 // Log the view hierarchy.
17 VIEWS_EXPORT void PrintViewHierarchy(const View* view); 15 VIEWS_EXPORT void PrintViewHierarchy(const View* view);
18 16
19 // Log the focus traversal hierarchy. 17 // Log the focus traversal hierarchy.
20 VIEWS_EXPORT void PrintFocusHierarchy(const View* view); 18 VIEWS_EXPORT void PrintFocusHierarchy(const View* view);
21 19
22 #endif // NDEBUG
23
24 } // namespace views 20 } // namespace views
25 21
26 #endif // UI_VIEWS_DEBUG_UTILS_H_ 22 #endif // UI_VIEWS_DEBUG_UTILS_H_
OLDNEW
« no previous file with comments | « ui/compositor/debug_utils.cc ('k') | ui/views/debug_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698