diff options
author | Ben Murdoch <benm@google.com> | 2010-08-11 14:44:44 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-08-12 19:15:41 +0100 |
commit | dd8bb3de4f353a81954234999f1fea748aee2ea9 (patch) | |
tree | 729b52bf09294f0d6c67cd5ea80aee1b727b7bd8 /WebCore/platform/mac | |
parent | f3d41ba51d86bf719c7a65ab5297aea3c17e2d98 (diff) | |
download | external_webkit-dd8bb3de4f353a81954234999f1fea748aee2ea9.zip external_webkit-dd8bb3de4f353a81954234999f1fea748aee2ea9.tar.gz external_webkit-dd8bb3de4f353a81954234999f1fea748aee2ea9.tar.bz2 |
Merge WebKit at r65072 : Initial merge by git.
Change-Id: Ibcf418498376b2660aacb7f8d46ea7085ef91585
Diffstat (limited to 'WebCore/platform/mac')
-rw-r--r-- | WebCore/platform/mac/LocalizedStringsMac.mm | 539 | ||||
-rw-r--r-- | WebCore/platform/mac/PasteboardHelper.h | 1 |
2 files changed, 0 insertions, 540 deletions
diff --git a/WebCore/platform/mac/LocalizedStringsMac.mm b/WebCore/platform/mac/LocalizedStringsMac.mm deleted file mode 100644 index 8b7df04..0000000 --- a/WebCore/platform/mac/LocalizedStringsMac.mm +++ /dev/null @@ -1,539 +0,0 @@ -/* - * Copyright (C) 2003, 2006, 2009, 2010 Apple Inc. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#import "config.h" -#import "LocalizedStrings.h" - -#import "IntSize.h" -#import "LocalizationStrategy.h" -#import "PlatformStrategies.h" -#import "PlatformString.h" - -namespace WebCore { - -String inputElementAltText() -{ - return platformStrategies()->localizationStrategy()->inputElementAltText(); -} - -String resetButtonDefaultLabel() -{ - return platformStrategies()->localizationStrategy()->resetButtonDefaultLabel(); -} - -String searchableIndexIntroduction() -{ - return platformStrategies()->localizationStrategy()->searchableIndexIntroduction(); -} - -String submitButtonDefaultLabel() -{ - return platformStrategies()->localizationStrategy()->submitButtonDefaultLabel(); -} - -String fileButtonChooseFileLabel() -{ - return platformStrategies()->localizationStrategy()->fileButtonChooseFileLabel(); -} - -String fileButtonNoFileSelectedLabel() -{ - return platformStrategies()->localizationStrategy()->fileButtonNoFileSelectedLabel(); -} - -String copyImageUnknownFileLabel() -{ - return platformStrategies()->localizationStrategy()->copyImageUnknownFileLabel(); -} - -#if ENABLE(CONTEXT_MENUS) -String contextMenuItemTagOpenLinkInNewWindow() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagOpenLinkInNewWindow(); -} - -String contextMenuItemTagDownloadLinkToDisk() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagDownloadLinkToDisk(); -} - -String contextMenuItemTagCopyLinkToClipboard() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCopyLinkToClipboard(); -} - -String contextMenuItemTagOpenImageInNewWindow() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagOpenImageInNewWindow(); -} - -String contextMenuItemTagDownloadImageToDisk() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagDownloadImageToDisk(); -} - -String contextMenuItemTagCopyImageToClipboard() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCopyImageToClipboard(); -} - -String contextMenuItemTagOpenFrameInNewWindow() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagOpenFrameInNewWindow(); -} - -String contextMenuItemTagCopy() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCopy(); -} - -String contextMenuItemTagGoBack() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagGoBack(); -} - -String contextMenuItemTagGoForward() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagGoForward(); -} - -String contextMenuItemTagStop() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagStop(); -} - -String contextMenuItemTagReload() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagReload(); -} - -String contextMenuItemTagCut() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCut(); -} - -String contextMenuItemTagPaste() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagPaste(); -} - -String contextMenuItemTagNoGuessesFound() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagNoGuessesFound(); -} - -String contextMenuItemTagIgnoreSpelling() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagIgnoreSpelling(); -} - -String contextMenuItemTagLearnSpelling() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagLearnSpelling(); -} - -String contextMenuItemTagSearchInSpotlight() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSearchInSpotlight(); -} - -String contextMenuItemTagSearchWeb() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSearchWeb(); -} - -String contextMenuItemTagLookUpInDictionary() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagLookUpInDictionary(); -} - -String contextMenuItemTagOpenLink() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagOpenLink(); -} - -String contextMenuItemTagIgnoreGrammar() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagIgnoreGrammar(); -} - -String contextMenuItemTagSpellingMenu() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSpellingMenu(); -} - -String contextMenuItemTagShowSpellingPanel(bool show) -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagShowSpellingPanel(show); -} - -String contextMenuItemTagCheckSpelling() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCheckSpelling(); -} - -String contextMenuItemTagCheckSpellingWhileTyping() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCheckSpellingWhileTyping(); -} - -String contextMenuItemTagCheckGrammarWithSpelling() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCheckGrammarWithSpelling(); -} - -String contextMenuItemTagFontMenu() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagFontMenu(); -} - -String contextMenuItemTagShowFonts() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagShowFonts(); -} - -String contextMenuItemTagBold() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagBold(); -} - -String contextMenuItemTagItalic() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagItalic(); -} - -String contextMenuItemTagUnderline() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagUnderline(); -} - -String contextMenuItemTagOutline() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagOutline(); -} - -String contextMenuItemTagStyles() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagStyles(); -} - -String contextMenuItemTagShowColors() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagShowColors(); -} - -String contextMenuItemTagSpeechMenu() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSpeechMenu(); -} - -String contextMenuItemTagStartSpeaking() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagStartSpeaking(); -} - -String contextMenuItemTagStopSpeaking() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagStopSpeaking(); -} - -String contextMenuItemTagWritingDirectionMenu() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagWritingDirectionMenu(); -} - -String contextMenuItemTagTextDirectionMenu() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagTextDirectionMenu(); -} - -String contextMenuItemTagDefaultDirection() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagDefaultDirection(); -} - -String contextMenuItemTagLeftToRight() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagLeftToRight(); -} - -String contextMenuItemTagRightToLeft() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagRightToLeft(); -} - -String contextMenuItemTagCorrectSpellingAutomatically() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCorrectSpellingAutomatically(); -} - -String contextMenuItemTagSubstitutionsMenu() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSubstitutionsMenu(); -} - -String contextMenuItemTagShowSubstitutions(bool show) -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagShowSubstitutions(show); -} - -String contextMenuItemTagSmartCopyPaste() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSmartCopyPaste(); -} - -String contextMenuItemTagSmartQuotes() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSmartQuotes(); -} - -String contextMenuItemTagSmartDashes() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSmartDashes(); -} - -String contextMenuItemTagSmartLinks() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagSmartLinks(); -} - -String contextMenuItemTagTextReplacement() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagTextReplacement(); -} - -String contextMenuItemTagTransformationsMenu() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagTransformationsMenu(); -} - -String contextMenuItemTagMakeUpperCase() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagMakeUpperCase(); -} - -String contextMenuItemTagMakeLowerCase() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagMakeLowerCase(); -} - -String contextMenuItemTagCapitalize() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagCapitalize(); -} - -String contextMenuItemTagChangeBack(const String& replacedString) -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagChangeBack(replacedString); -} - -String contextMenuItemTagInspectElement() -{ - return platformStrategies()->localizationStrategy()->contextMenuItemTagInspectElement(); -} - -#endif // ENABLE(CONTEXT_MENUS) - -String searchMenuNoRecentSearchesText() -{ - return platformStrategies()->localizationStrategy()->searchMenuNoRecentSearchesText(); -} - -String searchMenuRecentSearchesText () -{ - return platformStrategies()->localizationStrategy()->searchMenuRecentSearchesText (); -} - -String searchMenuClearRecentSearchesText() -{ - return platformStrategies()->localizationStrategy()->searchMenuClearRecentSearchesText(); -} - -String AXWebAreaText() -{ - return platformStrategies()->localizationStrategy()->AXWebAreaText(); -} - -String AXLinkText() -{ - return platformStrategies()->localizationStrategy()->AXLinkText(); -} - -String AXListMarkerText() -{ - return platformStrategies()->localizationStrategy()->AXListMarkerText(); -} - -String AXImageMapText() -{ - return platformStrategies()->localizationStrategy()->AXImageMapText(); -} - -String AXHeadingText() -{ - return platformStrategies()->localizationStrategy()->AXHeadingText(); -} - -String AXDefinitionListTermText() -{ - return platformStrategies()->localizationStrategy()->AXDefinitionListTermText(); -} - -String AXDefinitionListDefinitionText() -{ - return platformStrategies()->localizationStrategy()->AXDefinitionListDefinitionText(); -} - -String AXARIAContentGroupText(const String& ariaType) -{ - return platformStrategies()->localizationStrategy()->AXARIAContentGroupText(ariaType); -} - -String AXButtonActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXButtonActionVerb(); -} - -String AXRadioButtonActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXRadioButtonActionVerb(); -} - -String AXTextFieldActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXTextFieldActionVerb(); -} - -String AXCheckedCheckBoxActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXCheckedCheckBoxActionVerb(); -} - -String AXUncheckedCheckBoxActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXUncheckedCheckBoxActionVerb(); -} - -String AXLinkActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXLinkActionVerb(); -} - -String AXMenuListPopupActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXMenuListPopupActionVerb(); -} - -String AXMenuListActionVerb() -{ - return platformStrategies()->localizationStrategy()->AXMenuListActionVerb(); -} - -String missingPluginText() -{ - return platformStrategies()->localizationStrategy()->missingPluginText(); -} - -String crashedPluginText() -{ - return platformStrategies()->localizationStrategy()->crashedPluginText(); -} - -String multipleFileUploadText(unsigned numberOfFiles) -{ - return platformStrategies()->localizationStrategy()->multipleFileUploadText(numberOfFiles); -} - -String unknownFileSizeText() -{ - return platformStrategies()->localizationStrategy()->unknownFileSizeText(); -} - -String imageTitle(const String& filename, const IntSize& size) -{ - return platformStrategies()->localizationStrategy()->imageTitle(filename, size); -} - -String mediaElementLoadingStateText() -{ - return platformStrategies()->localizationStrategy()->mediaElementLoadingStateText(); -} - -String mediaElementLiveBroadcastStateText() -{ - return platformStrategies()->localizationStrategy()->mediaElementLiveBroadcastStateText(); -} - -String localizedMediaControlElementString(const String& controlName) -{ - return platformStrategies()->localizationStrategy()->localizedMediaControlElementString(controlName); -} - -String localizedMediaControlElementHelpText(const String& controlName) -{ - return platformStrategies()->localizationStrategy()->localizedMediaControlElementHelpText(controlName); -} - -String localizedMediaTimeDescription(float time) -{ - return platformStrategies()->localizationStrategy()->localizedMediaTimeDescription(time); -} - -String validationMessageValueMissingText() -{ - return platformStrategies()->localizationStrategy()->validationMessageValueMissingText(); -} - -String validationMessageTypeMismatchText() -{ - return platformStrategies()->localizationStrategy()->validationMessageTypeMismatchText(); -} - -String validationMessagePatternMismatchText() -{ - return platformStrategies()->localizationStrategy()->validationMessagePatternMismatchText(); -} - -String validationMessageTooLongText() -{ - return platformStrategies()->localizationStrategy()->validationMessageTooLongText(); -} - -String validationMessageRangeUnderflowText() -{ - return platformStrategies()->localizationStrategy()->validationMessageRangeUnderflowText(); -} - -String validationMessageRangeOverflowText() -{ - return platformStrategies()->localizationStrategy()->validationMessageRangeOverflowText(); -} - -String validationMessageStepMismatchText() -{ - return platformStrategies()->localizationStrategy()->validationMessageStepMismatchText(); -} - -} // namespace WebCore diff --git a/WebCore/platform/mac/PasteboardHelper.h b/WebCore/platform/mac/PasteboardHelper.h index 0e241bb..7bd62e5 100644 --- a/WebCore/platform/mac/PasteboardHelper.h +++ b/WebCore/platform/mac/PasteboardHelper.h @@ -42,7 +42,6 @@ class DOMDocumentFragment; namespace WebCore { - class String; class Document; class PasteboardHelper { |