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

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

Issue 18593003: Disable mouse-focus of buttons in some WebUI pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a public function to FocusManager Created 7 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 | « chrome/browser/resources/history/history.html ('k') | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/history.js
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
index f1eac1f3d008f2887330e1cc63f670718fa03c24..fbb02cb3bd44bb10cf9127df6ac925ce5b578732 100644
--- a/chrome/browser/resources/history/history.js
+++ b/chrome/browser/resources/history/history.js
@@ -1528,6 +1528,8 @@ function load() {
window.addEventListener('resize',
historyView.positionNotificationBar.bind(historyView));
+ cr.ui.FocusManager.disableMouseFocusOnButtons();
+
if (isMobileVersion()) {
if (searchField) {
// Move the search box out of the header.
« no previous file with comments | « chrome/browser/resources/history/history.html ('k') | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698