summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/server2/appengine_wrappers.py
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-31 01:05:23 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-31 01:05:23 +0000
commitd78341f52fe8495db3310792993891637e78d71a (patch)
tree9d562bb85ed991fe2f56ad8cd2dbab54ded7806c /chrome/common/extensions/docs/server2/appengine_wrappers.py
parent5c38bafbf04d6196493d4bec1a851b45a1c07d12 (diff)
downloadchromium_src-d78341f52fe8495db3310792993891637e78d71a.zip
chromium_src-d78341f52fe8495db3310792993891637e78d71a.tar.gz
chromium_src-d78341f52fe8495db3310792993891637e78d71a.tar.bz2
Update views infobars to correctly layout with any of their labels empty. This
might happen depending on the locale or with certain confirm infobar subclasses. To make this slightly simpler to code, ConfirmInfoBar now creates |link_| unconditionally instead of only when non-empty. This also adjusts AfterTranslateInfoBar::ContentMinimumWidth() to correctly handle the |autodetermined_source_language_| case, in which some of the controls don't appear. Finally, this tweaks the translate infobars so that buttons which appear after all the other text/buttons are spaced out using kEndOfLabelSpacing instead of kButtonInLabelSpacing. This looks better as logically these buttons aren't part of the preceding "sentence". BUG=none TEST=none R=msw@chromium.org Review URL: https://codereview.chromium.org/122523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/server2/appengine_wrappers.py')
0 files changed, 0 insertions, 0 deletions