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

Unified Diff: services/native_viewport/platform_viewport.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
Index: services/native_viewport/platform_viewport.h
diff --git a/services/native_viewport/platform_viewport.h b/services/native_viewport/platform_viewport.h
index 519265422afcf9536ea21199c6021f0b2392ea62..4d23c739991e4c19aa20548da2a243eafa41681f 100644
--- a/services/native_viewport/platform_viewport.h
+++ b/services/native_viewport/platform_viewport.h
@@ -16,7 +16,7 @@ class Rect;
}
namespace mojo {
-class ApplicationImpl;
+class Shell;
}
namespace native_viewport {
@@ -45,7 +45,9 @@ class PlatformViewport {
virtual gfx::Size GetSize() = 0;
virtual void SetBounds(const gfx::Rect& bounds) = 0;
- static scoped_ptr<PlatformViewport> Create(mojo::ApplicationImpl* application,
+ // TODO(vtl): Maybe this should take an
+ // |InterfaceHandle<ApplicationConnector>| instead of a |Shell*|.
+ static scoped_ptr<PlatformViewport> Create(mojo::Shell* shell,
Delegate* delegate);
};
« no previous file with comments | « services/native_viewport/ozone/platform_viewport_ozone.cc ('k') | services/native_viewport/platform_viewport_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698