C++程序  |  23行  |  619 B

// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_COMPOSITOR_TEST_TEST_LAYERS_H_
#define UI_COMPOSITOR_TEST_TEST_LAYERS_H_

#include <string>

namespace ui {
class Layer;

namespace test {

// Returns a string containing the name of each of the child layers (bottommost
// first) of |parent|. The format of the string is "name1 name2 ..."
std::string ChildLayerNamesAsString(const ui::Layer& parent);

}  // namespace test
}  // namespace ui

#endif  // UI_COMPOSITOR_TEST_TEST_LAYERS_H_