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

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

Issue 484033003: Open embedded extension options from the extension action context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Open options from context menu as a singleton tab, handle query string Created 6 years, 4 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_options_overlay.js
diff --git a/chrome/browser/resources/extensions/extension_options_overlay.js b/chrome/browser/resources/extensions/extension_options_overlay.js
index 899098d625ec446767be32d832602b97367fd582..383dabd4b2ff8838c8142e7830a936bce7112749 100644
--- a/chrome/browser/resources/extensions/extension_options_overlay.js
+++ b/chrome/browser/resources/extensions/extension_options_overlay.js
@@ -50,6 +50,12 @@ cr.define('extensions', function() {
var extensionoptions = document.querySelector('extensionoptions');
if (extensionoptions)
$('extension-options-overlay').removeChild(extensionoptions);
+
+ // Remove the options query string
Devlin 2014/08/21 17:18:19 nit: .
ericzeng 2014/08/21 17:59:52 Done.
+ window.parent.postMessage({
+ method: 'updateHistory',
+ params: {state: {}, path: '', replace: false}
+ }, 'chrome://chrome');
},
/**

Powered by Google App Engine
This is Rietveld 408576698