Index: chrome/ext/background.js |
diff --git a/chrome/ext/background.js b/chrome/ext/background.js |
index 092908d6b271e18c2f7ae49c3b07865bb711e2c6..5ebb6f7360b162ee1c2dd5e7d3a941d0e31afb0d 100644 |
--- a/chrome/ext/background.js |
+++ b/chrome/ext/background.js |
@@ -557,11 +557,13 @@ |
/* Options */ |
- ext.showOptions = function(callback) |
+ ext.showOptions = function(newOptionsPage, callback) |
{ |
chrome.windows.getLastFocused(function(win) |
{ |
- var optionsUrl = chrome.extension.getURL("options.html"); |
+ var optionsUrl = chrome.extension.getURL( |
+ newOptionsPage ? "new-options.html" : "options.html" |
+ ); |
var queryInfo = {url: optionsUrl}; |
// extension pages can't be accessed in incognito windows. In order to |