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

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

Issue 426723004: options: Remove a bunch of useless: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 7
8 /** 8 /**
9 * Encapsulated handling of the 'DisplayOverscan' page. 9 * Encapsulated handling of the 'DisplayOverscan' page.
10 * @constructor 10 * @constructor
(...skipping 14 matching lines...) Expand all
25 * @private 25 * @private
26 */ 26 */
27 id_: null, 27 id_: null,
28 28
29 /** 29 /**
30 * The keyboard event handler function. 30 * The keyboard event handler function.
31 * @private 31 * @private
32 */ 32 */
33 keyHandler_: null, 33 keyHandler_: null,
34 34
35 /** 35 /** @override */
36 * Initialize the page.
37 */
38 initializePage: function() { 36 initializePage: function() {
39 OptionsPage.prototype.initializePage.call(this); 37 OptionsPage.prototype.initializePage.call(this);
40 38
41 this.keyHandler_ = this.handleKeyevent_.bind(this); 39 this.keyHandler_ = this.handleKeyevent_.bind(this);
42 $('display-overscan-operation-reset').onclick = function() { 40 $('display-overscan-operation-reset').onclick = function() {
43 chrome.send('reset'); 41 chrome.send('reset');
44 }; 42 };
45 $('display-overscan-operation-ok').onclick = function() { 43 $('display-overscan-operation-ok').onclick = function() {
46 chrome.send('commit'); 44 chrome.send('commit');
47 OptionsPage.closeOverlay(); 45 OptionsPage.closeOverlay();
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 149
152 DisplayOverscan.onOverscanCanceled = function() { 150 DisplayOverscan.onOverscanCanceled = function() {
153 DisplayOverscan.getInstance().onOverscanCanceled_(); 151 DisplayOverscan.getInstance().onOverscanCanceled_();
154 }; 152 };
155 153
156 // Export 154 // Export
157 return { 155 return {
158 DisplayOverscan: DisplayOverscan 156 DisplayOverscan: DisplayOverscan
159 }; 157 };
160 }); 158 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698