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

Side by Side Diff: chrome/browser/resources/options/options_settings_app.js

Issue 444373003: typo fix (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 (function() { 5 (function() {
6 if (document.location != 'chrome://settings-frame/options_settings_app.html') 6 if (document.location != 'chrome://settings-frame/options_settings_app.html')
7 return; 7 return;
8 8
9 OptionsPage.setIsSettingsApp(true); 9 OptionsPage.setIsSettingsApp(true);
10 10
11 // Override the offset in the options page. 11 // Override the offset in the options page.
12 PageManager.horizentalOffset = 38; 12 PageManager.horizontalOffset = 38;
Dan Beam 2014/08/07 21:49:19 is there a test for this?
13 13
14 document.addEventListener('DOMContentLoaded', function() { 14 document.addEventListener('DOMContentLoaded', function() {
15 // Hide everything by default. 15 // Hide everything by default.
16 var sections = document.querySelectorAll('section'); 16 var sections = document.querySelectorAll('section');
17 for (var i = 0; i < sections.length; i++) 17 for (var i = 0; i < sections.length; i++)
18 sections[i].hidden = true; 18 sections[i].hidden = true;
19 19
20 var whitelistedSections = [ 20 var whitelistedSections = [
21 'advanced-settings', 21 'advanced-settings',
22 'downloads-section', 22 'downloads-section',
(...skipping 19 matching lines...) Expand all
42 $('profiles-create').hidden = true; 42 $('profiles-create').hidden = true;
43 $('profiles-delete').hidden = true; 43 $('profiles-delete').hidden = true;
44 $('profiles-manage').hidden = true; 44 $('profiles-manage').hidden = true;
45 45
46 // Remove the 'X'es on profiles in the profile list. 46 // Remove the 'X'es on profiles in the profile list.
47 $('profiles-list').canDeleteItems = false; 47 $('profiles-list').canDeleteItems = false;
48 }); 48 });
49 49
50 loadTimeData.overrideValues(loadTimeData.getValue('settingsApp')); 50 loadTimeData.overrideValues(loadTimeData.getValue('settingsApp'));
51 }()); 51 }());
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698