Chromium Code Reviews| Index: ui/gfx/compositor/debug_utils.h |
| diff --git a/ui/gfx/compositor/debug_utils.h b/ui/gfx/compositor/debug_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7d5298e999de4ec21814be67b48361697dcbe618 |
| --- /dev/null |
| +++ b/ui/gfx/compositor/debug_utils.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_DEBUG_UTILS_H_ |
|
tfarina
2011/11/09 14:30:50
UI_GFX_COMPOSITOR_DEBUG_UTILS_H_
|
| +#define UI_DEBUG_UTILS_H_ |
| +#pragma once |
| + |
| +#ifndef NDEBUG |
| + |
| +namespace ui { |
| + |
| +class Layer; |
| + |
| +// Log the layer hierarchy. |
| +void PrintLayerHierarchy(const Layer* layer); |
| +} // namespace ui |
|
tfarina
2011/11/09 14:30:50
please add a blank line above. and between #endif
|
| +#endif // NDEBUG |
| +#endif // UI_DEBUG_UTILS_H_ |