X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fediting%2FInsertParagraphSeparatorCommand.h;h=98a81304545b36d88fbc496a386e8df0ae0a9392;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=9eb51922ac4cc3b1424782a15414fb293f9d3a2e;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/editing/InsertParagraphSeparatorCommand.h b/src/third_party/WebKit/Source/core/editing/InsertParagraphSeparatorCommand.h index 9eb5192..98a8130 100644 --- a/src/third_party/WebKit/Source/core/editing/InsertParagraphSeparatorCommand.h +++ b/src/third_party/WebKit/Source/core/editing/InsertParagraphSeparatorCommand.h @@ -28,37 +28,37 @@ #include "core/editing/CompositeEditCommand.h" -namespace WebCore { +namespace blink { class EditingStyle; class InsertParagraphSeparatorCommand FINAL : public CompositeEditCommand { public: - static PassRefPtrWillBeRawPtr create(Document& document, bool useDefaultParagraphElement = false, bool pasteBlockqutoeIntoUnquotedArea = false) + static PassRefPtrWillBeRawPtr create(Document& document, bool useDefaultParagraphElement = false, bool pasteBlockquoteIntoUnquotedArea = false) { - return adoptRefWillBeNoop(new InsertParagraphSeparatorCommand(document, useDefaultParagraphElement, pasteBlockqutoeIntoUnquotedArea)); + return adoptRefWillBeNoop(new InsertParagraphSeparatorCommand(document, useDefaultParagraphElement, pasteBlockquoteIntoUnquotedArea)); } virtual void trace(Visitor*) OVERRIDE; private: - InsertParagraphSeparatorCommand(Document&, bool useDefaultParagraphElement, bool pasteBlockqutoeIntoUnquotedArea); + InsertParagraphSeparatorCommand(Document&, bool useDefaultParagraphElement, bool pasteBlockquoteIntoUnquotedArea); virtual void doApply() OVERRIDE; void calculateStyleBeforeInsertion(const Position&); - void applyStyleAfterInsertion(Node* originalEnclosingBlock); + void applyStyleAfterInsertion(Element* originalEnclosingBlock); void getAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, WillBeHeapVector >& ancestors); PassRefPtrWillBeRawPtr cloneHierarchyUnderNewBlock(const WillBeHeapVector >& ancestors, PassRefPtrWillBeRawPtr blockToInsert); - bool shouldUseDefaultParagraphElement(Node*) const; + bool shouldUseDefaultParagraphElement(Element*) const; virtual bool preservesTypingStyle() const OVERRIDE; RefPtrWillBeMember m_style; bool m_mustUseDefaultParagraphElement; - bool m_pasteBlockqutoeIntoUnquotedArea; + bool m_pasteBlockquoteIntoUnquotedArea; }; }