summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/passwords_exceptions_handler.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 23:22:42 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 23:22:42 +0000
commit69fe7af6d2ffcc52d4539d624eca48524e7ca2b3 (patch)
tree8e7c52fe7fe4e356bc0f405ac92bf9b96e7bcf6e /chrome/browser/dom_ui/passwords_exceptions_handler.cc
parentf53846073932e5f6bcd01ffca11a317796fceb59 (diff)
downloadchromium_src-69fe7af6d2ffcc52d4539d624eca48524e7ca2b3.zip
chromium_src-69fe7af6d2ffcc52d4539d624eca48524e7ca2b3.tar.gz
chromium_src-69fe7af6d2ffcc52d4539d624eca48524e7ca2b3.tar.bz2
Preserve the correct number of visible browser actions across restarts.
The problem here was that in the case where the container was sized all the way open, we never saved the result, because we never called Animate(). Having the size saving happen at the end of animation seemed subtle, so this: * Saves at the beginning, not end, of animation (so shutdowns during animation don't forget the right size) * Renames Animate() to make it clearer that it's also saving the desired size * In general simplifies things by basing animation on a target number of icons instead of a target width BUG=51179 TEST=Size browser actions container to hide one action (and show the rest); restart; size to show all; restart. On both restarts, you should see the same number of visible actions as at shut down. Review URL: http://codereview.chromium.org/3114014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/passwords_exceptions_handler.cc')
0 files changed, 0 insertions, 0 deletions