diff options
author | kuan@chromium.org <kuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-26 18:43:09 +0000 |
---|---|---|
committer | kuan@chromium.org <kuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-26 18:43:09 +0000 |
commit | 8f5d9b53d113c26935205c71a128d055e60cd787 (patch) | |
tree | 075c2b44f651c3df937701fccb45b44cb4b84838 /o3d/documentation | |
parent | 7a130f3789ad66ea6a3ed381c0a581ac3dab9bf3 (diff) | |
download | chromium_src-8f5d9b53d113c26935205c71a128d055e60cd787.zip chromium_src-8f5d9b53d113c26935205c71a128d055e60cd787.tar.gz chromium_src-8f5d9b53d113c26935205c71a128d055e60cd787.tar.bz2 |
fix bug where translate infobar gets stuck at "Loading..." between switching tabs.
- problem happened because infobars are destructed when switching between tabs, only the delegates persist. without the infobar to receive the PAGE_TRANSLATED notification to update the translate state, the infobar gets stuck at translating state when user switches back to the associated tab.
- fix was to update the state in the infobar delegate on receiving PAGE_TRANSLATE notification so that when a new translate infobar is created, its visual display will reflect the updated after-translate state.
BUG=36895
TEST=verify per bug report.
Review URL: http://codereview.chromium.org/660187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/documentation')
0 files changed, 0 insertions, 0 deletions