Change prevents multiple instances of an extension's option page from being opened within one window when teh "Options" button is pressed on the extensions settings page.
Change prevents multiple instances of an extension's option page from being opened within one window when teh "Options" button is pressed on the extensions settings page.

BUG=none
TEST=Install an extension that specifies an options_page in it's manifest file. Open the extensions page (wrench menu) and click the "Options" button for that extension. The options page will open and come to the forefront. Go back to the extensions tab and click "Options" again. The same tab as before should be brought to the forefront.

Review URL: http://codereview.chromium.org/366026
Patch from Akira <akira@yayakoshi.net>.

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@31170 0039d316-1c4b-4281-b951-d872f2087c98

crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,robclark/chromium,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,dushu1203/chromium.src,rogerwang/chromium,patrickm/chromium.src,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,zcbenz/cefode-chromium,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,patrickm/chromium.src,ChromiumWebApps/chromium,hujiajie/pa-chromium,Jonekee/chromium.src,dednal/chromium.src,pozdnyakov/chromium-crosswalk,rogerwang/chromium,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,keishi/chromium,robclark/chromium,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,robclark/chromium,robclark/chromium,axinging/chromium-crosswalk,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,chuan9/chromium-crosswalk,rogerwang/chromium,Chilledheart/chromium,hgl888/chromium-crosswalk,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,fujunwei/chromium-crosswalk,keishi/chromium,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,axinging/chromium-crosswalk,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,nacl-webkit/chrome_deps,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,markYoungH/chromium.src,Just-D/chromium-1,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,zcbenz/cefode-chromium,Chilledheart/chromium,hujiajie/pa-chromium,timopulkkinen/BubbleFish,anirudhSK/chromium,bright-sparks/chromium-spacewalk,anirudhSK/chromium,ondra-novak/chromium.src,ChromiumWebApps/chromium,dednal/chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,M4sse/chromium.src,hgl888/chromium-crosswalk,hujiajie/pa-chromium,Chilledheart/chromium,patrickm/chromium.src,ltilve/chromium,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,chuan9/chromium-crosswalk,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,rogerwang/chromium,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,dushu1203/chromium.src,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,dednal/chromium.src,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,rogerwang/chromium,Pluto-tv/chromium-crosswalk,robclark/chromium,markYoungH/chromium.src,hujiajie/pa-chromium,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,dushu1203/chromium.src,zcbenz/cefode-chromium,markYoungH/chromium.src,axinging/chromium-crosswalk,ChromiumWebApps/chromium,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,anirudhSK/chromium,Fireblend/chromium-crosswalk,ltilve/chromium,jaruba/chromium.src,fujunwei/chromium-crosswalk,rogerwang/chromium,hujiajie/pa-chromium,keishi/chromium,crosswalk-project/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,Just-D/chromium-1,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,ltilve/chromium,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,keishi/chromium,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,nacl-webkit/chrome_deps,robclark/chromium,mogoweb/chromium-crosswalk,robclark/chromium,anirudhSK/chromium,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,keishi/chromium,Just-D/chromium-1,keishi/chromium,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,ondra-novak/chromium.src,timopulkkinen/BubbleFish,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,axinging/chromium-crosswalk,M4sse/chromium.src,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,Chilledheart/chromium,Jonekee/chromium.src,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,dednal/chromium.src,patrickm/chromium.src,ondra-novak/chromium.src,dushu1203/chromium.src,dushu1203/chromium.src,ltilve/chromium,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,littlstar/chromium.src,Jonekee/chromium.src,keishi/chromium,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,zcbenz/cefode-chromium,Fireblend/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,crosswalk-project/chromium-crosswalk-efl,jaruba/chromium.src,ondra-novak/chromium.src,dednal/chromium.src,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,littlstar/chromium.src,nacl-webkit/chrome_deps,patrickm/chromium.src,keishi/chromium,timopulkkinen/BubbleFish,hujiajie/pa-chromium,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,Chilledheart/chromium,nacl-webkit/chrome_deps,M4sse/chromium.src,dednal/chromium.src,fujunwei/chromium-crosswalk,dushu1203/chromium.src,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,jaruba/chromium.src,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,Chilledheart/chromium,anirudhSK/chromium,rogerwang/chromium,littlstar/chromium.src,robclark/chromium,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,rogerwang/chromium,Chilledheart/chromium,chuan9/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,jaruba/chromium.src,hgl888/chromium-crosswalk,Jonekee/chromium.src,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,Chilledheart/chromium,jaruba/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,littlstar/chromium.src,markYoungH/chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,ltilve/chromium,krieger-od/nwjs_chromium.src,anirudhSK/chromium,markYoungH/chromium.src,rogerwang/chromium,bright-sparks/chromium-spacewalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,chuan9/chromium-crosswalk,hujiajie/pa-chromium,chuan9/chromium-crosswalk,M4sse/chromium.src,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,Fireblend/chromium-crosswalk,markYoungH/chromium.src,ltilve/chromium,patrickm/chromium.src,markYoungH/chromium.src,dednal/chromium.src,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,dednal/chromium.src,hgl888/chromium-crosswalk,rogerwang/chromium,dednal/chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,dednal/chromium.src,robclark/chromium,markYoungH/chromium.src,M4sse/chromium.src,keishi/chromium,Just-D/chromium-1,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,M4sse/chromium.src,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,keishi/chromium,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,junmin-zhu/chromium-rivertrail,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,ltilve/chromium,timopulkkinen/BubbleFish,jaruba/chromium.src,keishi/chromium,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ltilve/chromium,ondra-novak/chromium.src,Just-D/chromium-1,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,Just-D/chromium-1,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,dushu1203/chromium.src,fujunwei/chromium-crosswalk,Just-D/chromium-1