Makes FramePainter not animate the header if the parent (a workspace) is already animating. Doing so leads to lots of painting when switching workspaces and a bad frame rate for the animation. The rationale for disabling here is that if you are switching worskpaces, you're not going to notice the header animating.
Makes FramePainter not animate the header if the parent (a workspace)
is already animating. Doing so leads to lots of painting when
switching workspaces and a bad frame rate for the animation. The
rationale for disabling here is that if you are switching worskpaces,
you're not going to notice the header animating.

BUG=147350
TEST=none
R=jamescook@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10917214

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

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