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

Unified Diff: chrome/browser/resources/md_history/history_item.js

Issue 2336503002: Replace paper-checkbox with a paper-icon-button-light (Closed)
Patch Set: Created 4 years, 3 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/md_history/history_item.js
diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js
index 4d369a3b423f0a66d1aa760427f3918cde85cb13..8f09ce14115888a596fd49f24cebcef0eee45baa 100644
--- a/chrome/browser/resources/md_history/history_item.js
+++ b/chrome/browser/resources/md_history/history_item.js
@@ -14,7 +14,7 @@ cr.define('md_history', function() {
// Search term used to obtain this history-item.
searchTerm: {type: String},
- selected: {type: Boolean, notify: true},
+ selected: {type: Boolean, reflectToAttribute: true},
isFirstItem: {type: Boolean, reflectToAttribute: true},
@@ -74,6 +74,15 @@ cr.define('md_history', function() {
},
/**
+ * @param {bool} bool
+ * @return {string}
+ * @private
+ */
+ getBoolString_: function(bool) {
+ return bool ? 'true' : 'false';
+ },
+
+ /**
* Remove bookmark of current item when bookmark-star is clicked.
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698