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

Side by Side Diff: chrome/browser/resources/options/chromeos/display_overscan.js

Issue 566063002: Compile chrome://settings, part 8: the final battle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@H_options_errors_6
Patch Set: Created 6 years, 3 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 cr.define('options', function() { 5 cr.define('options', function() {
6 var Page = cr.ui.pageManager.Page; 6 var Page = cr.ui.pageManager.Page;
7 var PageManager = cr.ui.pageManager.PageManager; 7 var PageManager = cr.ui.pageManager.PageManager;
8 8
9 /** 9 /**
10 * Encapsulated handling of the 'DisplayOverscan' page. 10 * Encapsulated handling of the 'DisplayOverscan' page.
11 * @constructor 11 * @constructor
12 * @extends {cr.ui.pageManager.Page} 12 * @extends {cr.ui.pageManager.Page}
13 */ 13 */
14 function DisplayOverscan() { 14 function DisplayOverscan() {
15 Page.call(this, 'displayOverscan', 15 Page.call(this, 'displayOverscan',
16 loadTimeData.getString('displayOverscanPageTabTitle'), 16 loadTimeData.getString('displayOverscanPageTabTitle'),
17 'display-overscan-page'); 17 'display-overscan-page');
18 } 18 }
19 19
20 cr.addSingletonGetter(DisplayOverscan); 20 cr.addSingletonGetter(DisplayOverscan);
21 21
22 DisplayOverscan.prototype = { 22 DisplayOverscan.prototype = {
23 __proto__: Page.prototype, 23 __proto__: Page.prototype,
24 24
25 /** 25 /**
26 * The ID of the target display. 26 * The ID of the target display.
27 * @type {?string}
27 * @private 28 * @private
Dan Beam 2014/09/12 23:36:12 nit: @private {?string}
Vitaly Pavlenko 2014/09/13 00:02:36 Done.
28 */ 29 */
29 id_: null, 30 id_: null,
30 31
31 /** 32 /**
32 * The keyboard event handler function. 33 * The keyboard event handler function.
33 * @private 34 * @private
34 */ 35 */
35 keyHandler_: null, 36 keyHandler_: null,
36 37
37 /** @override */ 38 /** @override */
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 152
152 DisplayOverscan.onOverscanCanceled = function() { 153 DisplayOverscan.onOverscanCanceled = function() {
153 DisplayOverscan.getInstance().onOverscanCanceled_(); 154 DisplayOverscan.getInstance().onOverscanCanceled_();
154 }; 155 };
155 156
156 // Export 157 // Export
157 return { 158 return {
158 DisplayOverscan: DisplayOverscan 159 DisplayOverscan: DisplayOverscan
159 }; 160 };
160 }); 161 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698