debug_utils.h revision 2a99a7e74a7f215066514fe81d2bfa6639d9eddd
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
3// found in the LICENSE file.
4
5#ifndef UI_COMPOSITOR_DEBUG_UTILS_H_
6#define UI_COMPOSITOR_DEBUG_UTILS_H_
7
8#include "ui/compositor/compositor_export.h"
9
10namespace gfx {
11class Point;
12}
13
14namespace ui {
15
16class Layer;
17
18// Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'.
19COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer,
20                                           gfx::Point mouse_location);
21
22} // namespace ui
23
24#endif  // UI_COMPOSITOR_DEBUG_UTILS_H_
25