[Mac] Restore the individually selected tab from a window when using the History menu, rather than always (mistakenly) restoring the first one.
[Mac] Restore the individually selected tab from a window when using the History menu, rather than always (mistakenly) restoring the first one.

BUG=47779
TEST=Open a new window, navigate three tabs. Close the window. Select History-->3 Tabs and then choose the middle tab. It is restored properly.

Review URL: http://codereview.chromium.org/2802029

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

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