summaryrefslogtreecommitdiffstats
path: root/ui/views/debug_utils.h
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 15:11:56 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 15:11:56 +0000
commitd3d5f7043959d5f74b350edad300e71f437da3e6 (patch)
tree88c885bbcf6ae03376347739347dc2010fb14776 /ui/views/debug_utils.h
parentddbf2053813d3238cb72d84108815965747ba1f5 (diff)
downloadchromium_src-d3d5f7043959d5f74b350edad300e71f437da3e6.zip
chromium_src-d3d5f7043959d5f74b350edad300e71f437da3e6.tar.gz
chromium_src-d3d5f7043959d5f74b350edad300e71f437da3e6.tar.bz2
Enable debug logging for views::View
Enables the alt-ctrl-shift-V accelerator for dumping views::View hierarchy to console. BUG=none TEST=Bring up Aura build on Linux, type alt-ctrl-shift-V and check logs. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10736061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/debug_utils.h')
-rw-r--r--ui/views/debug_utils.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/views/debug_utils.h b/ui/views/debug_utils.h
index 4b998ce..2f574a1 100644
--- a/ui/views/debug_utils.h
+++ b/ui/views/debug_utils.h
@@ -1,10 +1,12 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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_
+#include "ui/views/views_export.h"
+
namespace views {
class View;
@@ -12,10 +14,10 @@ class View;
#ifndef NDEBUG
// Log the view hierarchy.
-void PrintViewHierarchy(const View* view);
+VIEWS_EXPORT void PrintViewHierarchy(const View* view);
// Log the focus traversal hierarchy.
-void PrintFocusHierarchy(const View* view);
+VIEWS_EXPORT void PrintFocusHierarchy(const View* view);
#endif // NDEBUG