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

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

Issue 1162293008: Fix some lingering WebUI focus issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not more or less hacky, just hacky in a different way... Created 5 years, 6 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_commands_overlay.js
diff --git a/chrome/browser/resources/extensions/extension_commands_overlay.js b/chrome/browser/resources/extensions/extension_commands_overlay.js
index ab56eb4e1719d0ef3a5c43d1ebc754ff27abc07d..9b51f341f90fc764d2f789ad9de6f40fc5a399e3 100644
--- a/chrome/browser/resources/extensions/extension_commands_overlay.js
+++ b/chrome/browser/resources/extensions/extension_commands_overlay.js
@@ -34,8 +34,9 @@ cr.define('extensions', function() {
this.extensionCommandList_ = new ExtensionCommandList(
/**@type {HTMLDivElement} */($('extension-command-list')));
- $('extension-commands-dismiss').addEventListener('click',
- this.handleDismiss_.bind(this));
+ $('extension-commands-dismiss').addEventListener('click', function() {
+ cr.dispatchSimpleEvent(overlay, 'cancelOverlay');
+ });
// The ExtensionList will update us with its data, so we don't need to
// handle that here.

Powered by Google App Engine
This is Rietveld 408576698