| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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 MASH_SYSTEM_UI_SYSTEM_UI_H_ | |
| 6 #define MASH_SYSTEM_UI_SYSTEM_UI_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "mojo/services/tracing/public/cpp/tracing_impl.h" | |
| 11 #include "mojo/shell/public/cpp/application_delegate.h" | |
| 12 | |
| 13 namespace views { | |
| 14 class AuraInit; | |
| 15 } | |
| 16 | |
| 17 namespace mash { | |
| 18 namespace system_ui { | |
| 19 | |
| 20 class SystemUI : public mojo::ApplicationDelegate { | |
| 21 public: | |
| 22 SystemUI(); | |
| 23 ~SystemUI() override; | |
| 24 | |
| 25 private: | |
| 26 // mojo::ApplicationDelegate: | |
| 27 void Initialize(mojo::ApplicationImpl* app) override; | |
| 28 bool ConfigureIncomingConnection( | |
| 29 mojo::ApplicationConnection* connection) override; | |
| 30 | |
| 31 mojo::TracingImpl tracing_; | |
| 32 | |
| 33 scoped_ptr<views::AuraInit> aura_init_; | |
| 34 | |
| 35 DISALLOW_COPY_AND_ASSIGN(SystemUI); | |
| 36 }; | |
| 37 | |
| 38 } // namespace system_ui | |
| 39 } // namespace mash | |
| 40 | |
| 41 #endif // MASH_SYSTEM_UI_SYSTEM_UI_H_ | |
| OLD | NEW |