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

Unified Diff: chrome/browser/resources/settings/pref_tracker/pref_tracker.js

Issue 1131793002: Upgrade checkbox, pref-tracker, and prefs to 0.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@crelements
Patch Set: update settings_resources.grd Created 5 years, 7 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
Index: chrome/browser/resources/settings/pref_tracker/pref_tracker.js
diff --git a/chrome/browser/resources/settings/pref_tracker/pref_tracker.js b/chrome/browser/resources/settings/pref_tracker/pref_tracker.js
index 29fa6ef22cab39776fe2ed96d42f019e0c02269e..b042ecafb332267780d5511da7f5b582fe256e3b 100644
--- a/chrome/browser/resources/settings/pref_tracker/pref_tracker.js
+++ b/chrome/browser/resources/settings/pref_tracker/pref_tracker.js
@@ -35,20 +35,18 @@
document.addEventListener(CrSettingsPrefs.INITIALIZED, validateAll_);
- Polymer('cr-settings-pref-tracker', {
- publish: {
+ Polymer({
+ is: 'cr-settings-pref-tracker',
+
+ properties: {
/**
* The Preference object being tracked.
- *
- * @attribute pref
- * @type {Object}
- * @default null
+ * @type {?chrome.settingsPrivate.PrefObject}
*/
- pref: null,
- },
-
- observe: {
- pref: 'validate_',
+ pref: {
+ type: Object,
+ observer: 'validate_',
+ },
},
/** @override */
« no previous file with comments | « chrome/browser/resources/settings/pref_tracker/pref_tracker.html ('k') | chrome/browser/resources/settings/prefs/prefs.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698