| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class KillRing; | 50 class KillRing; |
| 51 class Pasteboard; | 51 class Pasteboard; |
| 52 class SpellChecker; | 52 class SpellChecker; |
| 53 class StylePropertySet; | 53 class StylePropertySet; |
| 54 class TextEvent; | 54 class TextEvent; |
| 55 class UndoStack; | 55 class UndoStack; |
| 56 | 56 |
| 57 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF
romDOMWithUserInterface }; | 57 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF
romDOMWithUserInterface }; |
| 58 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe
paratorIsP }; | 58 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe
paratorIsP }; |
| 59 | 59 |
| 60 class Editor FINAL : public NoBaseWillBeGarbageCollectedFinalized<Editor> { | 60 class Editor final : public NoBaseWillBeGarbageCollectedFinalized<Editor> { |
| 61 WTF_MAKE_NONCOPYABLE(Editor); | 61 WTF_MAKE_NONCOPYABLE(Editor); |
| 62 public: | 62 public: |
| 63 static PassOwnPtrWillBeRawPtr<Editor> create(LocalFrame&); | 63 static PassOwnPtrWillBeRawPtr<Editor> create(LocalFrame&); |
| 64 ~Editor(); | 64 ~Editor(); |
| 65 | 65 |
| 66 EditorClient& client() const; | 66 EditorClient& client() const; |
| 67 | 67 |
| 68 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } | 68 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } |
| 69 | 69 |
| 70 void handleKeyboardEvent(KeyboardEvent*); | 70 void handleKeyboardEvent(KeyboardEvent*); |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 300 |
| 301 inline bool Editor::markedTextMatchesAreHighlighted() const | 301 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 302 { | 302 { |
| 303 return m_areMarkedTextMatchesHighlighted; | 303 return m_areMarkedTextMatchesHighlighted; |
| 304 } | 304 } |
| 305 | 305 |
| 306 | 306 |
| 307 } // namespace blink | 307 } // namespace blink |
| 308 | 308 |
| 309 #endif // Editor_h | 309 #endif // Editor_h |
| OLD | NEW |