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

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: 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.h
diff --git a/mojo/services/native_viewport/native_viewport.h b/mojo/services/native_viewport/native_viewport.h
index d33f33ff889f30c198ffec659a7d3f17b3e7682b..f1c764e49c14a576886ef3c50313ae4e24607c63 100644
--- a/mojo/services/native_viewport/native_viewport.h
+++ b/mojo/services/native_viewport/native_viewport.h
@@ -19,12 +19,10 @@ class Event;
}
namespace mojo {
-namespace shell {
-class Context;
-}
-
namespace services {
+class NativeViewportContext;
+
class NativeViewportDelegate {
public:
virtual ~NativeViewportDelegate() {}
@@ -53,7 +51,7 @@ class NativeViewport {
virtual void ReleaseCapture() = 0;
// |context| is NULL when loaded into separate process.
- static scoped_ptr<NativeViewport> Create(shell::Context* context,
+ static scoped_ptr<NativeViewport> Create(NativeViewportContext* context,
NativeViewportDelegate* delegate);
};

Powered by Google App Engine
This is Rietveld 408576698