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

Unified Diff: chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm

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/cocoa/fullscreen_exit_bubble_controller_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm (revision 147577)
+++ chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm (working copy)
@@ -12,10 +12,10 @@
#include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/chrome_notification_types.h"
-#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/test/test_utils.h"
#include "ipc/ipc_message.h"
#include "testing/gtest_mac.h"
#include "ui/base/accelerators/accelerator_cocoa.h"
@@ -88,7 +88,7 @@
WebContents* fullscreen_tab = chrome::GetActiveWebContents(browser());
{
base::mac::ScopedNSAutoreleasePool pool;
- ui_test_utils::WindowedNotificationObserver fullscreen_observer(
+ content::WindowedNotificationObserver fullscreen_observer(
chrome::NOTIFICATION_FULLSCREEN_CHANGED,
content::NotificationService::AllSources());
browser()->ToggleFullscreenModeForTab(fullscreen_tab, true);
@@ -99,7 +99,7 @@
FullscreenExitBubbleController* bubble = [bwc fullscreenExitBubbleController];
EXPECT_TRUE(bubble);
{
- ui_test_utils::WindowedNotificationObserver fullscreen_observer(
+ content::WindowedNotificationObserver fullscreen_observer(
chrome::NOTIFICATION_FULLSCREEN_CHANGED,
content::NotificationService::AllSources());
[bubble deny:nil];
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_unittest.mm ('k') | chrome/browser/ui/find_bar/find_bar_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698