diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 19:38:42 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 19:38:42 +0000 |
commit | 884033e64d9b07c1480d12cb731d2ae5967e88e7 (patch) | |
tree | 5eb173a4fa1f560394ac2d160c3125cf690114a6 /chrome/browser/unload_browsertest.cc | |
parent | acefb3a3086fce5ec81e141c55be5f4a414a8e41 (diff) | |
download | chromium_src-884033e64d9b07c1480d12cb731d2ae5967e88e7.zip chromium_src-884033e64d9b07c1480d12cb731d2ae5967e88e7.tar.gz chromium_src-884033e64d9b07c1480d12cb731d2ae5967e88e7.tar.bz2 |
Move notifications used only in chrome/ out of content/.
Moved NOTIFICATION_TAB_ADDED, NOTIFICATION_TAB_PARENTED, and NOTIFICATION_TAB_CLOSING. Turned NOTIFICATION_TAB_CLOSED into NOTIFICATION_WEB_CONTENTS_DESTROYED.
BUG=76698
TEST=none
Review URL: http://codereview.chromium.org/10079023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/unload_browsertest.cc')
-rw-r--r-- | chrome/browser/unload_browsertest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc index f60f01a..0b4ab30e 100644 --- a/chrome/browser/unload_browsertest.cc +++ b/chrome/browser/unload_browsertest.cc @@ -384,7 +384,7 @@ IN_PROC_BROWSER_TEST_F(UnloadTest, BrowserCloseTabWhenOtherTabHasListener) { // popup will be constrained, which isn't what we want to test. ui_test_utils::WindowedNotificationObserver observer( - content::NOTIFICATION_TAB_ADDED, + chrome::NOTIFICATION_TAB_ADDED, content::NotificationService::AllSources()); ui_test_utils::WindowedNotificationObserver load_stop_observer( content::NOTIFICATION_LOAD_STOP, @@ -396,7 +396,7 @@ IN_PROC_BROWSER_TEST_F(UnloadTest, BrowserCloseTabWhenOtherTabHasListener) { CheckTitle("popup"); ui_test_utils::WindowedNotificationObserver tab_close_observer( - content::NOTIFICATION_TAB_CLOSED, + content::NOTIFICATION_WEB_CONTENTS_DESTROYED, content::NotificationService::AllSources()); browser()->CloseTab(); tab_close_observer.Wait(); |