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

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

Issue 11193013: settings: fix search (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/options/options_page.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 var AddLanguageOverlay = options.AddLanguageOverlay; 5 var AddLanguageOverlay = options.AddLanguageOverlay;
6 var AlertOverlay = options.AlertOverlay; 6 var AlertOverlay = options.AlertOverlay;
7 var AutofillEditAddressOverlay = options.AutofillEditAddressOverlay; 7 var AutofillEditAddressOverlay = options.AutofillEditAddressOverlay;
8 var AutofillEditCreditCardOverlay = options.AutofillEditCreditCardOverlay; 8 var AutofillEditCreditCardOverlay = options.AutofillEditCreditCardOverlay;
9 var AutofillOptions = options.AutofillOptions; 9 var AutofillOptions = options.AutofillOptions;
10 var BrowserOptions = options.BrowserOptions; 10 var BrowserOptions = options.BrowserOptions;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 BrowserOptions.getInstance(), 77 BrowserOptions.getInstance(),
78 [$('privacyContentSettingsButton')]); 78 [$('privacyContentSettingsButton')]);
79 OptionsPage.registerOverlay(ContentSettingsExceptionsArea.getInstance(), 79 OptionsPage.registerOverlay(ContentSettingsExceptionsArea.getInstance(),
80 ContentSettings.getInstance()); 80 ContentSettings.getInstance());
81 OptionsPage.registerOverlay(CookiesView.getInstance(), 81 OptionsPage.registerOverlay(CookiesView.getInstance(),
82 ContentSettings.getInstance(), 82 ContentSettings.getInstance(),
83 [$('privacyContentSettingsButton'), 83 [$('privacyContentSettingsButton'),
84 $('show-cookies-button')]); 84 $('show-cookies-button')]);
85 OptionsPage.registerOverlay(CookiesViewApp.getInstance(), 85 OptionsPage.registerOverlay(CookiesViewApp.getInstance(),
86 ContentSettings.getInstance(), 86 ContentSettings.getInstance(),
87 [$('privacyContentSettingsButton'), 87 [$('privacyContentSettingsButton')]);
88 $('show-app-cookies-button')]);
89 OptionsPage.registerOverlay(DoNotTrackConfirmOverlay.getInstance(), 88 OptionsPage.registerOverlay(DoNotTrackConfirmOverlay.getInstance(),
90 BrowserOptions.getInstance()); 89 BrowserOptions.getInstance());
91 OptionsPage.registerOverlay(FontSettings.getInstance(), 90 OptionsPage.registerOverlay(FontSettings.getInstance(),
92 BrowserOptions.getInstance(), 91 BrowserOptions.getInstance(),
93 [$('fontSettingsCustomizeFontsButton')]); 92 [$('fontSettingsCustomizeFontsButton')]);
94 if (HandlerOptions && $('manage-handlers-button')) { 93 if (HandlerOptions && $('manage-handlers-button')) {
95 OptionsPage.registerOverlay(HandlerOptions.getInstance(), 94 OptionsPage.registerOverlay(HandlerOptions.getInstance(),
96 ContentSettings.getInstance(), 95 ContentSettings.getInstance(),
97 [$('manage-handlers-button')]); 96 [$('manage-handlers-button')]);
98 } 97 }
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 options.OptionsPage.willClose(); 233 options.OptionsPage.willClose();
235 }; 234 };
236 235
237 /** 236 /**
238 * Listener for the |popstate| event. 237 * Listener for the |popstate| event.
239 * @param {Event} e The |popstate| event. 238 * @param {Event} e The |popstate| event.
240 */ 239 */
241 window.onpopstate = function(e) { 240 window.onpopstate = function(e) {
242 options.OptionsPage.setState(e.state); 241 options.OptionsPage.setState(e.state);
243 }; 242 };
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options/options_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698