OLD | NEW |
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 APPS_MOTERM_MOTERM_APP_H_ | 5 #ifndef APPS_MOTERM_MOTERM_APP_H_ |
6 #define APPS_MOTERM_MOTERM_APP_H_ | 6 #define APPS_MOTERM_MOTERM_APP_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/ui/view_provider_app.h" | 9 #include "mojo/ui/view_provider_app.h" |
10 | 10 |
11 class MotermApp : public mojo::ui::ViewProviderApp { | 11 class MotermApp : public mojo::ui::ViewProviderApp { |
12 public: | 12 public: |
13 MotermApp(); | 13 MotermApp(); |
14 ~MotermApp() override; | 14 ~MotermApp() override; |
15 | 15 |
16 void CreateView( | 16 void CreateView( |
17 const std::string& connection_url, | 17 const std::string& connection_url, |
18 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request, | 18 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request, |
19 mojo::InterfaceRequest<mojo::ServiceProvider> services, | 19 mojo::InterfaceRequest<mojo::ServiceProvider> services) override; |
20 mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override; | |
21 | 20 |
22 private: | 21 private: |
23 DISALLOW_COPY_AND_ASSIGN(MotermApp); | 22 DISALLOW_COPY_AND_ASSIGN(MotermApp); |
24 }; | 23 }; |
25 | 24 |
26 #endif // APPS_MOTERM_MOTERM_APP_H_ | 25 #endif // APPS_MOTERM_MOTERM_APP_H_ |
OLD | NEW |