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

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

Issue 2384033002: reflow comments in web/tests (Closed)
Patch Set: comments (heh!) Created 4 years, 2 months 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 ead0ce99344ce540367ed84bb0abfaf5e4fbe24e..cb91fcbb89dedee5aafc159ed7f865e8bb280b2e 100644
--- a/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
+++ b/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
@@ -127,8 +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.
+ // 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); });
@@ -142,8 +142,8 @@ class LinkSelectionTest : public LinkSelectionTestBase {
ASSERT_NE(nullptr, document);
auto* linkToSelect = document->getElementById("link")->firstChild();
ASSERT_NE(nullptr, linkToSelect);
- // We get larger range that we actually want to select, because we need a slightly larger
- // rect to include the last character to the selection.
+ // We get larger range that we actually want to select, because we need a
+ // slightly larger rect to include the last character to the selection.
const auto rangeToSelect =
Range::create(*document, linkToSelect, 5, linkToSelect, 16);
@@ -196,8 +196,8 @@ TEST_F(LinkSelectionTest, HandCursorOverLinkAfterContextMenu) {
// Move mouse.
emulateMouseDrag(m_rightPointInLink, m_leftPointInLink, 0, 0);
- // Show context menu. We don't send mouseup event here since in browser it doesn't reach
- // blink because of shown context menu.
+ // Show context menu. We don't send mouseup event here since in browser it
+ // doesn't reach blink because of shown context menu.
emulateMouseDown(m_leftPointInLink, WebMouseEvent::Button::Right, 0, 1);
LocalFrame* frame = m_mainFrame->frame();
« no previous file with comments | « third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp ('k') | third_party/WebKit/Source/web/tests/MHTMLTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698