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

Unified Diff: chrome/browser/resources/options/personal_options.js

Issue 3012007: Revert 52787 - Make the personal stuff page viewable.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options/personal_options.html ('k') | chrome/browser/resources/options/pref_ui.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/personal_options.js
===================================================================
--- chrome/browser/resources/options/personal_options.js (revision 52809)
+++ chrome/browser/resources/options/personal_options.js (working copy)
@@ -21,51 +21,6 @@
// Call base class implementation to starts preference initialization.
OptionsPage.prototype.initializePage.call(this);
-
- // Listen to pref changes.
- Preferences.getInstance().addEventListener('sync.has_setup_completed',
- function(event) {
- if(event.value){
- $('text-when-synced').style.display = 'block';
- $('button-when-synced').style.display = 'block';
- }
- else{
- $('text-when-not-synced').style.display = 'block';
- $('button-when-not-synced').style.display = 'block';
- }
- });
-
- $('sync-customize').onclick = function(event){
- OptionsPage.showPageByName('sync');
- };
-
- $('showpasswords').onclick = function(event){
- //TODO(sargrass): Show passwords dialog here.
- };
-
- $('autofill_options').onclick = function(event){
- //TODO(sargrass): Show autofill dialog here.
- };
-
- $('import_data').onclick = function(event){
- //TODO(sargrass): Show import_data dialog here.
- };
-
- if(navigator.platform.match(/linux|BSD/i)){
- $('themes_GTK_button').onclick = function(event){
- //TODO(sargrass): Show themes GTK dialog here.
- };
-
- $('themes_set_classic').onclick = function(event){
- //TODO(sargrass): Show themes set classic dialog here.
- };
- }
-
- if(navigator.platform.match(/Mac|Win|CrOS/i)){
- $('themes_reset').onclick = function(event){
- //TODO(sargrass): Show themes reset dialog here.
- };
- }
-
- },
+ // TODO(csilv): add any needed initialization here or delete this method.
+ }
};
« no previous file with comments | « chrome/browser/resources/options/personal_options.html ('k') | chrome/browser/resources/options/pref_ui.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698