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 NDEBUG | 5 #ifndef NDEBUG |
6 | 6 |
7 #include "ui/gfx/compositor/debug_utils.h" | 7 #include "ui/compositor/debug_utils.h" |
8 | 8 |
9 #include <iomanip> | 9 #include <iomanip> |
10 #include <iostream> | 10 #include <iostream> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "ui/gfx/compositor/layer.h" | 15 #include "ui/compositor/layer.h" |
16 #include "ui/gfx/interpolated_transform.h" | 16 #include "ui/gfx/interpolated_transform.h" |
17 #include "ui/gfx/point.h" | 17 #include "ui/gfx/point.h" |
18 #include "ui/gfx/transform.h" | 18 #include "ui/gfx/transform.h" |
19 | 19 |
20 namespace ui { | 20 namespace ui { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 void PrintLayerHierarchyImp(const Layer* layer, int indent, | 24 void PrintLayerHierarchyImp(const Layer* layer, int indent, |
25 gfx::Point mouse_location) { | 25 gfx::Point mouse_location) { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 } // namespace | 101 } // namespace |
102 | 102 |
103 void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) { | 103 void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) { |
104 PrintLayerHierarchyImp(layer, 0, mouse_location); | 104 PrintLayerHierarchyImp(layer, 0, mouse_location); |
105 } | 105 } |
106 | 106 |
107 } // namespace ui | 107 } // namespace ui |
108 | 108 |
109 #endif // NDEBUG | 109 #endif // NDEBUG |
OLD | NEW |