diff options
Diffstat (limited to 'WebCore/platform/mac/LocalizedStringsMac.mm')
-rw-r--r-- | WebCore/platform/mac/LocalizedStringsMac.mm | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/WebCore/platform/mac/LocalizedStringsMac.mm b/WebCore/platform/mac/LocalizedStringsMac.mm index fdd7df5..261347f 100644 --- a/WebCore/platform/mac/LocalizedStringsMac.mm +++ b/WebCore/platform/mac/LocalizedStringsMac.mm @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. + * Copyright (C) 2003, 2006, 2009 Apple Computer, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -89,6 +89,7 @@ String copyImageUnknownFileLabel() return String(); } +#if ENABLE(CONTEXT_MENUS) String contextMenuItemTagOpenLinkInNewWindow() { BEGIN_BLOCK_OBJC_EXCEPTIONS; @@ -544,6 +545,7 @@ String contextMenuItemTagInspectElement() END_BLOCK_OBJC_EXCEPTIONS; return String(); } +#endif // ENABLE(CONTEXT_MENUS) String searchMenuNoRecentSearchesText() { @@ -625,6 +627,14 @@ String AXDefinitionListDefinitionText() return String(); } +String AXARIAContentGroupText(const String& ariaType) +{ + BEGIN_BLOCK_OBJC_EXCEPTIONS; + return [[WebCoreViewFactory sharedFactory] AXARIAContentGroupText:ariaType]; + END_BLOCK_OBJC_EXCEPTIONS; + return String(); +} + String AXButtonActionVerb() { BEGIN_BLOCK_OBJC_EXCEPTIONS; @@ -713,4 +723,29 @@ String mediaElementLiveBroadcastStateText() return String(); } +String localizedMediaControlElementString(const String& controlName) +{ + BEGIN_BLOCK_OBJC_EXCEPTIONS; + return [[WebCoreViewFactory sharedFactory] localizedMediaControlElementString:controlName]; + END_BLOCK_OBJC_EXCEPTIONS; + return String(); +} + +String localizedMediaControlElementHelpText(const String& controlName) +{ + BEGIN_BLOCK_OBJC_EXCEPTIONS; + return [[WebCoreViewFactory sharedFactory] localizedMediaControlElementHelpText:controlName]; + END_BLOCK_OBJC_EXCEPTIONS; + return String(); +} + +String localizedMediaTimeDescription(float time) +{ + BEGIN_BLOCK_OBJC_EXCEPTIONS; + return [[WebCoreViewFactory sharedFactory] localizedMediaTimeDescription:time]; + END_BLOCK_OBJC_EXCEPTIONS; + return String(); +} + + } |