Make sure Mac plugin focus doesn't outlast plugin lifetime
Make sure Mac plugin focus doesn't outlast plugin lifetime

Ensures that if a plugin is removed from the page, or crashes, the renderer doesn't continue to think that it has focus (thus interfering with non-plugin IME).

BUG=70982
TEST=Try to type on a page after a plugin with focus is removed or crashes.

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

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

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