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

Side by Side Diff: ui/compositor/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 | « ash/accelerators/accelerator_table.cc ('k') | ui/compositor/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_COMPOSITOR_DEBUG_UTILS_H_ 5 #ifndef UI_COMPOSITOR_DEBUG_UTILS_H_
6 #define UI_COMPOSITOR_DEBUG_UTILS_H_ 6 #define UI_COMPOSITOR_DEBUG_UTILS_H_
7 7
8 #ifndef NDEBUG
9
10 #include "ui/compositor/compositor_export.h" 8 #include "ui/compositor/compositor_export.h"
11 9
12 namespace gfx { 10 namespace gfx {
13 class Point; 11 class Point;
14 } 12 }
15 13
16 namespace ui { 14 namespace ui {
17 15
18 class Layer; 16 class Layer;
19 17
20 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'. 18 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'.
21 COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer, 19 COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer,
22 gfx::Point mouse_location); 20 gfx::Point mouse_location);
23 21
24 } // namespace ui 22 } // namespace ui
25 23
26 #endif // NDEBUG
27
28 #endif // UI_COMPOSITOR_DEBUG_UTILS_H_ 24 #endif // UI_COMPOSITOR_DEBUG_UTILS_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_table.cc ('k') | ui/compositor/debug_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698