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

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

Issue 517413002: Compile chrome://settings, part 1: remove all warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: s/event/Event/ 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 /** @const */ var SettingsDialog = options.SettingsDialog; 6 /** @const */ var SettingsDialog = options.SettingsDialog;
7 7
8 /** 8 /**
9 * PointerOverlay class 9 * PointerOverlay class
10 * Dialog that allows users to set pointer settings (touchpad/mouse). 10 * Dialog that allows users to set pointer settings (touchpad/mouse).
11 * @extends {SettingsDialog} 11 * @constructor
12 * @extends {options.SettingsDialog}
12 */ 13 */
13 function PointerOverlay() { 14 function PointerOverlay() {
14 // The title is updated dynamically in the setTitle method as pointer 15 // The title is updated dynamically in the setTitle method as pointer
15 // devices are discovered or removed. 16 // devices are discovered or removed.
16 SettingsDialog.call(this, 'pointer-overlay', 17 SettingsDialog.call(this, 'pointer-overlay',
17 '', 'pointer-overlay', 18 '', 'pointer-overlay',
18 $('pointer-overlay-confirm'), 19 $('pointer-overlay-confirm'),
19 $('pointer-overlay-cancel')); 20 $('pointer-overlay-cancel'));
20 } 21 }
21 22
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 button.hidden = true; 62 button.hidden = true;
62 noPointersLabel.hidden = false; 63 noPointersLabel.hidden = false;
63 } 64 }
64 }; 65 };
65 66
66 // Export 67 // Export
67 return { 68 return {
68 PointerOverlay: PointerOverlay 69 PointerOverlay: PointerOverlay
69 }; 70 };
70 }); 71 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698