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 SERVICES_UI_DEMO_MUS_DEMO_EXTERNAL_H_ |
| 6 #define SERVICES_UI_DEMO_MUS_DEMO_EXTERNAL_H_ |
| 7 |
| 8 #include "services/ui/demo/mus_demo.h" |
| 9 #include "services/ui/public/interfaces/window_tree_host.mojom.h" |
| 10 |
| 11 namespace ui { |
| 12 namespace demo { |
| 13 |
| 14 class MusDemoExternal : public MusDemo { |
| 15 public: |
| 16 MusDemoExternal(); |
| 17 |
| 18 private: |
| 19 void OnStartImpl() override; |
| 20 |
| 21 // aura::WindowTreeClientDelegate: |
| 22 void OnEmbed( |
| 23 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; |
| 24 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; |
| 25 |
| 26 mojom::WindowTreeHostFactoryPtr window_tree_host_factory_; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(MusDemoExternal); |
| 29 }; |
| 30 |
| 31 } // namespace demo |
| 32 } // namespace aura |
| 33 |
| 34 #endif // SERVICES_UI_DEMO_MUS_DEMO_EXTERNAL_H_ |
OLD | NEW |