Made pre-compilable.  In order for this file to be pre-compiled, all accesses to runtime variables like 'navigator', 'document', and 'chrome', and access to the DOM, have been deferred until runtime.  The 'withDoc' method was removed.
Made pre-compilable.  In order for this file to be pre-compiled, all accesses to runtime variables like 'navigator', 'document', and 'chrome', and access to the DOM, have been deferred until runtime.  The 'withDoc' method was removed.

If you have a better name suggestion for the 'addLazyConstant' method, please let me know.

BUG=123992
TEST=no behavioural changes


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

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

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