Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: ash/mus/sysui_application.h

Issue 1676713002: ash/mash: Add a mus-client that sets up ash to provide the system ui for mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-cros-build Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/stub_context_factory.cc ('k') | ash/mus/sysui_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/sysui_application.h
diff --git a/ash/mus/sysui_application.h b/ash/mus/sysui_application.h
new file mode 100644
index 0000000000000000000000000000000000000000..c8997368c5f4a1e35153c6afadd4b63485480236
--- /dev/null
+++ b/ash/mus/sysui_application.h
@@ -0,0 +1,38 @@
+// Copyright 2016 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 ASH_MUS_SYSUI_APPLICATION_H_
+#define ASH_MUS_SYSUI_APPLICATION_H_
+
+#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
+#include "mojo/services/tracing/public/cpp/tracing_impl.h"
+#include "mojo/shell/public/cpp/shell_client.h"
+
+namespace ash {
+namespace sysui {
+
+class AshInit;
+
+class SysUIApplication : public mojo::ShellClient {
+ public:
+ SysUIApplication();
+ ~SysUIApplication() override;
+
+ private:
+ // mojo::ShellClient:
+ void Initialize(mojo::Shell* shell,
+ const std::string& url,
+ uint32_t id) override;
+
+ mojo::TracingImpl tracing_;
+ scoped_ptr<AshInit> ash_init_;
+
+ DISALLOW_COPY_AND_ASSIGN(SysUIApplication);
+};
+
+} // namespace sysui
+} // namespace ash
+
+#endif // ASH_MUS_SYSUI_APPLICATION_H_
« no previous file with comments | « ash/mus/stub_context_factory.cc ('k') | ash/mus/sysui_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698