| Index: content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| index c40bfde33ddb80c31d254fe62a955348936bd633..1c9e3248618cd567f847bc3204bb0fbd63bfd815 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| @@ -334,7 +334,8 @@ IN_PROC_BROWSER_TEST_F(BrowserPluginHostTest, MAYBE_NavigateGuest) {
|
| ASCIIToUTF16("StartInfiniteLoop();"));
|
|
|
| // Send a mouse event to the guest.
|
| - SimulateMouseClick(test_embedder()->web_contents());
|
| + SimulateMouseClick(test_embedder()->web_contents(), 0,
|
| + WebKit::WebMouseEvent::ButtonLeft);
|
|
|
| // Expect the guest to crash.
|
| test_guest()->WaitForCrashed();
|
| @@ -363,7 +364,8 @@ IN_PROC_BROWSER_TEST_F(BrowserPluginHostTest, AdvanceFocus) {
|
| const char* kGuestURL = "files/browser_plugin_focus_child.html";
|
| StartBrowserPluginTest(kEmbedderURL, kGuestURL, false, "");
|
|
|
| - SimulateMouseClick(test_embedder()->web_contents());
|
| + SimulateMouseClick(test_embedder()->web_contents(), 0,
|
| + WebKit::WebMouseEvent::ButtonLeft);
|
| BrowserPluginHostTest::SimulateTabKeyPress(test_embedder()->web_contents());
|
| // Wait until we focus into the guest.
|
| test_guest()->WaitForFocus();
|
| @@ -714,7 +716,8 @@ IN_PROC_BROWSER_TEST_F(BrowserPluginHostTest, BackAfterTerminateGuest) {
|
| EXPECT_EQ(expected_title, actual_title);
|
| }
|
| // Send an input event and verify that the guest receives the input.
|
| - SimulateMouseClick(test_embedder()->web_contents());
|
| + SimulateMouseClick(test_embedder()->web_contents(), 0,
|
| + WebKit::WebMouseEvent::ButtonLeft);
|
| test_guest()->WaitForInput();
|
| }
|
|
|
|
|