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

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

Issue 271673006: Eliminate all code related to the AutomaticProfileResetter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nit from dbeam@, using new tracked preference deprecation. 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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(engedy): AutomaticSettingsResetBanner is the sole class to derive from
6 // SettingsBannerBase. Refactor this into automatic_settings_reset_banner.js.
7
5 cr.define('options', function() { 8 cr.define('options', function() {
6 9
7 /** 10 /**
8 * Base class for banners that appear at the top of the settings page. 11 * Base class for banners that appear at the top of the settings page.
9 */ 12 */
10 function SettingsBannerBase() {} 13 function SettingsBannerBase() {}
11 14
12 cr.addSingletonGetter(SettingsBannerBase); 15 cr.addSingletonGetter(SettingsBannerBase);
13 16
14 SettingsBannerBase.prototype = { 17 SettingsBannerBase.prototype = {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 this.setVisibilibyDomElement_.hidden = !show; 80 this.setVisibilibyDomElement_.hidden = !show;
78 }, 81 },
79 82
80 }; 83 };
81 84
82 // Export 85 // Export
83 return { 86 return {
84 SettingsBannerBase: SettingsBannerBase 87 SettingsBannerBase: SettingsBannerBase
85 }; 88 };
86 }); 89 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/settings_banner.css ('k') | chrome/browser/ui/profile_reset_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698