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

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

Issue 1132793005: Update settings.html and settings.js to Polymer 0.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust with new shared prefs_ property 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
« no previous file with comments | « chrome/browser/resources/settings/settings.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings.js
diff --git a/chrome/browser/resources/settings/settings.js b/chrome/browser/resources/settings/settings.js
index e6a0fc9e201e789e49bdb55d2c3e43b4dd5e8c07..483ef9949ee93fb864991b28df05cdd90dcad2d7 100644
--- a/chrome/browser/resources/settings/settings.js
+++ b/chrome/browser/resources/settings/settings.js
@@ -13,4 +13,18 @@
* @group Chrome Settings Elements
* @element cr-settings
*/
-Polymer('cr-settings', {});
+Polymer({
+ is: 'cr-settings',
+
+ properties {
+ /**
+ * The CrSettingsPrefsElement used throughout the app.
+ * @private {!CrSettingsPrefsElement}
+ */
+ prefs_: {
+ type: Object,
+ value: function() { return this.$.prefs; },
+ notify: true,
+ }
+ },
+});
« no previous file with comments | « chrome/browser/resources/settings/settings.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698