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

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

Issue 10809005: Options: Rename chrome/browser/resources/options2 -> chrome/browser/resources/options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 8 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) 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 // TODO(sail): Refactor options_page and remove this include. 5 // TODO(sail): Refactor options_page and remove this include.
6 <include src="../options2/options_page.js"/> 6 <include src="../options/options_page.js"/>
7 <include src="../shared/js/util.js"/> 7 <include src="../shared/js/util.js"/>
8 <include src="../sync_setup_overlay.js"/> 8 <include src="../sync_setup_overlay.js"/>
9 9
10 cr.define('sync_promo', function() { 10 cr.define('sync_promo', function() {
11 /** 11 /**
12 * SyncPromo class 12 * SyncPromo class
13 * Subclass of options.SyncSetupOverlay that customizes the sync setup 13 * Subclass of options.SyncSetupOverlay that customizes the sync setup
14 * overlay for use in the new tab page. 14 * overlay for use in the new tab page.
15 * @class 15 * @class
16 */ 16 */
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 return { 226 return {
227 SyncPromo: SyncPromo 227 SyncPromo: SyncPromo
228 }; 228 };
229 }); 229 });
230 230
231 var OptionsPage = options.OptionsPage; 231 var OptionsPage = options.OptionsPage;
232 var SyncSetupOverlay = sync_promo.SyncPromo; 232 var SyncSetupOverlay = sync_promo.SyncPromo;
233 window.addEventListener('DOMContentLoaded', sync_promo.SyncPromo.initialize); 233 window.addEventListener('DOMContentLoaded', sync_promo.SyncPromo.initialize);
234 window.addEventListener('unload', 234 window.addEventListener('unload',
235 sync_promo.SyncPromo.onUnload.bind(sync_promo.SyncPromo)); 235 sync_promo.SyncPromo.onUnload.bind(sync_promo.SyncPromo));
OLDNEW
« no previous file with comments | « chrome/browser/resources/options_resources.grd ('k') | chrome/browser/resources/web_dev_style/js_checker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698