diff options
| author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 05:52:39 +0000 | 
|---|---|---|
| committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 05:52:39 +0000 | 
| commit | 000b534024e7abd56628af5522d6e136a0fe2375 (patch) | |
| tree | c324aaf418be52c008c59fdbbed4acf6073813d7 /chrome/browser/icon_loader_linux.cc | |
| parent | ed83c869d753a929179a2d3926fb6fca0dbdcb8d (diff) | |
| download | chromium_src-000b534024e7abd56628af5522d6e136a0fe2375.zip chromium_src-000b534024e7abd56628af5522d6e136a0fe2375.tar.gz chromium_src-000b534024e7abd56628af5522d6e136a0fe2375.tar.bz2 | |
CrOS - Fix file picker to route callbacks using TabContents
Previously, when the user clicked open/save/cancel in the CrOS file picker, it would route that callback data to the frontmost tab.  Sometimes other tabs can switch to frontmost, however.  Use set_associated_tab_contents() to inform the extension function implementions of the tab to which to route the callbacks.  This also adds a test from tbarzic for the referenced bug.
BUG=chromium-os:18956
TEST=browser_tests FileManagerDialogTest.*, also verify you can open the file picker and open/save/cancel under normal conditions
Review URL: http://codereview.chromium.org/7830024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99327 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/icon_loader_linux.cc')
0 files changed, 0 insertions, 0 deletions
