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

Unified Diff: chrome/browser/resources/md_downloads/crisper.js

Issue 2171073002: MD Downloads: roll <paper-menu-button> to pick up restoreFocusOnClose change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@roll-polymer
Patch Set: . 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_downloads/vulcanized.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/crisper.js
diff --git a/chrome/browser/resources/md_downloads/crisper.js b/chrome/browser/resources/md_downloads/crisper.js
index 6551b1daa635f64c608238701a4b1242e25ef856..9990411f016174e3bf56cfaa7a3b284af5b58e2f 100644
--- a/chrome/browser/resources/md_downloads/crisper.js
+++ b/chrome/browser/resources/md_downloads/crisper.js
@@ -10555,6 +10555,14 @@ Polymer({
},
/**
+ * Whether focus should be restored to the button when the menu closes.
+ */
+ restoreFocusOnClose: {
+ type: Boolean,
+ value: true
+ },
+
+ /**
* This is the element intended to be bound as the focus target
* for the `iron-dropdown` contained by `paper-menu-button`.
*/
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698