Mac: Make the password-field capslock indicator work again.
Mac: Make the password-field capslock indicator work again.

Since we DCHECK() that the event should be some sort of key-up or down
(now raw, which was the problem), there's no particular reason to check
for the type, is there?

(Fix required pointed out by hbono.)

Patch by viettrungluu.

BUG=http://crbug.com/18807
TEST=Go to web page with password field (e.g., gmail login) and select it; cycle
capslock.


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

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