blob: 3c324be48853dec5dcbef92a335c287c4c389285 [file] [log] [blame]
// Copyright 2017 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.
#include <stdint.h>
#include <map>
#include <string>
#include <vector>
#include "ash/ash_export.h"
namespace aura {
class PropertyConverter;
class Window;
namespace ws {
namespace mojom {
enum class WindowType;
} // namespace ws
namespace ash {
// Creates and parents a new top-level window and returns it. The returned
// aura::Window is owned by its parent. A value of null is returned if invalid
// poarameters are supplied.
ASH_EXPORT aura::Window* CreateAndParentTopLevelWindow(
ws::mojom::WindowType window_type,
aura::PropertyConverter* property_converter,
std::map<std::string, std::vector<uint8_t>>* properties);
} // namespace ash