| Index: chrome/browser/pdf/pdf_extension_test.cc
|
| diff --git a/chrome/browser/pdf/pdf_extension_test.cc b/chrome/browser/pdf/pdf_extension_test.cc
|
| index 74d1061f5b7285bfabda0c91c72e34cc1a16e2b0..fdb9ccaef30f9d29f01775052a15e566bea809db 100644
|
| --- a/chrome/browser/pdf/pdf_extension_test.cc
|
| +++ b/chrome/browser/pdf/pdf_extension_test.cc
|
| @@ -737,7 +737,7 @@ IN_PROC_BROWSER_TEST_F(PDFExtensionTest, LinkCtrlLeftClick) {
|
| chrome::NOTIFICATION_TAB_ADDED,
|
| content::NotificationService::AllSources());
|
| content::SimulateMouseClickAt(web_contents, kDefaultKeyModifier,
|
| - blink::WebMouseEvent::ButtonLeft, link_position);
|
| + blink::WebMouseEvent::Button::Left, link_position);
|
| observer.Wait();
|
|
|
| int tab_count = browser()->tab_strip_model()->count();
|
| @@ -774,7 +774,7 @@ IN_PROC_BROWSER_TEST_F(PDFExtensionTest, LinkMiddleClick) {
|
| chrome::NOTIFICATION_TAB_ADDED,
|
| content::NotificationService::AllSources());
|
| content::SimulateMouseClickAt(web_contents, 0,
|
| - blink::WebMouseEvent::ButtonMiddle, link_position);
|
| + blink::WebMouseEvent::Button::Middle, link_position);
|
| observer.Wait();
|
|
|
| int tab_count = browser()->tab_strip_model()->count();
|
| @@ -813,7 +813,7 @@ IN_PROC_BROWSER_TEST_F(PDFExtensionTest, LinkCtrlShiftLeftClick) {
|
| chrome::NOTIFICATION_TAB_ADDED,
|
| content::NotificationService::AllSources());
|
| content::SimulateMouseClickAt(web_contents, modifiers,
|
| - blink::WebMouseEvent::ButtonLeft, link_position);
|
| + blink::WebMouseEvent::Button::Left, link_position);
|
| observer.Wait();
|
|
|
| int tab_count = browser()->tab_strip_model()->count();
|
| @@ -845,7 +845,7 @@ IN_PROC_BROWSER_TEST_F(PDFExtensionTest, LinkShiftMiddleClick) {
|
| chrome::NOTIFICATION_TAB_ADDED,
|
| content::NotificationService::AllSources());
|
| content::SimulateMouseClickAt(web_contents, blink::WebInputEvent::ShiftKey,
|
| - blink::WebMouseEvent::ButtonMiddle, link_position);
|
| + blink::WebMouseEvent::Button::Middle, link_position);
|
| observer.Wait();
|
|
|
| int tab_count = browser()->tab_strip_model()->count();
|
|
|