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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #include "FrameView.h" | 52 #include "FrameView.h" |
53 #include "HTMLFormControlElement.h" | 53 #include "HTMLFormControlElement.h" |
54 #include "HTMLFrameOwnerElement.h" | 54 #include "HTMLFrameOwnerElement.h" |
55 #include "HTMLImageElement.h" | 55 #include "HTMLImageElement.h" |
56 #include "HTMLNames.h" | 56 #include "HTMLNames.h" |
57 #include "HTMLTextAreaElement.h" | 57 #include "HTMLTextAreaElement.h" |
58 #include "HitTestResult.h" | 58 #include "HitTestResult.h" |
59 #include "IndentOutdentCommand.h" | 59 #include "IndentOutdentCommand.h" |
60 #include "InsertListCommand.h" | 60 #include "InsertListCommand.h" |
61 #include "KeyboardEvent.h" | 61 #include "KeyboardEvent.h" |
62 #include "KillRing.h" | |
63 #include "ModifySelectionListLevel.h" | 62 #include "ModifySelectionListLevel.h" |
64 #include "NodeList.h" | 63 #include "NodeList.h" |
65 #include "NodeTraversal.h" | 64 #include "NodeTraversal.h" |
66 #include "Page.h" | 65 #include "Page.h" |
67 #include "Pasteboard.h" | |
68 #include "RemoveFormatCommand.h" | 66 #include "RemoveFormatCommand.h" |
69 #include "RenderBlock.h" | 67 #include "RenderBlock.h" |
70 #include "RenderPart.h" | 68 #include "RenderPart.h" |
71 #include "RenderTextControl.h" | 69 #include "RenderTextControl.h" |
72 #include "RenderedPosition.h" | 70 #include "RenderedPosition.h" |
73 #include "ReplaceSelectionCommand.h" | 71 #include "ReplaceSelectionCommand.h" |
74 #include "Settings.h" | 72 #include "Settings.h" |
75 #include "ShadowRoot.h" | 73 #include "ShadowRoot.h" |
76 #include "SimplifyMarkupCommand.h" | 74 #include "SimplifyMarkupCommand.h" |
77 #include "Sound.h" | |
78 #include "SpellChecker.h" | 75 #include "SpellChecker.h" |
79 #include "SpellingCorrectionCommand.h" | 76 #include "SpellingCorrectionCommand.h" |
80 #include "StylePropertySet.h" | 77 #include "StylePropertySet.h" |
81 #include "StyleResolver.h" | 78 #include "StyleResolver.h" |
82 #include "Text.h" | 79 #include "Text.h" |
83 #include "TextCheckingHelper.h" | 80 #include "TextCheckingHelper.h" |
84 #include "TextEvent.h" | 81 #include "TextEvent.h" |
85 #include "TextIterator.h" | 82 #include "TextIterator.h" |
86 #include "TypingCommand.h" | 83 #include "TypingCommand.h" |
87 #include "UserTypingGestureIndicator.h" | 84 #include "UserTypingGestureIndicator.h" |
88 #include "VisibleUnits.h" | 85 #include "VisibleUnits.h" |
89 #include "core/accessibility/AXObjectCache.h" | 86 #include "core/accessibility/AXObjectCache.h" |
| 87 #include "core/platform/KillRing.h" |
| 88 #include "core/platform/Pasteboard.h" |
| 89 #include "core/platform/Sound.h" |
90 #include "core/platform/graphics/GraphicsContext.h" | 90 #include "core/platform/graphics/GraphicsContext.h" |
91 #include "core/platform/text/TextCheckerClient.h" | 91 #include "core/platform/text/TextCheckerClient.h" |
92 #include "htmlediting.h" | 92 #include "htmlediting.h" |
93 #include "markup.h" | 93 #include "markup.h" |
94 #include <wtf/unicode/CharacterNames.h> | 94 #include <wtf/unicode/CharacterNames.h> |
95 #include <wtf/unicode/Unicode.h> | 95 #include <wtf/unicode/Unicode.h> |
96 #include <wtf/UnusedParam.h> | 96 #include <wtf/UnusedParam.h> |
97 | 97 |
98 namespace WebCore { | 98 namespace WebCore { |
99 | 99 |
(...skipping 2829 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 |