Index: trunk/src/mojo/examples/pepper_container_app/pepper_container_app.cc |
=================================================================== |
--- trunk/src/mojo/examples/pepper_container_app/pepper_container_app.cc (revision 272983) |
+++ trunk/src/mojo/examples/pepper_container_app/pepper_container_app.cc (working copy) |
@@ -11,12 +11,12 @@ |
#include "mojo/examples/pepper_container_app/plugin_instance.h" |
#include "mojo/examples/pepper_container_app/plugin_module.h" |
#include "mojo/examples/pepper_container_app/type_converters.h" |
-#include "mojo/public/cpp/application/application.h" |
#include "mojo/public/cpp/bindings/allocation_scope.h" |
#include "mojo/public/cpp/environment/environment.h" |
#include "mojo/public/cpp/gles2/gles2.h" |
+#include "mojo/public/cpp/shell/application.h" |
#include "mojo/public/cpp/system/core.h" |
-#include "mojo/public/interfaces/service_provider/service_provider.mojom.h" |
+#include "mojo/public/interfaces/shell/shell.mojom.h" |
#include "mojo/services/native_viewport/native_viewport.mojom.h" |
#include "ppapi/c/pp_rect.h" |
#include "ppapi/shared_impl/proxy_lock.h" |
@@ -38,8 +38,8 @@ |
public NativeViewportClient, |
public MojoPpapiGlobals::Delegate { |
public: |
- explicit PepperContainerApp(MojoHandle service_provider_handle) |
- : Application(service_provider_handle), |
+ explicit PepperContainerApp(MojoHandle shell_handle) |
+ : Application(shell_handle), |
ppapi_globals_(this), |
plugin_module_(new PluginModule) { |
mojo::AllocationScope scope; |
@@ -120,11 +120,11 @@ |
} // namespace mojo |
extern "C" PEPPER_CONTAINER_APP_EXPORT MojoResult CDECL MojoMain( |
- MojoHandle service_provider_handle) { |
+ MojoHandle shell_handle) { |
mojo::Environment env; |
mojo::GLES2Initializer gles2; |
base::MessageLoop run_loop; |
- mojo::examples::PepperContainerApp app(service_provider_handle); |
+ mojo::examples::PepperContainerApp app(shell_handle); |
run_loop.Run(); |
return MOJO_RESULT_OK; |