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

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

Issue 422693002: Use tighter typing in editing: htmlediting create methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 777aa1dc8e8bcc3533ede01da0016f7076ca9eb1..d2acaf2ad16b464f0631627f262d3ede3900872c 100644
--- a/Source/core/editing/htmlediting.h
+++ b/Source/core/editing/htmlediting.h
@@ -39,7 +39,10 @@ class Element;
class ExceptionState;
class HTMLBRElement;
class HTMLElement;
+class HTMLLIElement;
+class HTMLOListElement;
class HTMLSpanElement;
+class HTMLUListElement;
class Node;
class Position;
class PositionWithAffinity;
@@ -211,9 +214,9 @@ PassRefPtrWillBeRawPtr<Range> createRange(Document&, const VisiblePosition& star
PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document&);
PassRefPtrWillBeRawPtr<HTMLBRElement> createBreakElement(Document&);
-PassRefPtrWillBeRawPtr<HTMLElement> createOrderedListElement(Document&);
-PassRefPtrWillBeRawPtr<HTMLElement> createUnorderedListElement(Document&);
-PassRefPtrWillBeRawPtr<HTMLElement> createListItemElement(Document&);
+PassRefPtrWillBeRawPtr<HTMLOListElement> createOrderedListElement(Document&);
+PassRefPtrWillBeRawPtr<HTMLUListElement> createUnorderedListElement(Document&);
+PassRefPtrWillBeRawPtr<HTMLLIElement> createListItemElement(Document&);
PassRefPtrWillBeRawPtr<HTMLElement> createHTMLElement(Document&, const QualifiedName&);
PassRefPtrWillBeRawPtr<HTMLElement> createHTMLElement(Document&, const AtomicString&);
« 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