Exit fullscreen button in fullscreen media playback needs an accessibility string
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Aug 2016 17:26:13 +0000 (17:26 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Aug 2016 17:26:13 +0000 (17:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=161380

Reviewed by Beth Dakin.

Adds an accessibility string for the exit fullscreen button.

* English.lproj/Localizable.strings:
* platform/LocalizedStrings.cpp:
(WebCore::exitFullScreenButtonAccessibilityTitle):
* platform/LocalizedStrings.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/English.lproj/Localizable.strings
Source/WebCore/platform/LocalizedStrings.cpp
Source/WebCore/platform/LocalizedStrings.h

index d707ebf..901c6ca 100644 (file)
@@ -1,3 +1,17 @@
+2016-08-30  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Exit fullscreen button in fullscreen media playback needs an accessibility string
+        https://bugs.webkit.org/show_bug.cgi?id=161380
+
+        Reviewed by Beth Dakin.
+
+        Adds an accessibility string for the exit fullscreen button.
+
+        * English.lproj/Localizable.strings:
+        * platform/LocalizedStrings.cpp:
+        (WebCore::exitFullScreenButtonAccessibilityTitle):
+        * platform/LocalizedStrings.h:
+
 2016-08-30  Antti Koivisto  <antti@apple.com>
 
         Remove StylePendingImage
index 9ec2afc..bcc13b4 100644 (file)
 /* Option in segmented control for inserting a bulleted list in text editing */
 "Bulleted list" = "Bulleted list";
 
+/* Exit fullscreen button in fullscreen media controls */
+"Exit Fullscreen" = "Exit Fullscreen";
+
 /* menu item title for phone number */
 "Call Using iPhone:" = "Call Using iPhone:";
 
index 6da35b2..214d6bf 100644 (file)
@@ -1206,6 +1206,11 @@ String insertListTypeNumberedAccessibilityTitle()
 {
     return WEB_UI_STRING("Numbered list", "Option in segmented control for inserting a numbered list in text editing");
 }
+
+String exitFullScreenButtonAccessibilityTitle()
+{
+    return WEB_UI_STRING("Exit fullscreen", "Button for exiting fullscreen when in fullscreen media playback");
+}
 #endif // PLATFORM(MAC)
 
 } // namespace WebCore
index 829f3e5..fd16e82 100644 (file)
@@ -286,6 +286,7 @@ namespace WebCore {
     WEBCORE_EXPORT String insertListTypeBulletedAccessibilityTitle();
     WEBCORE_EXPORT String insertListTypeNumbered();
     WEBCORE_EXPORT String insertListTypeNumberedAccessibilityTitle();
+    WEBCORE_EXPORT String exitFullScreenButtonAccessibilityTitle();
 #endif
 
 #define WEB_UI_STRING(string, description) WebCore::localizedString(string)