Commit for tfarina
Commit for tfarina

Original CL:
http://codereview.chromium.org/155060
This patch changes the behavior of clear search button in cookies_view to work
as in firefox.
When the dialog is launched the clear search button in the old cookie_view the
state of this button is enabled,
but the text field is empty, so the correct behavior is  make the button
disabled. Only when the user start typing
in the text field, the clear button will be enabled.

BUG=None
TEST=None



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

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