summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/panels/panel_cocoa_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/panels/panel_cocoa_unittest.mm')
-rw-r--r--chrome/browser/ui/panels/panel_cocoa_unittest.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/ui/panels/panel_cocoa_unittest.mm b/chrome/browser/ui/panels/panel_cocoa_unittest.mm
index d2f262e..89b4f5f 100644
--- a/chrome/browser/ui/panels/panel_cocoa_unittest.mm
+++ b/chrome/browser/ui/panels/panel_cocoa_unittest.mm
@@ -21,15 +21,15 @@
#import "chrome/browser/ui/panels/panel_window_controller_cocoa.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/test/base/ui_test_utils.h"
+#include "content/public/test/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gtest_mac.h"
class PanelAnimatedBoundsObserver :
- public ui_test_utils::WindowedNotificationObserver {
+ public content::WindowedNotificationObserver {
public:
PanelAnimatedBoundsObserver(Panel* panel)
- : ui_test_utils::WindowedNotificationObserver(
+ : content::WindowedNotificationObserver(
chrome::NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED,
content::Source<Panel>(panel)) { }
virtual ~PanelAnimatedBoundsObserver() { }
@@ -94,7 +94,7 @@ class PanelCocoaTest : public CocoaProfileTest {
// message pump and wait for the notification.
PanelManager* manager = PanelManager::GetInstance();
int panel_count = manager->num_panels();
- ui_test_utils::WindowedNotificationObserver signal(
+ content::WindowedNotificationObserver signal(
chrome::NOTIFICATION_PANEL_CLOSED,
content::Source<Panel>(panel));
panel->Close();
@@ -283,7 +283,7 @@ TEST_F(PanelCocoaTest, TitlebarViewClose) {
PanelManager* manager = PanelManager::GetInstance();
EXPECT_EQ(1, manager->num_panels());
// Simulate clicking Close Button and wait until the Panel closes.
- ui_test_utils::WindowedNotificationObserver signal(
+ content::WindowedNotificationObserver signal(
chrome::NOTIFICATION_PANEL_CLOSED,
content::Source<Panel>(panel));
[titlebar simulateCloseButtonClick];