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

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: Rebase. 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() {
Evan Stade 2010/12/16 21:06:47 why not just use item.addEventListener('selectedC
James Hawkins 2010/12/16 23:03:01 That's an option, but arv and I agree it's better
+ },
};
/**

Powered by Google App Engine
This is Rietveld 408576698