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

Unified Diff: chrome/browser/resources/history/history_focus_manager.js

Issue 822663003: Conform selector used in focus manager of history to <cr-menu> element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/history_focus_manager.js
diff --git a/chrome/browser/resources/history/history_focus_manager.js b/chrome/browser/resources/history/history_focus_manager.js
index 84b56c5140ef7b036f2f9db93277d68b709f6a41..610107c418bdaee6e2178947d572bb22435b8f75 100644
--- a/chrome/browser/resources/history/history_focus_manager.js
+++ b/chrome/browser/resources/history/history_focus_manager.js
@@ -22,7 +22,7 @@ HistoryFocusManager.prototype = {
/** @override */
getFocusParent: function() {
return document.querySelector('#overlay .showing') ||
- document.querySelector('menu:not([hidden])') ||
+ document.querySelector('cr-menu:not([hidden])') ||
$('history-page');
},
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698