Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: chrome/browser/ui/views/ash/launcher/chrome_launcher_controller_browsertest.cc

Issue 10807047: Create content\public\test\test_utils.h to hold common test classes that are used by unit and brows… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ash/launcher/chrome_launcher_controller_browsertest.cc
===================================================================
--- chrome/browser/ui/views/ash/launcher/chrome_launcher_controller_browsertest.cc (revision 147577)
+++ chrome/browser/ui/views/ash/launcher/chrome_launcher_controller_browsertest.cc (working copy)
@@ -434,7 +434,7 @@
EXPECT_EQ(++tab_count, tab_strip->count());
EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status);
TabContents* tab = tab_strip->GetActiveTabContents();
- ui_test_utils::WindowedNotificationObserver close_observer(
+ content::WindowedNotificationObserver close_observer(
chrome::NOTIFICATION_TAB_CONTENTS_DESTROYED,
content::Source<TabContents>(tab));
browser()->tab_strip_model()->CloseSelectedTabs();
@@ -453,7 +453,7 @@
ash::LauncherID shortcut_id = CreateShortcut("app1");
EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status);
TabContents* tab = tab_strip->GetActiveTabContents();
- ui_test_utils::WindowedNotificationObserver close_observer(
+ content::WindowedNotificationObserver close_observer(
chrome::NOTIFICATION_TAB_CONTENTS_DESTROYED,
content::Source<TabContents>(tab));
browser()->tab_strip_model()->CloseSelectedTabs();
@@ -478,7 +478,7 @@
IN_PROC_BROWSER_TEST_F(LauncherAppBrowserTest, LaunchMaximized) {
aura::Window* window1 = browser()->window()->GetNativeWindow();
ash::wm::MaximizeWindow(window1);
- ui_test_utils::WindowedNotificationObserver open_observer(
+ content::WindowedNotificationObserver open_observer(
chrome::NOTIFICATION_BROWSER_WINDOW_READY,
content::NotificationService::AllSources());
chrome::NewEmptyWindow(browser()->profile());
« no previous file with comments | « chrome/browser/ui/pdf/pdf_browsertest.cc ('k') | chrome/browser/ui/views/browser_actions_container_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698