test_layers.h revision 90dce4d38c5ff5333bea97d859d4e484e27edf0c
1// Copyright (c) 2013 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_TEST_TEST_LAYERS_H_
6#define UI_COMPOSITOR_TEST_TEST_LAYERS_H_
7
8#include <string>
9
10namespace ui {
11class Layer;
12
13namespace test {
14
15// Returns a string containing the name of each of the child layers (bottommost
16// first) of |parent|. The format of the string is "name1 name2 ..."
17std::string ChildLayerNamesAsString(const ui::Layer& parent);
18
19}  // namespace test
20}  // namespace ui
21
22#endif  // UI_COMPOSITOR_TEST_TEST_LAYERS_H_
23