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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertListCommand.h

Issue 2731313003: Make InsertListCommand::selectionHasListOfType() to take Position objects (Closed)
Patch Set: 2017-03-07T14:02:25 Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
index 14778538ad51741f9de61b95f6e0e71ca361045d..c961d965a0deb9a98d45ff108bb31bd5ac271e16 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
@@ -52,7 +52,8 @@ class CORE_EXPORT InsertListCommand final : public CompositeEditCommand {
InputEvent::InputType inputType() const override;
HTMLUListElement* fixOrphanedListChild(Node*, EditingState*);
- bool selectionHasListOfType(const VisibleSelection&,
+ bool selectionHasListOfType(const Position& selectionStart,
+ const Position& selectionEnd,
const HTMLQualifiedName&);
HTMLElement* mergeWithNeighboringLists(HTMLElement*, EditingState*);
bool doApplyForSingleParagraph(bool forceCreateList,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698