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 24 matching lines...) Expand all Loading... |
35 #include "core/editing/TextIterator.h" | 35 #include "core/editing/TextIterator.h" |
36 #include "core/editing/VisibleSelection.h" | 36 #include "core/editing/VisibleSelection.h" |
37 #include "core/editing/WritingDirection.h" | 37 #include "core/editing/WritingDirection.h" |
38 #include "core/frame/FrameDestructionObserver.h" | 38 #include "core/frame/FrameDestructionObserver.h" |
39 #include "platform/PasteMode.h" | 39 #include "platform/PasteMode.h" |
40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class CompositeEditCommand; | 44 class CompositeEditCommand; |
45 class DataTransfer; | |
46 class EditCommand; | |
47 class EditCommandComposition; | 45 class EditCommandComposition; |
48 class EditorClient; | 46 class EditorClient; |
49 class EditorInternalCommand; | 47 class EditorInternalCommand; |
50 class LocalFrame; | 48 class LocalFrame; |
51 class HTMLElement; | |
52 class HitTestResult; | 49 class HitTestResult; |
53 class KillRing; | 50 class KillRing; |
54 class Pasteboard; | 51 class Pasteboard; |
55 class SharedBuffer; | |
56 class SimpleFontData; | |
57 class SpellChecker; | 52 class SpellChecker; |
58 class StylePropertySet; | 53 class StylePropertySet; |
59 class Text; | |
60 class TextEvent; | 54 class TextEvent; |
61 class UndoStack; | 55 class UndoStack; |
62 | 56 |
63 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF
romDOMWithUserInterface }; | 57 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF
romDOMWithUserInterface }; |
64 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe
paratorIsP }; | 58 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe
paratorIsP }; |
65 | 59 |
66 class Editor FINAL : public NoBaseWillBeGarbageCollectedFinalized<Editor> { | 60 class Editor FINAL : public NoBaseWillBeGarbageCollectedFinalized<Editor> { |
67 WTF_MAKE_NONCOPYABLE(Editor); | 61 WTF_MAKE_NONCOPYABLE(Editor); |
68 public: | 62 public: |
69 static PassOwnPtrWillBeRawPtr<Editor> create(LocalFrame&); | 63 static PassOwnPtrWillBeRawPtr<Editor> create(LocalFrame&); |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 289 |
296 inline bool Editor::markedTextMatchesAreHighlighted() const | 290 inline bool Editor::markedTextMatchesAreHighlighted() const |
297 { | 291 { |
298 return m_areMarkedTextMatchesHighlighted; | 292 return m_areMarkedTextMatchesHighlighted; |
299 } | 293 } |
300 | 294 |
301 | 295 |
302 } // namespace blink | 296 } // namespace blink |
303 | 297 |
304 #endif // Editor_h | 298 #endif // Editor_h |
OLD | NEW |