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

Unified Diff: Source/core/editing/commands/EditCommand.h

Issue 1298823003: Move isRenderedCharacter() to EditorCommand.cpp from Position.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-20T14:16:30 Rebase Created 5 years, 4 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 | « Source/core/editing/Position.cpp ('k') | Source/core/editing/commands/EditCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/commands/EditCommand.h
diff --git a/Source/core/editing/commands/EditCommand.h b/Source/core/editing/commands/EditCommand.h
index 47bf8231fb0747ddd633c205cf009ed5c557d931..3e2bddbc90453e0fc9f9e73114f161b47a8995cd 100644
--- a/Source/core/editing/commands/EditCommand.h
+++ b/Source/core/editing/commands/EditCommand.h
@@ -63,6 +63,11 @@ protected:
void setEndingSelection(const VisibleSelection&);
void setEndingSelection(const VisiblePosition&);
+ // TODO(yosin) |isRenderedCharacter()| should be removed, and we should use
+ // |VisiblePosition::characterAfter()| and
+ // |VisiblePosition::characterBefore()|.
+ static bool isRenderedCharacter(const Position&);
+
private:
RefPtrWillBeMember<Document> m_document;
VisibleSelection m_startingSelection;
« no previous file with comments | « Source/core/editing/Position.cpp ('k') | Source/core/editing/commands/EditCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698