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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp

Issue 2651803007: Added isHandleVisible to |SelectionTemplate| (Closed)
Patch Set: forgot to add setIsHandleVisible Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionTemplate.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp b/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
index e1f986475f2f13d8a97cbefb27421fa02eddf55d..63abb12bded19359b7dfac213d78e424fb744c45 100644
--- a/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp
@@ -18,6 +18,7 @@ TEST_F(SelectionTest, defaultConstructor) {
EXPECT_EQ(CharacterGranularity, selection.granularity());
EXPECT_FALSE(selection.hasTrailingWhitespace());
EXPECT_FALSE(selection.isDirectional());
+ EXPECT_FALSE(selection.isHandleVisible());
EXPECT_TRUE(selection.isNone());
EXPECT_EQ(Position(), selection.base());
EXPECT_EQ(Position(), selection.extent());
@@ -36,6 +37,7 @@ TEST_F(SelectionTest, caret) {
EXPECT_EQ(CharacterGranularity, selection.granularity());
EXPECT_FALSE(selection.hasTrailingWhitespace());
EXPECT_FALSE(selection.isDirectional());
+ EXPECT_FALSE(selection.isHandleVisible());
EXPECT_FALSE(selection.isNone());
EXPECT_EQ(position, selection.base());
EXPECT_EQ(position, selection.extent());
@@ -56,6 +58,7 @@ TEST_F(SelectionTest, range) {
EXPECT_EQ(CharacterGranularity, selection.granularity());
EXPECT_FALSE(selection.hasTrailingWhitespace());
EXPECT_FALSE(selection.isDirectional());
+ EXPECT_FALSE(selection.isHandleVisible());
EXPECT_FALSE(selection.isNone());
EXPECT_EQ(base, selection.base());
EXPECT_EQ(extent, selection.extent());
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionTemplate.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698