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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/list_item.js

Issue 5935003: DOMUI: Implement new-style password manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 10 years 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/shared/js/cr/ui/list_item.js
diff --git a/chrome/browser/resources/shared/js/cr/ui/list_item.js b/chrome/browser/resources/shared/js/cr/ui/list_item.js
index 283216f9b2bea2e217d9d83f64683ae00585f060..4674bbbdf377ea03e5a4b56523763f55bf38b47c 100644
--- a/chrome/browser/resources/shared/js/cr/ui/list_item.js
+++ b/chrome/browser/resources/shared/js/cr/ui/list_item.js
@@ -30,7 +30,13 @@ cr.define('cr.ui', function() {
* Called when an element is decorated as a list item.
*/
decorate: function() {
- }
+ },
+
+ /**
+ * Called when the selection state of this element changes.
+ */
+ selectionChanged: function() {
arv (Not doing code reviews) 2010/12/17 20:07:34 I think a better way is to change the current sele
James Hawkins 2010/12/17 21:32:40 Ok, I think I've made the change like you've sugge
+ },
};
/**

Powered by Google App Engine
This is Rietveld 408576698