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

Side by Side Diff: mash/example/views_examples/views_examples_application_delegate.h

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_ 5 #ifndef MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_
6 #define MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_ 6 #define MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "mojo/services/tracing/public/cpp/tracing_impl.h" 11 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
12 #include "mojo/shell/public/cpp/shell_client.h" 12 #include "services/shell/public/cpp/shell_client.h"
13 13
14 namespace views { 14 namespace views {
15 class AuraInit; 15 class AuraInit;
16 } 16 }
17 17
18 class ViewsExamplesApplicationDelegate : public mojo::ShellClient { 18 class ViewsExamplesApplicationDelegate : public mojo::ShellClient {
19 public: 19 public:
20 ViewsExamplesApplicationDelegate(); 20 ViewsExamplesApplicationDelegate();
21 ~ViewsExamplesApplicationDelegate() override; 21 ~ViewsExamplesApplicationDelegate() override;
22 22
23 private: 23 private:
24 // mojo::ShellClient: 24 // mojo::ShellClient:
25 void Initialize(mojo::Connector* connector, const mojo::Identity& identity, 25 void Initialize(mojo::Connector* connector, const mojo::Identity& identity,
26 uint32_t id) override; 26 uint32_t id) override;
27 bool AcceptConnection(mojo::Connection* connection) override; 27 bool AcceptConnection(mojo::Connection* connection) override;
28 28
29 mojo::TracingImpl tracing_; 29 mojo::TracingImpl tracing_;
30 30
31 std::unique_ptr<views::AuraInit> aura_init_; 31 std::unique_ptr<views::AuraInit> aura_init_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(ViewsExamplesApplicationDelegate); 33 DISALLOW_COPY_AND_ASSIGN(ViewsExamplesApplicationDelegate);
34 }; 34 };
35 35
36 #endif // MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_ 36 #endif // MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « mash/example/views_examples/main.cc ('k') | mash/example/views_examples/views_examples_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698