| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "core/editing/FrameSelection.h" | 35 #include "core/editing/FrameSelection.h" |
| 36 #include "core/editing/InsertLineBreakCommand.h" | 36 #include "core/editing/InsertLineBreakCommand.h" |
| 37 #include "core/editing/InsertParagraphSeparatorCommand.h" | 37 #include "core/editing/InsertParagraphSeparatorCommand.h" |
| 38 #include "core/editing/InsertTextCommand.h" | 38 #include "core/editing/InsertTextCommand.h" |
| 39 #include "core/editing/SpellChecker.h" | 39 #include "core/editing/SpellChecker.h" |
| 40 #include "core/editing/VisiblePosition.h" | 40 #include "core/editing/VisiblePosition.h" |
| 41 #include "core/editing/VisibleUnits.h" | 41 #include "core/editing/VisibleUnits.h" |
| 42 #include "core/editing/htmlediting.h" | 42 #include "core/editing/htmlediting.h" |
| 43 #include "core/frame/LocalFrame.h" | 43 #include "core/frame/LocalFrame.h" |
| 44 #include "core/html/HTMLBRElement.h" | 44 #include "core/html/HTMLBRElement.h" |
| 45 #include "core/rendering/RenderObject.h" | 45 #include "core/layout/LayoutObject.h" |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 using namespace HTMLNames; | 49 using namespace HTMLNames; |
| 50 | 50 |
| 51 class TypingCommandLineOperation | 51 class TypingCommandLineOperation |
| 52 { | 52 { |
| 53 public: | 53 public: |
| 54 TypingCommandLineOperation(TypingCommand* typingCommand, bool selectInserted
Text, const String& text) | 54 TypingCommandLineOperation(TypingCommand* typingCommand, bool selectInserted
Text, const String& text) |
| 55 : m_typingCommand(typingCommand) | 55 : m_typingCommand(typingCommand) |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 ASSERT_NOT_REACHED(); | 624 ASSERT_NOT_REACHED(); |
| 625 m_preservesTypingStyle = false; | 625 m_preservesTypingStyle = false; |
| 626 } | 626 } |
| 627 | 627 |
| 628 bool TypingCommand::isTypingCommand() const | 628 bool TypingCommand::isTypingCommand() const |
| 629 { | 629 { |
| 630 return true; | 630 return true; |
| 631 } | 631 } |
| 632 | 632 |
| 633 } // namespace blink | 633 } // namespace blink |
| OLD | NEW |