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