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

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

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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/core/editing/DOMSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/DOMSelection.cpp b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
index 4dd9d83c5e8660401f112a03e1cf126e40ff9eb9..24e90352539c163407d40b3b3e4c76d5b7165ae5 100644
--- a/third_party/WebKit/Source/core/editing/DOMSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
@@ -401,43 +401,43 @@ void DOMSelection::modify(const String& alter_string,
return;
FrameSelection::EAlteration alter;
- if (EqualIgnoringCase(alter_string, "extend"))
+ if (DeprecatedEqualIgnoringCase(alter_string, "extend"))
alter = FrameSelection::kAlterationExtend;
- else if (EqualIgnoringCase(alter_string, "move"))
+ else if (DeprecatedEqualIgnoringCase(alter_string, "move"))
alter = FrameSelection::kAlterationMove;
else
return;
SelectionDirection direction;
- if (EqualIgnoringCase(direction_string, "forward"))
+ if (DeprecatedEqualIgnoringCase(direction_string, "forward"))
direction = kDirectionForward;
- else if (EqualIgnoringCase(direction_string, "backward"))
+ else if (DeprecatedEqualIgnoringCase(direction_string, "backward"))
direction = kDirectionBackward;
- else if (EqualIgnoringCase(direction_string, "left"))
+ else if (DeprecatedEqualIgnoringCase(direction_string, "left"))
direction = kDirectionLeft;
- else if (EqualIgnoringCase(direction_string, "right"))
+ else if (DeprecatedEqualIgnoringCase(direction_string, "right"))
direction = kDirectionRight;
else
return;
TextGranularity granularity;
- if (EqualIgnoringCase(granularity_string, "character"))
+ if (DeprecatedEqualIgnoringCase(granularity_string, "character"))
granularity = kCharacterGranularity;
- else if (EqualIgnoringCase(granularity_string, "word"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "word"))
granularity = kWordGranularity;
- else if (EqualIgnoringCase(granularity_string, "sentence"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "sentence"))
granularity = kSentenceGranularity;
- else if (EqualIgnoringCase(granularity_string, "line"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "line"))
granularity = kLineGranularity;
- else if (EqualIgnoringCase(granularity_string, "paragraph"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "paragraph"))
granularity = kParagraphGranularity;
- else if (EqualIgnoringCase(granularity_string, "lineboundary"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "lineboundary"))
granularity = kLineBoundary;
- else if (EqualIgnoringCase(granularity_string, "sentenceboundary"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "sentenceboundary"))
granularity = kSentenceBoundary;
- else if (EqualIgnoringCase(granularity_string, "paragraphboundary"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "paragraphboundary"))
granularity = kParagraphBoundary;
- else if (EqualIgnoringCase(granularity_string, "documentboundary"))
+ else if (DeprecatedEqualIgnoringCase(granularity_string, "documentboundary"))
granularity = kDocumentBoundary;
else
return;
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.cpp ('k') | third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698