| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
| 9 |
| 8 namespace views { | 10 namespace views { |
| 9 | 11 |
| 10 class View; | 12 class View; |
| 11 | 13 |
| 12 #ifndef NDEBUG | 14 #ifndef NDEBUG |
| 13 | 15 |
| 14 // Log the view hierarchy. | 16 // Log the view hierarchy. |
| 15 void PrintViewHierarchy(const View* view); | 17 VIEWS_EXPORT void PrintViewHierarchy(const View* view); |
| 16 | 18 |
| 17 // Log the focus traversal hierarchy. | 19 // Log the focus traversal hierarchy. |
| 18 void PrintFocusHierarchy(const View* view); | 20 VIEWS_EXPORT void PrintFocusHierarchy(const View* view); |
| 19 | 21 |
| 20 #endif // NDEBUG | 22 #endif // NDEBUG |
| 21 | 23 |
| 22 } // namespace views | 24 } // namespace views |
| 23 | 25 |
| 24 #endif // UI_VIEWS_DEBUG_UTILS_H_ | 26 #endif // UI_VIEWS_DEBUG_UTILS_H_ |
| OLD | NEW |