Revert 153206 - Re-enable Ctrl-w and Ctrl-Shift-w when a non-Pepper window is maximized.
Revert 153206 - Re-enable Ctrl-w and Ctrl-Shift-w when a non-Pepper window is maximized.

This is a temporary fix for M22 for crbug.com/143442, and should be reverted on trunk as part of crbug.com/142422. This CL is basically a second trial of r151121 which was also a temporary fix for M22.  r151121 disabled Ctrl-w and Ctrl-Shift-w when any kind of full screen window was active, but it turned out that the limitation was too strict; we should not disable Ctrl-w and Ctrl-Shift-w when a non-Pepper window was maximized.

BUG=143442,142422
TEST=confirmed that C-w/C-S-w do not crash when a browser window is maximized.

Review URL: https://chromiumcodereview.appspot.com/10834421

TBR=yusukes@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10867053

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

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