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

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

Issue 3167028: Fix bug in ImportingData Overlay (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: sync Created 10 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
« no previous file with comments | « chrome/browser/resources/options/import_data_overlay.js ('k') | 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 6
7 var OptionsPage = options.OptionsPage; 7 var OptionsPage = options.OptionsPage;
8 8
9 // 9 //
10 // PersonalOptions class 10 // PersonalOptions class
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 $('autofill_options').onclick = function(event) { 62 $('autofill_options').onclick = function(event) {
63 OptionsPage.showPageByName('autoFillOptions'); 63 OptionsPage.showPageByName('autoFillOptions');
64 }; 64 };
65 65
66 if (!cr.isChromeOS) { 66 if (!cr.isChromeOS) {
67 $('stop-sync').onclick = function(event) { 67 $('stop-sync').onclick = function(event) {
68 OptionsPage.showOverlay('stopSyncingOverlay'); 68 OptionsPage.showOverlay('stopSyncingOverlay');
69 }; 69 };
70 $('import_data').onclick = function(event) { 70 $('import_data').onclick = function(event) {
71 OptionsPage.showOverlay('importDataOverlay'); 71 ImportDataOverlay.loadImporter();
72 OptionsPage.showOverlay('importDataOverlay');
72 }; 73 };
73 } 74 }
74 75
75 if(!cr.isChromeOS && navigator.platform.match(/linux|BSD/i)) { 76 if(!cr.isChromeOS && navigator.platform.match(/linux|BSD/i)) {
76 $('themes_GTK_button').onclick = function(event) { 77 $('themes_GTK_button').onclick = function(event) {
77 chrome.send('themesSetGTK'); 78 chrome.send('themesSetGTK');
78 }; 79 };
79 80
80 $('themes_set_classic').onclick = function(event) { 81 $('themes_set_classic').onclick = function(event) {
81 chrome.send('themesReset'); 82 chrome.send('themesReset');
(...skipping 22 matching lines...) Expand all
104 PersonalOptions.getInstance().syncStatusCallback_(statusString); 105 PersonalOptions.getInstance().syncStatusCallback_(statusString);
105 }; 106 };
106 107
107 // Export 108 // Export
108 return { 109 return {
109 PersonalOptions: PersonalOptions 110 PersonalOptions: PersonalOptions
110 }; 111 };
111 112
112 }); 113 });
113 114
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/import_data_overlay.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698