| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class SimpleFontData; | 51 class SimpleFontData; |
| 52 class SpellChecker; | 52 class SpellChecker; |
| 53 class StylePropertySet; | 53 class StylePropertySet; |
| 54 class Text; | 54 class Text; |
| 55 class TextEvent; | 55 class TextEvent; |
| 56 class UndoStack; | 56 class UndoStack; |
| 57 | 57 |
| 58 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF
romDOMWithUserInterface }; | 58 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF
romDOMWithUserInterface }; |
| 59 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe
paratorIsP }; | 59 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe
paratorIsP }; |
| 60 | 60 |
| 61 class Editor final : public DummyBase<Editor> { | 61 class Editor final { |
| 62 WTF_MAKE_NONCOPYABLE(Editor); | 62 WTF_MAKE_NONCOPYABLE(Editor); |
| 63 public: | 63 public: |
| 64 static PassOwnPtr<Editor> create(LocalFrame&); | 64 static PassOwnPtr<Editor> create(LocalFrame&); |
| 65 ~Editor(); | 65 ~Editor(); |
| 66 | 66 |
| 67 EditorClient& client() const; | 67 EditorClient& client() const; |
| 68 | 68 |
| 69 LocalFrame& frame() const { return m_frame; } | 69 LocalFrame& frame() const { return m_frame; } |
| 70 | 70 |
| 71 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } | 71 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 262 |
| 263 inline bool Editor::markedTextMatchesAreHighlighted() const | 263 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 264 { | 264 { |
| 265 return m_areMarkedTextMatchesHighlighted; | 265 return m_areMarkedTextMatchesHighlighted; |
| 266 } | 266 } |
| 267 | 267 |
| 268 | 268 |
| 269 } // namespace blink | 269 } // namespace blink |
| 270 | 270 |
| 271 #endif // Editor_h | 271 #endif // Editor_h |
| OLD | NEW |