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 10 namespace ui { 11 class Layer; 12 13 namespace 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 ..." 17 std::string ChildLayerNamesAsString(const ui::Layer& parent); 18 19 } // namespace test 20 } // namespace ui 21 22 #endif // UI_COMPOSITOR_TEST_TEST_LAYERS_H_ 23