We allow Flash to popup windows in response to user gesture messages like WM_LBUTTONUP, etc. However we need to reset the popup stack in a timer, as Flash typically brings up these windows in a posted  0x401 message. This is on the same lines as the webkit plugin implementation.
We allow Flash to popup windows in response to user gesture messages like WM_LBUTTONUP, etc. However
we need to reset the popup stack in a timer, as Flash typically brings up these windows in a posted 
0x401 message. This is on the same lines as the webkit plugin implementation.

This fixes http://code.google.com/p/chromium/issues/detail?id=7850

Bug=7850

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

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

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