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

Unified Diff: extensions/common/api/system_display.idl

Issue 2824843002: MD Settings: Display: Disable orientaiton control in tablet mode (Closed)
Patch Set: Add test and trigger onDisplayChanged Created 3 years, 8 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: extensions/common/api/system_display.idl
diff --git a/extensions/common/api/system_display.idl b/extensions/common/api/system_display.idl
index 1674d1b1f00168f0fddc2d1fb3e61836ca56ebfc..aac4882ed57e1dcad8e097811152f210feb1c845 100644
--- a/extensions/common/api/system_display.idl
+++ b/extensions/common/api/system_display.idl
@@ -133,6 +133,11 @@ namespace system.display {
// for $(ref:enableUnifiedDesktop).
boolean isUnified;
+ // True when the display is in maximize mode. This is enabled for touch
+ // devices with auto rotation. It is only set for the primary display.
+ // The default value is false.
+ boolean? isMaximizeMode;
+
// The number of pixels per inch along the x-axis.
double dpiX;
« no previous file with comments | « chrome/browser/resources/settings/device_page/display.js ('k') | third_party/closure_compiler/externs/system_display.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698