| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include <assert.h> | 5 #include <assert.h> |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 mojo::ContextProviderPtr onscreen_context_provider_; | 88 mojo::ContextProviderPtr onscreen_context_provider_; |
| 89 mojo::Binding<NativeViewportEventDispatcher> dispatcher_binding_; | 89 mojo::Binding<NativeViewportEventDispatcher> dispatcher_binding_; |
| 90 | 90 |
| 91 MOJO_DISALLOW_COPY_AND_ASSIGN(SpinningCubeApp); | 91 MOJO_DISALLOW_COPY_AND_ASSIGN(SpinningCubeApp); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace examples | 94 } // namespace examples |
| 95 | 95 |
| 96 MojoResult MojoMain(MojoHandle application_request) { | 96 MojoResult MojoMain(MojoHandle application_request) { |
| 97 examples::SpinningCubeApp spinning_cube_app; | 97 examples::SpinningCubeApp spinning_cube_app; |
| 98 return mojo::RunApplication(application_request, &spinning_cube_app); | 98 return mojo::RunMainApplication(application_request, &spinning_cube_app); |
| 99 } | 99 } |
| OLD | NEW |