Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 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 namespace ui { | |
| 12 | |
| 13 class Layer; | |
| 14 | |
| 15 // Log the layer hierarchy. | |
| 16 void PrintLayerHierarchy(const Layer* layer); | |
| 17 | |
| 18 } // namespace ui | |
| 19 | |
| 20 #endif // NDEBUG | |
| 21 | |
| 22 #endif // UI_GFX_COMPOSITOR_DEBUG_UTILS_H_ | |
| OLD | NEW |