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

Unified Diff: services/native_viewport/platform_viewport.h

Issue 1280613003: Allow native_viewport to create new native windows on demand on Android. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 69bc4c7b2624f2017df531061a9b8e368eebdb77..04cc7ed2dd8325daf71028f87d8efa24b390bd31 100644
--- a/services/native_viewport/platform_viewport.h
+++ b/services/native_viewport/platform_viewport.h
@@ -15,6 +15,10 @@ namespace gfx {
class Rect;
}
+namespace mojo {
+class ApplicationImpl;
+}
+
namespace native_viewport {
// Encapsulation of platform-specific Viewport.
@@ -41,7 +45,8 @@ class PlatformViewport {
virtual gfx::Size GetSize() = 0;
virtual void SetBounds(const gfx::Rect& bounds) = 0;
- static scoped_ptr<PlatformViewport> Create(Delegate* delegate);
+ static scoped_ptr<PlatformViewport> Create(mojo::ApplicationImpl* application,
+ Delegate* delegate);
};
} // namespace native_viewport
« no previous file with comments | « services/native_viewport/native_viewport_internal.mojom ('k') | services/native_viewport/platform_viewport_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698