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

Unified Diff: mojo/services/native_viewport/native_viewport.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
« no previous file with comments | « no previous file | mojo/services/native_viewport/native_viewport_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/native_viewport.h
diff --git a/mojo/services/native_viewport/native_viewport.h b/mojo/services/native_viewport/native_viewport.h
index d33f33ff889f30c198ffec659a7d3f17b3e7682b..ae2b0610f1a62e24d2cbe5e6c6f7bb8928e7d45c 100644
--- a/mojo/services/native_viewport/native_viewport.h
+++ b/mojo/services/native_viewport/native_viewport.h
@@ -19,10 +19,6 @@ class Event;
}
namespace mojo {
-namespace shell {
-class Context;
-}
-
namespace services {
class NativeViewportDelegate {
@@ -52,9 +48,7 @@ class NativeViewport {
virtual void SetCapture() = 0;
virtual void ReleaseCapture() = 0;
- // |context| is NULL when loaded into separate process.
- static scoped_ptr<NativeViewport> Create(shell::Context* context,
- NativeViewportDelegate* delegate);
+ static scoped_ptr<NativeViewport> Create(NativeViewportDelegate* delegate);
};
} // namespace services
« no previous file with comments | « no previous file | mojo/services/native_viewport/native_viewport_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698