Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 ASH_MUS_TOP_LEVEL_WINDOW_FACTORY_H_ | |
| 6 #define ASH_MUS_TOP_LEVEL_WINDOW_FACTORY_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 #include <map> | |
| 11 #include <string> | |
| 12 #include <vector> | |
| 13 | |
| 14 namespace aura { | |
| 15 class Window; | |
| 16 } | |
| 17 | |
| 18 namespace ui { | |
| 19 namespace mojom { | |
| 20 enum class WindowType; | |
| 21 } | |
| 22 } | |
| 23 | |
| 24 namespace ash { | |
| 25 namespace mus { | |
| 26 | |
| 27 class WindowManager; | |
| 28 | |
| 29 // Creates and parent a new top-level window and returns it. The returned | |
|
msw
2017/01/18 23:31:27
nit: parents
sky
2017/01/19 01:02:20
Done.
| |
| 30 // aura::Window is owned by it's parent. | |
|
msw
2017/01/18 23:31:27
nit: "its"
sky
2017/01/19 01:02:20
Done.
| |
| 31 aura::Window* CreateAndParentTopLevelWindow( | |
| 32 WindowManager* window_manager, | |
| 33 ui::mojom::WindowType window_type, | |
| 34 std::map<std::string, std::vector<uint8_t>>* properties); | |
| 35 | |
| 36 } // namespace mus | |
| 37 } // namespace ash | |
| 38 | |
| 39 #endif // ASH_MUS_TOP_LEVEL_WINDOW_FACTORY_H_ | |
| OLD | NEW |