| Index: ui/views/controls/webview/webview_unittest.cc
|
| diff --git a/ui/views/controls/webview/webview_unittest.cc b/ui/views/controls/webview/webview_unittest.cc
|
| index 5436b2923203d07ae61a8e8cecffb19575b449d5..bccdad6af43ba40bee2a935cf74cfdf618eba1e4 100644
|
| --- a/ui/views/controls/webview/webview_unittest.cc
|
| +++ b/ui/views/controls/webview/webview_unittest.cc
|
| @@ -437,7 +437,8 @@ TEST_F(WebViewUnitTest, EmbeddedFullscreenDuringScreenCapture_ClickToFocus) {
|
| const ui::MouseEvent click_outside_holder(
|
| ui::ET_MOUSE_PRESSED, gfx::Point(1, 1),
|
| gfx::Point(), // Immaterial.
|
| - ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0);
|
| + ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| EXPECT_TRUE(static_cast<views::View*>(web_view())->
|
| OnMousePressed(click_outside_holder));
|
| EXPECT_TRUE(web_view()->HasFocus());
|
| @@ -459,7 +460,8 @@ TEST_F(WebViewUnitTest, EmbeddedFullscreenDuringScreenCapture_ClickToFocus) {
|
| const ui::MouseEvent click_inside_holder(
|
| ui::ET_MOUSE_PRESSED, web_view()->bounds().CenterPoint(),
|
| gfx::Point(), // Immaterial.
|
| - ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0);
|
| + ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| EXPECT_FALSE(static_cast<views::View*>(web_view())->
|
| OnMousePressed(click_inside_holder));
|
| EXPECT_FALSE(web_view()->HasFocus());
|
|
|