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

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: rebase Created 6 years, 2 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 * @private 27 * @private {?string}
28 */ 28 */
29 id_: null, 29 id_: null,
30 30
31 /** 31 /**
32 * The keyboard event handler function. 32 * The keyboard event handler function.
33 * @private 33 * @private
34 */ 34 */
35 keyHandler_: null, 35 keyHandler_: null,
36 36
37 /** @override */ 37 /** @override */
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 DisplayOverscan.onOverscanCanceled = function() { 152 DisplayOverscan.onOverscanCanceled = function() {
153 DisplayOverscan.getInstance().onOverscanCanceled_(); 153 DisplayOverscan.getInstance().onOverscanCanceled_();
154 }; 154 };
155 155
156 // Export 156 // Export
157 return { 157 return {
158 DisplayOverscan: DisplayOverscan 158 DisplayOverscan: DisplayOverscan
159 }; 159 };
160 }); 160 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/resources/options/chromeos/internet_detail.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698