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