diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-01 01:15:11 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-01 01:15:11 +0000 |
commit | bb53a5aeea4d8f5e19bf6152bb10e17f0af1652f (patch) | |
tree | 2b041e2b1561ac539eb54d813bd22da083bba53d /cc/RateLimiter.cpp | |
parent | 30c8f5429e4ffe4f1e4fc5ba5fe234929a808454 (diff) | |
download | chromium_src-bb53a5aeea4d8f5e19bf6152bb10e17f0af1652f.zip chromium_src-bb53a5aeea4d8f5e19bf6152bb10e17f0af1652f.tar.gz chromium_src-bb53a5aeea4d8f5e19bf6152bb10e17f0af1652f.tar.bz2 |
Reland: Fix and expand upon BubbleDelegateTests.
This is a continuation of https://codereview.chromium.org/10889014
That CL was reverted due to test failures in linux_chromeos and win_aura bots:
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/10785/steps/views_unittests/logs/stdio
http://build.chromium.org/p/chromium/builders/Win%20Aura/builds/20590/steps/views_unittests/logs/stdio
This revised CL adds a workaround hack for Aura to activate an unrelated Widget before closing the anchor/owner widgets, so that aura::test::TestActivationClient::OnWindowDestroyed doesn't try to activate destroyed windows.
Original CL description:
===============================================
Fix and expand upon BubbleDelegateTests.
BubbleDelegateTest.ResetAnchorWidget was previously failing and crashing because of it's widget ownership pattern and lack of close_on_deactivate.
Add TestWidgetObserver to observe bubbles closing.
Ensure the bubble widget closes as expected in each test.
BUG=none
TEST=unit tests pass
Review URL: https://chromiumcodereview.appspot.com/10920028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/RateLimiter.cpp')
0 files changed, 0 insertions, 0 deletions