| 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 * 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 13 matching lines...) Expand all Loading... |
| 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 "AlternativeTextController.h" | 28 #include "AlternativeTextController.h" |
| 29 | 29 |
| 30 #include "DictationAlternative.h" | 30 #include "DictationAlternative.h" |
| 31 #include "Document.h" | 31 #include "Document.h" |
| 32 #include "DocumentMarkerController.h" | 32 #include "DocumentMarkerController.h" |
| 33 #include "EditCommand.h" | 33 #include "EditCommand.h" |
| 34 #include "Editor.h" |
| 34 #include "EditorClient.h" | 35 #include "EditorClient.h" |
| 35 #include "Event.h" | 36 #include "Event.h" |
| 36 #include "ExceptionCodePlaceholder.h" | 37 #include "ExceptionCodePlaceholder.h" |
| 37 #include "FloatQuad.h" | 38 #include "FloatQuad.h" |
| 38 #include "Frame.h" | 39 #include "Frame.h" |
| 39 #include "FrameView.h" | 40 #include "FrameView.h" |
| 40 #include "Page.h" | 41 #include "Page.h" |
| 41 #include "SpellingCorrectionCommand.h" | 42 #include "SpellingCorrectionCommand.h" |
| 42 #include "TextCheckerClient.h" | 43 #include "TextCheckerClient.h" |
| 43 #include "TextCheckingHelper.h" | 44 #include "TextCheckingHelper.h" |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 for (size_t i = 0; i < dictationAlternativesMarkers.size(); ++i) | 751 for (size_t i = 0; i < dictationAlternativesMarkers.size(); ++i) |
| 751 removeDictationAlternativesForMarker(dictationAlternativesMarkers[i]); | 752 removeDictationAlternativesForMarker(dictationAlternativesMarkers[i]); |
| 752 | 753 |
| 753 applyAlternativeTextToRange(selection.get(), alternativeString, AlternativeT
extTypeDictationAlternatives, markerTypesForAppliedDictationAlternative()); | 754 applyAlternativeTextToRange(selection.get(), alternativeString, AlternativeT
extTypeDictationAlternatives, markerTypesForAppliedDictationAlternative()); |
| 754 #else | 755 #else |
| 755 UNUSED_PARAM(alternativeString); | 756 UNUSED_PARAM(alternativeString); |
| 756 #endif | 757 #endif |
| 757 } | 758 } |
| 758 | 759 |
| 759 } // namespace WebCore | 760 } // namespace WebCore |
| OLD | NEW |