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

Unified Diff: chrome/browser/resources/md_extensions/item.js

Issue 2140513003: [MD Extensions] Update polymer properties ordering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Michael's Created 4 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 | « no previous file | chrome/browser/resources/md_extensions/manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_extensions/item.js
diff --git a/chrome/browser/resources/md_extensions/item.js b/chrome/browser/resources/md_extensions/item.js
index d2910d97c04abd7ab8cb937af58d532a1a0a1700..6f043c66de6fe2602428fda266b7777977b535f4 100644
--- a/chrome/browser/resources/md_extensions/item.js
+++ b/chrome/browser/resources/md_extensions/item.js
@@ -62,6 +62,8 @@ cr.define('extensions', function() {
var Item = Polymer({
is: 'extensions-item',
+ behaviors: [I18nBehavior],
+
properties: {
// The item's delegate, or null.
delegate: {
@@ -74,23 +76,20 @@ cr.define('extensions', function() {
value: false,
},
- // Whether or not the expanded view of the item is shown.
- showingDetails_: {
- type: Boolean,
- value: false,
- },
-
// The underlying ExtensionInfo itself. Public for use in declarative
// bindings.
/** @type {chrome.developerPrivate.ExtensionInfo} */
data: {
type: Object,
},
- },
- behaviors: [
- I18nBehavior,
- ],
+ // Whether or not the expanded view of the item is shown.
+ /** @private */
+ showingDetails_: {
+ type: Boolean,
+ value: false,
+ },
+ },
observers: [
'observeIdVisibility_(inDevMode, showingDetails_, data.id)',
« no previous file with comments | « no previous file | chrome/browser/resources/md_extensions/manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698