Index: Source/core/editing/ReplaceSelectionCommand.h |
diff --git a/Source/core/editing/ReplaceSelectionCommand.h b/Source/core/editing/ReplaceSelectionCommand.h |
index 112508ef5a36271906925ad8ad2e4a1c292cfded..fce407d6057bb9b73bc0aef896d06f594501aca1 100644 |
--- a/Source/core/editing/ReplaceSelectionCommand.h |
+++ b/Source/core/editing/ReplaceSelectionCommand.h |
@@ -20,7 +20,7 @@ |
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifndef ReplaceSelectionCommand_h |
@@ -57,7 +57,7 @@ private: |
virtual void doApply(); |
virtual EditAction editingAction() const; |
- |
+ |
class InsertedNodes { |
public: |
void respondToNodeInsertion(Node*); |
@@ -78,21 +78,21 @@ private: |
void updateNodesInserted(Node*); |
bool shouldRemoveEndBR(Node*, const VisiblePosition&); |
- |
+ |
bool shouldMergeStart(bool, bool, bool); |
bool shouldMergeEnd(bool selectionEndWasEndOfParagraph); |
bool shouldMerge(const VisiblePosition&, const VisiblePosition&); |
- |
+ |
void mergeEndIfNeeded(); |
- |
+ |
void removeUnrenderedTextNodesAtEnds(InsertedNodes&); |
- |
+ |
void removeRedundantStylesAndKeepStyleSpanInline(InsertedNodes&); |
void makeInsertedContentRoundTrippableWithHTMLTreeBuilder(InsertedNodes&); |
void moveNodeOutOfAncestor(PassRefPtr<Node>, PassRefPtr<Node> ancestor); |
void handleStyleSpans(InsertedNodes&); |
void handlePasteAsQuotationNode(); |
- |
+ |
VisiblePosition positionAtStartOfInsertedContent() const; |
VisiblePosition positionAtEndOfInsertedContent() const; |