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

Unified Diff: chrome/browser/resources/extensions/extension_focus_manager.js

Issue 862403006: extensions: fix focus management for all dialogs (not just options). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@classList-fix
Patch Set: toggle Created 5 years, 10 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/extensions/extension_focus_manager.js
diff --git a/chrome/browser/resources/extensions/extension_focus_manager.js b/chrome/browser/resources/extensions/extension_focus_manager.js
index b2200245b6e03a56fcd94f939da2a4dfc7a3c836..377744caaeb0925b474ed5d303a9bf6a91a9534b 100644
--- a/chrome/browser/resources/extensions/extension_focus_manager.js
+++ b/chrome/browser/resources/extensions/extension_focus_manager.js
@@ -3,16 +3,16 @@
// found in the LICENSE file.
cr.define('extensions', function() {
- var FocusManager = cr.ui.FocusManager;
-
- function ExtensionFocusManager() {
- FocusManager.disableMouseFocusOnButtons();
- }
+ /**
+ * @constructor
+ * @extends {cr.ui.FocusManager}
+ */
+ function ExtensionFocusManager() {}
cr.addSingletonGetter(ExtensionFocusManager);
ExtensionFocusManager.prototype = {
- __proto__: FocusManager.prototype,
+ __proto__: cr.ui.FocusManager.prototype,
/** @override */
getFocusParent: function() {

Powered by Google App Engine
This is Rietveld 408576698