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

Unified Diff: third_party/WebKit/Source/web/tests/WebPluginContainerTest.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/WebPluginContainerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
index fb36f380fc17aa47086c816c8f0bbaee2718fac5..e56eefec6fde376976fad05dd9722d363e90ef37 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -107,7 +107,8 @@ class CustomPluginWebFrameClient : public FrameTestHelpers::TestWebFrameClient {
class TestPluginWebFrameClient;
-// Subclass of FakeWebPlugin that has a selection of 'x' as plain text and 'y' as markup text.
+// Subclass of FakeWebPlugin that has a selection of 'x' as plain text and 'y'
+// as markup text.
class TestPlugin : public FakeWebPlugin {
public:
TestPlugin(WebFrame* frame,
@@ -385,7 +386,8 @@ TEST_F(WebPluginContainerTest, CopyFromContextMenu) {
webView->handleInputEvent(event);
// 2) document blurs the plugin, because it can.
webView->clearFocusedElement();
- // 3) Copy should still operate on the context node, even though the focus had shifted.
+ // 3) Copy should still operate on the context node, even though the focus had
+ // shifted.
EXPECT_TRUE(webView->mainFrame()->toWebLocalFrame()->executeCommand("Copy"));
EXPECT_EQ(WebString("x"), Platform::current()->clipboard()->readPlainText(
WebClipboard::Buffer()));
@@ -500,7 +502,8 @@ TEST_F(WebPluginContainerTest, GestureLongPressReachesPlugin) {
EXPECT_EQ(WebInputEvent::Undefined, testPlugin->getLastInputEventType());
- // Next, send an event that does hit the plugin, and verify it does receive it.
+ // Next, send an event that does hit the plugin, and verify it does receive
+ // it.
WebRect rect = pluginContainerOneElement.boundsInViewport();
event.x = rect.x + rect.width / 2;
event.y = rect.y + rect.height / 2;

Powered by Google App Engine
This is Rietveld 408576698