Index: chrome/browser/autofill/autofill_browsertest.cc |
=================================================================== |
--- chrome/browser/autofill/autofill_browsertest.cc (revision 91880) |
+++ chrome/browser/autofill/autofill_browsertest.cc (working copy) |
@@ -183,7 +183,7 @@ |
LOG(WARNING) << "Typing 'M' to bring up the Autofill popup."; |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_M, false, true, false, false, |
- NotificationType::AUTOFILL_DID_SHOW_SUGGESTIONS, |
+ chrome::AUTOFILL_DID_SHOW_SUGGESTIONS, |
Source<RenderViewHost>(render_view_host()))); |
// Press the down arrow to select the suggestion and preview the autofilled |
@@ -191,7 +191,7 @@ |
LOG(WARNING) << "Simulating down arrow press to initiate Autofill preview."; |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_DOWN, false, false, false, false, |
- NotificationType::AUTOFILL_DID_FILL_FORM_DATA, |
+ chrome::AUTOFILL_DID_FILL_FORM_DATA, |
Source<RenderViewHost>(render_view_host()))); |
// The previewed values should not be accessible to JavaScript. |
@@ -211,7 +211,7 @@ |
LOG(WARNING) << "Simulating Return press to fill the form."; |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_RETURN, false, false, false, false, |
- NotificationType::AUTOFILL_DID_FILL_FORM_DATA, |
+ chrome::AUTOFILL_DID_FILL_FORM_DATA, |
Source<RenderViewHost>(render_view_host()))); |
// The form should be filled. |
@@ -251,20 +251,20 @@ |
// shown. |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_DOWN, false, false, false, false, |
- NotificationType::AUTOFILL_DID_SHOW_SUGGESTIONS, |
+ chrome::AUTOFILL_DID_SHOW_SUGGESTIONS, |
Source<RenderViewHost>(render_view_host()))); |
// Press the down arrow to select the suggestion and preview the autofilled |
// form. |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_DOWN, false, false, false, false, |
- NotificationType::AUTOFILL_DID_FILL_FORM_DATA, |
+ chrome::AUTOFILL_DID_FILL_FORM_DATA, |
Source<RenderViewHost>(render_view_host()))); |
// Press Enter to accept the autofill suggestions. |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_RETURN, false, false, false, false, |
- NotificationType::AUTOFILL_DID_FILL_FORM_DATA, |
+ chrome::AUTOFILL_DID_FILL_FORM_DATA, |
Source<RenderViewHost>(render_view_host()))); |
// The form should be filled. |
@@ -308,20 +308,20 @@ |
// shown. |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_M, false, true, false, false, |
- NotificationType::AUTOFILL_DID_SHOW_SUGGESTIONS, |
+ chrome::AUTOFILL_DID_SHOW_SUGGESTIONS, |
Source<RenderViewHost>(render_view_host()))); |
// Press the down arrow to select the suggestion and preview the autofilled |
// form. |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_DOWN, false, false, false, false, |
- NotificationType::AUTOFILL_DID_FILL_FORM_DATA, |
+ chrome::AUTOFILL_DID_FILL_FORM_DATA, |
Source<RenderViewHost>(render_view_host()))); |
// Press Enter to accept the autofill suggestions. |
ASSERT_TRUE(ui_test_utils::SendKeyPressAndWait( |
browser(), ui::VKEY_RETURN, false, false, false, false, |
- NotificationType::AUTOFILL_DID_FILL_FORM_DATA, |
+ chrome::AUTOFILL_DID_FILL_FORM_DATA, |
Source<RenderViewHost>(render_view_host()))); |
// The form should be filled. |
@@ -484,7 +484,7 @@ |
L"cr.googleTranslate.onTranslateElementLoad();")); |
// Simulate the render notifying the translation has been done. |
- ui_test_utils::WaitForNotification(NotificationType::PAGE_TRANSLATED); |
+ ui_test_utils::WaitForNotification(chrome::PAGE_TRANSLATED); |
TryBasicFormFill(); |
} |