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