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

Unified Diff: Source/core/editing/htmlediting.h

Issue 424493003: Use tighter typing in editing: CompositeEditCommand (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/ReplaceSelectionCommand.cpp ('k') | Source/core/editing/htmlediting.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/htmlediting.h
diff --git a/Source/core/editing/htmlediting.h b/Source/core/editing/htmlediting.h
index 986c2c2b9b8080c414c886f81f318e751146140e..96b971e3962632a79be32f05780d125a3c4642c7 100644
--- a/Source/core/editing/htmlediting.h
+++ b/Source/core/editing/htmlediting.h
@@ -37,6 +37,7 @@ namespace blink {
class Document;
class Element;
class ExceptionState;
+class HTMLBRElement;
class HTMLElement;
class HTMLSpanElement;
class Node;
@@ -207,7 +208,7 @@ PassRefPtrWillBeRawPtr<Range> createRange(Document&, const VisiblePosition& star
// Functions returning HTMLElement
PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document&);
-PassRefPtrWillBeRawPtr<HTMLElement> createBreakElement(Document&);
+PassRefPtrWillBeRawPtr<HTMLBRElement> createBreakElement(Document&);
PassRefPtrWillBeRawPtr<HTMLElement> createOrderedListElement(Document&);
PassRefPtrWillBeRawPtr<HTMLElement> createUnorderedListElement(Document&);
PassRefPtrWillBeRawPtr<HTMLElement> createListItemElement(Document&);
@@ -227,7 +228,7 @@ Node* enclosingListChild(Node*);
PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&);
PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&, PassRefPtrWillBeRawPtr<Text> tabTextNode);
PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&, const String& tabText);
-PassRefPtrWillBeRawPtr<Element> createBlockPlaceholderElement(Document&);
+PassRefPtrWillBeRawPtr<HTMLBRElement> createBlockPlaceholderElement(Document&);
Element* editableRootForPosition(const Position&, EditableType = ContentIsEditable);
Element* unsplittableElementForPosition(const Position&);
« no previous file with comments | « Source/core/editing/ReplaceSelectionCommand.cpp ('k') | Source/core/editing/htmlediting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698