| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GFX_COMPOSITOR_DEBUG_UTILS_H_ | |
| 6 #define UI_GFX_COMPOSITOR_DEBUG_UTILS_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #ifndef NDEBUG | |
| 10 | |
| 11 #include "ui/gfx/compositor/compositor_export.h" | |
| 12 | |
| 13 namespace gfx { | |
| 14 class Point; | |
| 15 } | |
| 16 | |
| 17 namespace ui { | |
| 18 | |
| 19 class Layer; | |
| 20 | |
| 21 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'. | |
| 22 COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer, | |
| 23 gfx::Point mouse_location); | |
| 24 | |
| 25 } // namespace ui | |
| 26 | |
| 27 #endif // NDEBUG | |
| 28 | |
| 29 #endif // UI_GFX_COMPOSITOR_DEBUG_UTILS_H_ | |
| OLD | NEW |