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

Side by Side Diff: chrome/browser/resources/settings/device_page/display_overscan_dialog.js

Issue 2084673003: MD Settings: Add display layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_547080_display_settings6
Patch Set: Nit Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-display-overscan-dialog' is the dialog for display overscan 7 * 'settings-display-overscan-dialog' is the dialog for display overscan
8 * adjustments. 8 * adjustments.
9 *
10 * @group Chrome Settings Elements
11 */ 9 */
12 10
13 Polymer({ 11 Polymer({
14 is: 'settings-display-overscan-dialog', 12 is: 'settings-display-overscan-dialog',
15 13
16 properties: { 14 properties: {
17 /** Id of the display for which overscan is being applied (or empty). */ 15 /** Id of the display for which overscan is being applied (or empty). */
18 displayId: { 16 displayId: {
19 type: String, 17 type: String,
20 notify: true, 18 notify: true,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 /** @type {!chrome.system.display.Insets} */ var delta = { 137 /** @type {!chrome.system.display.Insets} */ var delta = {
140 left: x, 138 left: x,
141 top: y, 139 top: y,
142 right: x, 140 right: x,
143 bottom: y, 141 bottom: y,
144 }; 142 };
145 settings.display.systemDisplayApi.overscanCalibrationAdjust( 143 settings.display.systemDisplayApi.overscanCalibrationAdjust(
146 this.displayId, delta); 144 this.displayId, delta);
147 } 145 }
148 }); 146 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698