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

Unified Diff: chrome/browser/resources/settings/device_page/display.html

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: chrome/browser/resources/settings/device_page/display.html
diff --git a/chrome/browser/resources/settings/device_page/display.html b/chrome/browser/resources/settings/device_page/display.html
index a3d4928568292caeb47d772f3a9dcd16e6b5c5d2..097679349256de8ff5e947c5fa3d31fd70e0e9dd 100644
--- a/chrome/browser/resources/settings/device_page/display.html
+++ b/chrome/browser/resources/settings/device_page/display.html
@@ -154,6 +154,7 @@
</div>
<div class="md-select-wrapper">
<select class="md-select" value="[[selectedDisplay.rotation]]"
+ disabled="[[!enableOrientation_(selectedDisplay)]]"
aria-labelledby="displayOrientation"
on-change="onOrientationChange_">
<option value="0">$i18n{displayOrientationStandard}</option>

Powered by Google App Engine
This is Rietveld 408576698