Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1080)

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2536723007: Removed android scrolling fake mouse moves and device_supports_mouse (Closed)
Patch Set: Made checks mirror what previous logic Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index ade7eb5229740517156b9be6fb893607ccaad600..47332b7984bc1fa97234958dcadda3720d10ecb8 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -10609,9 +10609,8 @@ TEST_F(WebFrameTest, HidingScrollbarsOnScrollableAreaDisablesScrollbars) {
// elements below unless the scrollbar is faded out.
TEST_F(WebFrameTest, MouseOverLinkAndOverlayScrollbar) {
FrameTestHelpers::WebViewHelper webViewHelper;
- webViewHelper.initialize(
- true, nullptr, nullptr, nullptr,
- [](WebSettings* settings) { settings->setDeviceSupportsMouse(true); });
+ webViewHelper.initialize(true, nullptr, nullptr, nullptr,
+ [](WebSettings* settings) {});
webViewHelper.resize(WebSize(20, 20));
WebViewImpl* webView = webViewHelper.webView();

Powered by Google App Engine
This is Rietveld 408576698