#include "LocalizedStrings.h"
#include "NotImplemented.h"
+#include "PlatformBridge.h"
#include "PlatformString.h"
namespace WebCore {
+// The following two strings are used for File Upload form control, ie
+// <input type="file">. The first is the text that appears on the button
+// that when pressed, the user can browse for and select a file. The
+// second string is rendered on the screen when no file has been selected.
+String fileButtonChooseFileLabel()
+{
+ return *(PlatformBridge::globalLocalizedName(
+ PlatformBridge::FileUploadLabel));
+}
+
+String fileButtonNoFileSelectedLabel()
+{
+ return *(PlatformBridge::globalLocalizedName(
+ PlatformBridge::FileUploadNoFileChosenLabel));
+}
+
String contextMenuItemTagInspectElement()
{
return String("Inspect Element");
return String();
}
+String contextMenuItemTagOpenVideoInNewWindow()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagOpenAudioInNewWindow()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagCopyVideoLinkToClipboard()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagCopyAudioLinkToClipboard()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagToggleMediaControls()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagToggleMediaLoop()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagEnterVideoFullscreen()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagMediaPlay()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagMediaPause()
+{
+ notImplemented();
+ return String();
+}
+
+String contextMenuItemTagMediaMute()
+{
+ notImplemented();
+ return String();
+}
+
String contextMenuItemTagOpenFrameInNewWindow()
{
notImplemented();
String resetButtonDefaultLabel()
{
- return String("Reset");
+ return *(PlatformBridge::globalLocalizedName(
+ PlatformBridge::ResetLabel));
}
String submitButtonDefaultLabel()
{
- return String("Submit");
+ return *(PlatformBridge::globalLocalizedName(
+ PlatformBridge::SubmitLabel));
}
String inputElementAltText()
return String();
}
+String validationMessageValueMissingForCheckboxText()
+{
+ notImplemented();
+ return validationMessageValueMissingText();
+}
+
+String validationMessageValueMissingForFileText()
+{
+ notImplemented();
+ return validationMessageValueMissingText();
+}
+
+String validationMessageValueMissingForMultipleFileText()
+{
+ notImplemented();
+ return validationMessageValueMissingText();
+}
+
+String validationMessageValueMissingForRadioText()
+{
+ notImplemented();
+ return validationMessageValueMissingText();
+}
+
+String validationMessageValueMissingForSelectText()
+{
+ notImplemented();
+ return validationMessageValueMissingText();
+}
+
String validationMessageTypeMismatchText()
{
notImplemented();
return String();
}
+String validationMessageTypeMismatchForEmailText()
+{
+ notImplemented();
+ return validationMessageTypeMismatchText();
+}
+
+String validationMessageTypeMismatchForMultipleEmailText()
+{
+ notImplemented();
+ return validationMessageTypeMismatchText();
+}
+
+String validationMessageTypeMismatchForURLText()
+{
+ notImplemented();
+ return validationMessageTypeMismatchText();
+}
+
String validationMessagePatternMismatchText()
{
notImplemented();
return String();
}
-String validationMessageTooLongText()
+String validationMessageTooLongText(int, int)
{
notImplemented();
return String();
}
-String validationMessageRangeUnderflowText()
+String validationMessageRangeUnderflowText(const String&)
{
notImplemented();
return String();
}
-String validationMessageRangeOverflowText()
+String validationMessageRangeOverflowText(const String&)
{
notImplemented();
return String();
}
-String validationMessageStepMismatchText()
+String validationMessageStepMismatchText(const String&, const String&)
{
notImplemented();
return String();
}
+String missingPluginText()
+{
+ return String("Missing Plug-in");
+}
+
+String crashedPluginText()
+{
+ return String("Plug-in Failure");
+}
+
} // namespace WebCore