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

Side by Side Diff: shell/android/native_viewport_application_loader.h

Issue 1979723002: ApplicationConnection devolution, part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « shell/android/android_handler.cc ('k') | shell/android/native_viewport_application_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ 5 #ifndef MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_
6 #define MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ 6 #define MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_
7 7
8 #include "mojo/public/cpp/application/application_delegate.h" 8 #include "mojo/public/cpp/application/application_delegate.h"
9 #include "mojo/services/gpu/interfaces/gpu.mojom.h" 9 #include "mojo/services/gpu/interfaces/gpu.mojom.h"
10 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h" 10 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h"
(...skipping 17 matching lines...) Expand all
28 ~NativeViewportApplicationLoader(); 28 ~NativeViewportApplicationLoader();
29 29
30 private: 30 private:
31 // ApplicationLoader implementation. 31 // ApplicationLoader implementation.
32 void Load( 32 void Load(
33 const GURL& url, 33 const GURL& url,
34 mojo::InterfaceRequest<mojo::Application> application_request) override; 34 mojo::InterfaceRequest<mojo::Application> application_request) override;
35 35
36 // mojo::ApplicationDelegate implementation. 36 // mojo::ApplicationDelegate implementation.
37 bool ConfigureIncomingConnection( 37 bool ConfigureIncomingConnection(
38 mojo::ApplicationConnection* connection) override; 38 mojo::ServiceProviderImpl* service_provider_impl) override;
39 39
40 scoped_refptr<gles2::GpuState> gpu_state_; 40 scoped_refptr<gles2::GpuState> gpu_state_;
41 scoped_ptr<mojo::ApplicationImpl> app_; 41 scoped_ptr<mojo::ApplicationImpl> app_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(NativeViewportApplicationLoader); 43 DISALLOW_COPY_AND_ASSIGN(NativeViewportApplicationLoader);
44 }; 44 };
45 45
46 } // namespace shell 46 } // namespace shell
47 47
48 #endif // MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ 48 #endif // MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_
OLDNEW
« no previous file with comments | « shell/android/android_handler.cc ('k') | shell/android/native_viewport_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698