Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / compositor / debug_utils.h
blob966b3ae591659a29caf800fe7299d64910747cb5
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.
5 #ifndef UI_COMPOSITOR_DEBUG_UTILS_H_
6 #define UI_COMPOSITOR_DEBUG_UTILS_H_
8 #include "ui/compositor/compositor_export.h"
10 namespace gfx {
11 class Point;
14 namespace ui {
16 class Layer;
18 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'.
19 COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer,
20 gfx::Point mouse_location);
22 } // namespace ui
24 #endif // UI_COMPOSITOR_DEBUG_UTILS_H_