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

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

Issue 2193133002: MD History: Remove focus highlight from sidebar, add back ripples (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: chrome/browser/resources/md_history/side_bar.js
diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js
index a47576a2f8fa54c3b4ad91c4ea5617cd0acf9982..24443025905b2133633eae6984041ba7f590c04a 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -22,15 +22,6 @@ Polymer({
},
},
- focusCurrentPage: function() {
- // The desired behavior is for the app-drawer to focus the currently
- // selected menu item on opening. However, it will always focus the first
- // focusable child. Therefore, we set tabindex=0 on the app-drawer so that
- // it will focus itself and then immediately delegate focus to the selected
- // item in this listener.
- this.$.menu.selectedItem.focus();
- },
-
/** @private */
onSelectorActivate_: function() {
this.fire('history-close-drawer');

Powered by Google App Engine
This is Rietveld 408576698