OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 11 matching lines...) Expand all Loading... |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 #include "core/editing/Editor.h" | 28 #include "core/editing/Editor.h" |
29 | 29 |
30 #include "CSSPropertyNames.h" | 30 #include "CSSPropertyNames.h" |
31 #include "CSSValueKeywords.h" | 31 #include "CSSValueKeywords.h" |
32 #include "Clipboard.h" | |
33 #include "ClipboardEvent.h" | |
34 #include "CompositionEvent.h" | |
35 #include "DocumentFragment.h" | |
36 #include "DocumentMarkerController.h" | |
37 #include "EventNames.h" | |
38 #include "ExceptionCodePlaceholder.h" | |
39 #include "HTMLFormControlElement.h" | 32 #include "HTMLFormControlElement.h" |
40 #include "HTMLFrameOwnerElement.h" | 33 #include "HTMLFrameOwnerElement.h" |
41 #include "HTMLImageElement.h" | 34 #include "HTMLImageElement.h" |
42 #include "HTMLNames.h" | 35 #include "HTMLNames.h" |
43 #include "HTMLTextAreaElement.h" | 36 #include "HTMLTextAreaElement.h" |
44 #include "KeyboardEvent.h" | |
45 #include "NodeList.h" | |
46 #include "NodeTraversal.h" | |
47 #include "ShadowRoot.h" | |
48 #include "Text.h" | |
49 #include "TextEvent.h" | |
50 #include "UserTypingGestureIndicator.h" | |
51 #include "core/accessibility/AXObjectCache.h" | 37 #include "core/accessibility/AXObjectCache.h" |
52 #include "core/css/CSSComputedStyleDeclaration.h" | 38 #include "core/css/CSSComputedStyleDeclaration.h" |
53 #include "core/css/StylePropertySet.h" | 39 #include "core/css/StylePropertySet.h" |
54 #include "core/css/StyleResolver.h" | 40 #include "core/css/StyleResolver.h" |
| 41 #include "core/dom/Clipboard.h" |
| 42 #include "core/dom/ClipboardEvent.h" |
| 43 #include "core/dom/CompositionEvent.h" |
| 44 #include "core/dom/DocumentFragment.h" |
| 45 #include "core/dom/DocumentMarkerController.h" |
| 46 #include "core/dom/EventNames.h" |
| 47 #include "core/dom/ExceptionCodePlaceholder.h" |
| 48 #include "core/dom/KeyboardEvent.h" |
| 49 #include "core/dom/NodeList.h" |
| 50 #include "core/dom/NodeTraversal.h" |
| 51 #include "core/dom/ShadowRoot.h" |
| 52 #include "core/dom/Text.h" |
| 53 #include "core/dom/TextEvent.h" |
| 54 #include "core/dom/UserTypingGestureIndicator.h" |
55 #include "core/editing/AlternativeTextController.h" | 55 #include "core/editing/AlternativeTextController.h" |
56 #include "core/editing/ApplyStyleCommand.h" | 56 #include "core/editing/ApplyStyleCommand.h" |
57 #include "core/editing/CreateLinkCommand.h" | 57 #include "core/editing/CreateLinkCommand.h" |
58 #include "core/editing/DeleteSelectionCommand.h" | 58 #include "core/editing/DeleteSelectionCommand.h" |
59 #include "core/editing/DictationAlternative.h" | 59 #include "core/editing/DictationAlternative.h" |
60 #include "core/editing/DictationCommand.h" | 60 #include "core/editing/DictationCommand.h" |
61 #include "core/editing/IndentOutdentCommand.h" | 61 #include "core/editing/IndentOutdentCommand.h" |
62 #include "core/editing/InsertListCommand.h" | 62 #include "core/editing/InsertListCommand.h" |
63 #include "core/editing/ModifySelectionListLevel.h" | 63 #include "core/editing/ModifySelectionListLevel.h" |
64 #include "core/editing/RemoveFormatCommand.h" | 64 #include "core/editing/RemoveFormatCommand.h" |
(...skipping 2864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2929 { | 2929 { |
2930 return m_alternativeTextController->dictationAlternativesForMarker(marker); | 2930 return m_alternativeTextController->dictationAlternativesForMarker(marker); |
2931 } | 2931 } |
2932 | 2932 |
2933 void Editor::applyDictationAlternativelternative(const String& alternativeString
) | 2933 void Editor::applyDictationAlternativelternative(const String& alternativeString
) |
2934 { | 2934 { |
2935 m_alternativeTextController->applyDictationAlternative(alternativeString); | 2935 m_alternativeTextController->applyDictationAlternative(alternativeString); |
2936 } | 2936 } |
2937 | 2937 |
2938 } // namespace WebCore | 2938 } // namespace WebCore |
OLD | NEW |