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

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: Cleanup 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..48f0680732b7fe909b1047dcfe78abafe2c9fb9b 100644
--- a/mojo/services/native_viewport/native_viewport_android.h
+++ b/mojo/services/native_viewport/native_viewport_android.h
@@ -29,7 +29,7 @@ class MOJO_NATIVE_VIEWPORT_EXPORT NativeViewportAndroid
public:
static MOJO_NATIVE_VIEWPORT_EXPORT bool Register(JNIEnv* env);
- explicit NativeViewportAndroid(shell::Context* context,
+ explicit NativeViewportAndroid(NativeViewportContext* context,
NativeViewportDelegate* delegate);
virtual ~NativeViewportAndroid();
@@ -54,7 +54,7 @@ class MOJO_NATIVE_VIEWPORT_EXPORT NativeViewportAndroid
void ReleaseWindow();
NativeViewportDelegate* delegate_;
- shell::Context* context_;
+ NativeViewportContext* context_;
ANativeWindow* window_;
gfx::Rect bounds_;
ui::SequentialIDGenerator id_generator_;

Powered by Google App Engine
This is Rietveld 408576698