Improve drawing of omnibox in HiDPI mode
Improve drawing of omnibox in HiDPI mode

In HiDPI mode the omnibox looks a little blurry. The current drawing code assumes that a line width of 1.0 will draw a 1 pixel wide line.

This change looks up the line_width at run time.

Screenshot of old omnibox:
https://docs.google.com/leaf?id=0B0Odde3V7EhWYzEyYmM2ZjItMzczNC00MjMxLWE5NGItZWY4N2I2MDdiMzg5&hl=en
Screenshot of new omnibox:
https://docs.google.com/leaf?id=0B0Odde3V7EhWMDVhY2U5N2UtMWVhYi00YThjLThlYjctNzE2ODIxZjg3OTc0&hl=en

BUG=None
TEST=Verified that the ominbox looks the same at 72DPI. Ran at 144 DPI and verified that the ominbox no longer looks blurry.

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

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

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