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

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

Issue 518653002: Add the "options_ui" extension manifest field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix flag logic and define directive Created 6 years, 3 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_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index f7e0b083cdb589534785a25c90fa35d19807a5db..60ef2f51ac1a052cb0d172b64232135da7c8e354 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -272,7 +272,7 @@ cr.define('options', function() {
if (extension.enabled && extension.optionsUrl) {
var options = node.querySelector('.options-link');
options.addEventListener('click', function(e) {
- if (this.data_.enableEmbeddedExtensionOptions) {
+ if (!extension.options_open_in_tab) {
Devlin 2014/09/02 21:42:29 nit: no unix_hacker_style in js.
ericzeng 2014/09/03 17:52:13 Done.
this.showEmbeddedExtensionOptions_(extension.id, false);
} else {
chrome.send('extensionSettingsOptions', [extension.id]);

Powered by Google App Engine
This is Rietveld 408576698