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

Unified Diff: mojo/services/native_viewport/native_viewport_android.h

Issue 404913002: Break dependency of native_viewport_service on mojo::shell::Context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move call to GetApplicationContext() to native_viewport_android Created 6 years, 5 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
Index: mojo/services/native_viewport/native_viewport_android.h
diff --git a/mojo/services/native_viewport/native_viewport_android.h b/mojo/services/native_viewport/native_viewport_android.h
index c24e38e7858a0d54e4f7d6d8280ed2ff6706666d..e9c8677366592497d9cf3ec8992483c59e3624f4 100644
--- a/mojo/services/native_viewport/native_viewport_android.h
+++ b/mojo/services/native_viewport/native_viewport_android.h
@@ -29,8 +29,7 @@ class MOJO_NATIVE_VIEWPORT_EXPORT NativeViewportAndroid
public:
static MOJO_NATIVE_VIEWPORT_EXPORT bool Register(JNIEnv* env);
- explicit NativeViewportAndroid(shell::Context* context,
- NativeViewportDelegate* delegate);
+ explicit NativeViewportAndroid(NativeViewportDelegate* delegate);
virtual ~NativeViewportAndroid();
void Destroy(JNIEnv* env, jobject obj);
@@ -54,7 +53,6 @@ class MOJO_NATIVE_VIEWPORT_EXPORT NativeViewportAndroid
void ReleaseWindow();
NativeViewportDelegate* delegate_;
- shell::Context* context_;
ANativeWindow* window_;
gfx::Rect bounds_;
ui::SequentialIDGenerator id_generator_;
« no previous file with comments | « mojo/services/native_viewport/native_viewport.h ('k') | mojo/services/native_viewport/native_viewport_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698