Ensure that inactive tab images line up correctly with frame image when themed.  Also fix HasCustomImage so that it only returns true when the image is in the extension's original set, not just a generated theme for the cache.
Ensure that inactive tab images line up correctly with frame image when themed.  Also fix HasCustomImage so that it only returns true when the image is in the extension's original set, not just a generated theme for the cache.

BUG= http://crbug.com/21134
TEST= install a theme with a detailed frame background.  Open many tabs.  Make sure the inactive tab image lines up with the frame image.

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

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

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