| 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 "HTMLFormControlElement.h" | |
| 33 #include "HTMLFrameOwnerElement.h" | |
| 34 #include "HTMLImageElement.h" | |
| 35 #include "HTMLNames.h" | 32 #include "HTMLNames.h" |
| 36 #include "HTMLTextAreaElement.h" | |
| 37 #include "core/accessibility/AXObjectCache.h" | 33 #include "core/accessibility/AXObjectCache.h" |
| 38 #include "core/css/CSSComputedStyleDeclaration.h" | 34 #include "core/css/CSSComputedStyleDeclaration.h" |
| 39 #include "core/css/StylePropertySet.h" | 35 #include "core/css/StylePropertySet.h" |
| 40 #include "core/css/StyleResolver.h" | 36 #include "core/css/StyleResolver.h" |
| 41 #include "core/dom/Clipboard.h" | 37 #include "core/dom/Clipboard.h" |
| 42 #include "core/dom/ClipboardEvent.h" | 38 #include "core/dom/ClipboardEvent.h" |
| 43 #include "core/dom/CompositionEvent.h" | 39 #include "core/dom/CompositionEvent.h" |
| 44 #include "core/dom/DocumentFragment.h" | 40 #include "core/dom/DocumentFragment.h" |
| 45 #include "core/dom/DocumentMarkerController.h" | 41 #include "core/dom/DocumentMarkerController.h" |
| 46 #include "core/dom/EventNames.h" | 42 #include "core/dom/EventNames.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 66 #include "core/editing/ReplaceSelectionCommand.h" | 62 #include "core/editing/ReplaceSelectionCommand.h" |
| 67 #include "core/editing/SimplifyMarkupCommand.h" | 63 #include "core/editing/SimplifyMarkupCommand.h" |
| 68 #include "core/editing/SpellChecker.h" | 64 #include "core/editing/SpellChecker.h" |
| 69 #include "core/editing/SpellingCorrectionCommand.h" | 65 #include "core/editing/SpellingCorrectionCommand.h" |
| 70 #include "core/editing/TextCheckingHelper.h" | 66 #include "core/editing/TextCheckingHelper.h" |
| 71 #include "core/editing/TextIterator.h" | 67 #include "core/editing/TextIterator.h" |
| 72 #include "core/editing/TypingCommand.h" | 68 #include "core/editing/TypingCommand.h" |
| 73 #include "core/editing/VisibleUnits.h" | 69 #include "core/editing/VisibleUnits.h" |
| 74 #include "core/editing/htmlediting.h" | 70 #include "core/editing/htmlediting.h" |
| 75 #include "core/editing/markup.h" | 71 #include "core/editing/markup.h" |
| 72 #include "core/html/HTMLFormControlElement.h" |
| 73 #include "core/html/HTMLFrameOwnerElement.h" |
| 74 #include "core/html/HTMLImageElement.h" |
| 75 #include "core/html/HTMLTextAreaElement.h" |
| 76 #include "core/loader/cache/CachedResourceLoader.h" | 76 #include "core/loader/cache/CachedResourceLoader.h" |
| 77 #include "core/page/EditorClient.h" | 77 #include "core/page/EditorClient.h" |
| 78 #include "core/page/EventHandler.h" | 78 #include "core/page/EventHandler.h" |
| 79 #include "core/page/FocusController.h" | 79 #include "core/page/FocusController.h" |
| 80 #include "core/page/Frame.h" | 80 #include "core/page/Frame.h" |
| 81 #include "core/page/FrameTree.h" | 81 #include "core/page/FrameTree.h" |
| 82 #include "core/page/FrameView.h" | 82 #include "core/page/FrameView.h" |
| 83 #include "core/page/Page.h" | 83 #include "core/page/Page.h" |
| 84 #include "core/page/Settings.h" | 84 #include "core/page/Settings.h" |
| 85 #include "core/platform/KillRing.h" | 85 #include "core/platform/KillRing.h" |
| (...skipping 2821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2907 { | 2907 { |
| 2908 return m_alternativeTextController->dictationAlternativesForMarker(marker); | 2908 return m_alternativeTextController->dictationAlternativesForMarker(marker); |
| 2909 } | 2909 } |
| 2910 | 2910 |
| 2911 void Editor::applyDictationAlternativelternative(const String& alternativeString
) | 2911 void Editor::applyDictationAlternativelternative(const String& alternativeString
) |
| 2912 { | 2912 { |
| 2913 m_alternativeTextController->applyDictationAlternative(alternativeString); | 2913 m_alternativeTextController->applyDictationAlternative(alternativeString); |
| 2914 } | 2914 } |
| 2915 | 2915 |
| 2916 } // namespace WebCore | 2916 } // namespace WebCore |
| OLD | NEW |