| 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 14 matching lines...) Expand all Loading... |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "Editor.h" | 28 #include "Editor.h" |
| 29 | 29 |
| 30 #include "AlternativeTextController.h" | 30 #include "AlternativeTextController.h" |
| 31 #include "ApplyStyleCommand.h" | 31 #include "ApplyStyleCommand.h" |
| 32 #include "CSSComputedStyleDeclaration.h" | 32 #include "CSSComputedStyleDeclaration.h" |
| 33 #include "CSSPropertyNames.h" | 33 #include "CSSPropertyNames.h" |
| 34 #include "CSSValueKeywords.h" | 34 #include "CSSValueKeywords.h" |
| 35 #include "CachedResourceLoader.h" | |
| 36 #include "Clipboard.h" | 35 #include "Clipboard.h" |
| 37 #include "ClipboardEvent.h" | 36 #include "ClipboardEvent.h" |
| 38 #include "CompositionEvent.h" | 37 #include "CompositionEvent.h" |
| 39 #include "CreateLinkCommand.h" | 38 #include "CreateLinkCommand.h" |
| 40 #include "DeleteSelectionCommand.h" | 39 #include "DeleteSelectionCommand.h" |
| 41 #include "DictationAlternative.h" | 40 #include "DictationAlternative.h" |
| 42 #include "DictationCommand.h" | 41 #include "DictationCommand.h" |
| 43 #include "DocumentFragment.h" | 42 #include "DocumentFragment.h" |
| 44 #include "DocumentMarkerController.h" | 43 #include "DocumentMarkerController.h" |
| 45 #include "EditorClient.h" | 44 #include "EditorClient.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 73 #include "StylePropertySet.h" | 72 #include "StylePropertySet.h" |
| 74 #include "StyleResolver.h" | 73 #include "StyleResolver.h" |
| 75 #include "Text.h" | 74 #include "Text.h" |
| 76 #include "TextCheckingHelper.h" | 75 #include "TextCheckingHelper.h" |
| 77 #include "TextEvent.h" | 76 #include "TextEvent.h" |
| 78 #include "TextIterator.h" | 77 #include "TextIterator.h" |
| 79 #include "TypingCommand.h" | 78 #include "TypingCommand.h" |
| 80 #include "UserTypingGestureIndicator.h" | 79 #include "UserTypingGestureIndicator.h" |
| 81 #include "VisibleUnits.h" | 80 #include "VisibleUnits.h" |
| 82 #include "core/accessibility/AXObjectCache.h" | 81 #include "core/accessibility/AXObjectCache.h" |
| 82 #include "core/loader/cache/CachedResourceLoader.h" |
| 83 #include "core/platform/KillRing.h" | 83 #include "core/platform/KillRing.h" |
| 84 #include "core/platform/Pasteboard.h" | 84 #include "core/platform/Pasteboard.h" |
| 85 #include "core/platform/Sound.h" | 85 #include "core/platform/Sound.h" |
| 86 #include "core/platform/graphics/GraphicsContext.h" | 86 #include "core/platform/graphics/GraphicsContext.h" |
| 87 #include "core/platform/text/TextCheckerClient.h" | 87 #include "core/platform/text/TextCheckerClient.h" |
| 88 #include "core/rendering/HitTestResult.h" | 88 #include "core/rendering/HitTestResult.h" |
| 89 #include "core/rendering/RenderBlock.h" | 89 #include "core/rendering/RenderBlock.h" |
| 90 #include "core/rendering/RenderPart.h" | 90 #include "core/rendering/RenderPart.h" |
| 91 #include "core/rendering/RenderTextControl.h" | 91 #include "core/rendering/RenderTextControl.h" |
| 92 #include "htmlediting.h" | 92 #include "htmlediting.h" |
| (...skipping 2836 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 |