| Index: chrome/browser/browser_keyevents_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/browser_keyevents_browsertest.cc (revision 91880)
|
| +++ chrome/browser/browser_keyevents_browsertest.cc (working copy)
|
| @@ -85,7 +85,7 @@
|
| public:
|
| explicit TestFinishObserver(RenderViewHost* render_view_host)
|
| : finished_(false), waiting_(false) {
|
| - registrar_.Add(this, NotificationType::DOM_OPERATION_RESPONSE,
|
| + registrar_.Add(this, chrome::DOM_OPERATION_RESPONSE,
|
| Source<RenderViewHost>(render_view_host));
|
| }
|
|
|
| @@ -98,10 +98,10 @@
|
| return finished_;
|
| }
|
|
|
| - virtual void Observe(NotificationType type,
|
| + virtual void Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - DCHECK(type == NotificationType::DOM_OPERATION_RESPONSE);
|
| + DCHECK(type == chrome::DOM_OPERATION_RESPONSE);
|
| Details<DomOperationNotificationDetails> dom_op_details(details);
|
| // We might receive responses for other script execution, but we only
|
| // care about the test finished message.
|
| @@ -674,7 +674,7 @@
|
| };
|
|
|
| ui_test_utils::WindowedNotificationObserver wait_for_new_tab(
|
| - NotificationType::TAB_PARENTED,
|
| + chrome::TAB_PARENTED,
|
| NotificationService::AllSources());
|
|
|
| // Press Ctrl/Cmd+T, which will open a new tab. It cannot be suppressed.
|
| @@ -704,7 +704,7 @@
|
| ASSERT_NO_FATAL_FAILURE(SuppressAllEvents(1, true));
|
|
|
| ui_test_utils::WindowedNotificationObserver wait_for_tab_closed(
|
| - NotificationType::TAB_CLOSED, Source<NavigationController>(
|
| + chrome::TAB_CLOSED, Source<NavigationController>(
|
| &browser()->GetTabContentsAt(1)->controller()));
|
|
|
| // Press Ctrl/Cmd+W, which will close the tab.
|
|
|