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

Unified Diff: third_party/WebKit/Source/web/tests/LinkSelectionTest.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/LinkSelectionTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp b/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
index cb91fcbb89dedee5aafc159ed7f865e8bb280b2e..2a653dc5289189e5ec4cef0ff8fe24032d8d7dbe 100644
--- a/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
+++ b/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
@@ -127,11 +127,8 @@ class LinkSelectionTest : public LinkSelectionTestBase {
"foobar</a>"
"<div id='page_text'>Lorem ipsum dolor sit amet</div>";
- // We need to set deviceSupportsMouse setting to true and page's focus
- // controller to active so that FrameView can set the mouse cursor.
- m_webView = m_helper.initialize(
- false, &m_testFrameClient, nullptr, nullptr,
- [](WebSettings* settings) { settings->setDeviceSupportsMouse(true); });
+ m_webView = m_helper.initialize(false, &m_testFrameClient, nullptr, nullptr,
+ [](WebSettings* settings) {});
m_mainFrame = m_webView->mainFrameImpl();
FrameTestHelpers::loadHTMLString(
m_mainFrame, kHTMLString, URLTestHelpers::toKURL("http://foobar.com"));

Powered by Google App Engine
This is Rietveld 408576698