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

Unified Diff: services/native_viewport/platform_viewport_headless.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_headless.h
diff --git a/services/native_viewport/platform_viewport_headless.h b/services/native_viewport/platform_viewport_headless.h
index 2cfcbda20e0d6dcf1e0d749be2a293d10f4b387d..e821ccbcfbe9a7b3bd5fd3506d4e55c5a2e5fd40 100644
--- a/services/native_viewport/platform_viewport_headless.h
+++ b/services/native_viewport/platform_viewport_headless.h
@@ -27,6 +27,7 @@ class PlatformViewportHeadless : public PlatformViewport {
void Close() override;
gfx::Size GetSize() override;
void SetBounds(const gfx::Rect& bounds) override;
+ bool NewNativeSurfaceAvailable() override;
Delegate* delegate_;
mojo::ViewportMetricsPtr metrics_;

Powered by Google App Engine
This is Rietveld 408576698