Index: mash/quick_launch/quick_launch_application.h |
diff --git a/mash/quick_launch/quick_launch_application.h b/mash/quick_launch/quick_launch_application.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..70db23a255e08097b7a324d977dd20490a73b8e0 |
--- /dev/null |
+++ b/mash/quick_launch/quick_launch_application.h |
@@ -0,0 +1,41 @@ |
+// 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 MASH_QUICK_LAUNCH_QUICK_LAUNCH_APPLICATION_H_ |
+#define MASH_QUICK_LAUNCH_QUICK_LAUNCH_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 views { |
+class AuraInit; |
+} |
+ |
+namespace mash { |
+namespace quick_launch { |
+ |
+class QuickLaunchApplication : public mojo::ShellClient { |
+ public: |
+ QuickLaunchApplication(); |
+ ~QuickLaunchApplication() override; |
+ |
+ private: |
+ // mojo::ShellClient: |
+ void Initialize(mojo::Shell* shell, |
+ const std::string& url, |
+ uint32_t id) override; |
+ bool AcceptConnection(mojo::Connection* connection) override; |
+ |
+ mojo::TracingImpl tracing_; |
+ scoped_ptr<views::AuraInit> aura_init_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(QuickLaunchApplication); |
+}; |
+ |
+} // namespace quick_launch |
+} // namespace mash |
+ |
+#endif // MASH_QUICK_LAUNCH_QUICK_LAUNCH_APPLICATION_H_ |