Gtk: try to make sure that the extension error dialog has enough room to show its title.
Gtk: try to make sure that the extension error dialog has enough room to show its title.

Of course, many window managers don't show the title at all, don't let you control the size of the window, or will have window decorations that make this technique not work; so this is really only designed to work on gnome metacity/compiz.

BUG=35468
TEST=manual


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

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

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