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

Unified Diff: chrome/browser/resources/uber/uber_frame.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/uber/uber_frame.html ('k') | ui/webui/resources/js/cr/ui/focus_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/uber/uber_frame.js
diff --git a/chrome/browser/resources/uber/uber_frame.js b/chrome/browser/resources/uber/uber_frame.js
index cd0fbc39cfc70dc6784f9b8c10bf4e45a0875a74..8c5bb3bfe5c6be5c5c40373a6532f72a720c66d0 100644
--- a/chrome/browser/resources/uber/uber_frame.js
+++ b/chrome/browser/resources/uber/uber_frame.js
@@ -26,6 +26,7 @@ cr.define('uber_frame', function() {
uber.invokeMethodOnParent('navigationControlsLoaded');
document.documentElement.addEventListener('mousewheel', onMouseWheel);
+ cr.ui.FocusManager.disableMouseFocusOnButtons();
}
/**
« no previous file with comments | « chrome/browser/resources/uber/uber_frame.html ('k') | ui/webui/resources/js/cr/ui/focus_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698