Correct comment added on r267371
[chromium-blink-merge.git] / ui / compositor / test / test_layers.h
blob23078083a37310bcee33e23945ba5a74d6e3025c
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.
5 #ifndef UI_COMPOSITOR_TEST_TEST_LAYERS_H_
6 #define UI_COMPOSITOR_TEST_TEST_LAYERS_H_
8 #include <string>
10 namespace ui {
11 class Layer;
13 namespace test {
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 ..."
17 std::string ChildLayerNamesAsString(const ui::Layer& parent);
19 } // namespace test
20 } // namespace ui
22 #endif // UI_COMPOSITOR_TEST_TEST_LAYERS_H_