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

Unified Diff: services/native_viewport/platform_viewport_android.h

Issue 2011053003: Make PlatformViewport and NativeViewportImpl use Shell* instead of ApplicationImpl*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix android 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/native_viewport/platform_viewport.h ('k') | services/native_viewport/platform_viewport_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/native_viewport/platform_viewport_android.h
diff --git a/services/native_viewport/platform_viewport_android.h b/services/native_viewport/platform_viewport_android.h
index 4a21c893c40e818cd70d79dde926648692cc284b..0f3d816d33fc448c1a0b4717061ba192d7af2e8f 100644
--- a/services/native_viewport/platform_viewport_android.h
+++ b/services/native_viewport/platform_viewport_android.h
@@ -20,7 +20,7 @@ class GLInProcessContext;
}
namespace mojo {
-class ApplicationImpl;
+class Shell;
}
struct ANativeWindow;
@@ -31,8 +31,7 @@ class PlatformViewportAndroid : public PlatformViewport {
public:
static bool Register(JNIEnv* env);
- explicit PlatformViewportAndroid(mojo::ApplicationImpl* application,
- Delegate* delegate);
+ explicit PlatformViewportAndroid(mojo::Shell* shell, Delegate* delegate);
virtual ~PlatformViewportAndroid();
void Destroy(JNIEnv* env, jobject obj);
@@ -69,7 +68,7 @@ class PlatformViewportAndroid : public PlatformViewport {
void ReleaseWindow();
- mojo::ApplicationImpl* application_;
+ mojo::Shell* const shell_;
NativeViewportSupportServicePtr support_service_;
Delegate* const delegate_;
JavaObjectWeakGlobalRef java_platform_viewport_android_;
« no previous file with comments | « services/native_viewport/platform_viewport.h ('k') | services/native_viewport/platform_viewport_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698