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

Unified Diff: public/platform/WebDisplayMode.h

Issue 870933002: Make it possible to set the display mode from the WebView API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Using enum now Created 5 years, 11 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 | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDisplayMode.h
diff --git a/public/platform/WebDisplayMode.h b/public/platform/WebDisplayMode.h
new file mode 100644
index 0000000000000000000000000000000000000000..7fcc900bb55a39cef59e9aa7b0b07a85a0253f43
--- /dev/null
+++ b/public/platform/WebDisplayMode.h
@@ -0,0 +1,20 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebDisplayMode_h
+#define WebDisplayMode_h
+
+namespace blink {
+
+enum WebDisplayMode {
+ WebDisplayModeUndefined, // User for override setting (ie. not set).
+ WebDisplayModeBrowser,
+ WebDisplayModeMinimalUi,
+ WebDisplayModeStandalone,
+ WebDisplayModeFullscreen
+};
+
+} // namespace blink
+
+#endif // WebDisplayMode_h
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698