Correctly update chevron visibility state upon bookmark size change or window resize. Also fix a bug where under many GTK themes, for certain window sizes, a bookmark will be shown either both on the bookmark bar and under the chevron, or in neither place. Finally, fix the behavior of the bookmarks bar when there is RTL text in a bookmark name or when Chromium is running in RTL mode.
Correctly update chevron visibility state upon bookmark size change or window resize. Also fix a bug where under many GTK themes, for certain window sizes, a bookmark will be shown either both on the bookmark bar and under the chevron, or in neither place. Finally, fix the behavior of the bookmarks bar when there is RTL text in a bookmark name or when Chromium is running in RTL mode.


BUG=86197
TEST=Whenever a bookmark on the bookmarks bar (or the bookmark bar itself) has its size changed, e.g. through renaming or window resizing, check that the chevron ends up correctly hidden or shown based on the new size of the bookmarks rather than the old size.


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

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

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