Title: [152124] branches/safari-537-branch/Source/WebCore

Diff

Modified: branches/safari-537-branch/Source/WebCore/ChangeLog (152123 => 152124)


--- branches/safari-537-branch/Source/WebCore/ChangeLog	2013-06-27 22:14:39 UTC (rev 152123)
+++ branches/safari-537-branch/Source/WebCore/ChangeLog	2013-06-27 22:15:32 UTC (rev 152124)
@@ -1,5 +1,29 @@
 2013-06-27  Lucas Forschler  <lforsch...@apple.com>
 
+        Merge r151778
+
+    2013-06-19  Brent Fulgham  <bfulg...@apple.com>
+
+            AX: List Items should support a default action
+            https://bugs.webkit.org/show_bug.cgi?id=117812
+
+            Reviewed by Chris Fleizach.
+
+            * accessibility/AccessibilityObject.cpp:
+            (WebCore::AccessibilityObject::actionVerb): Provide a "select" verb
+            for use in ListItemRole objects.
+            * platform/LocalizedStrings.cpp:
+            (WebCore::AXListItemActionVerb): Added.
+            * platform/LocalizedStrings.h:
+            * platform/blackberry/LocalizedStringsBlackBerry.cpp:
+            (WebCore::AXListItemActionVerb):
+            * platform/efl/LocalizedStringsEfl.cpp:
+            (WebCore::AXListItemActionVerb):
+            * platform/gtk/LocalizedStringsGtk.cpp:
+            (WebCore::AXListItemActionVerb):
+
+2013-06-27  Lucas Forschler  <lforsch...@apple.com>
+
         Merge r151745
 
     2013-06-19  Brent Fulgham  <bfulg...@apple.com>

Modified: branches/safari-537-branch/Source/WebCore/accessibility/AccessibilityObject.cpp (152123 => 152124)


--- branches/safari-537-branch/Source/WebCore/accessibility/AccessibilityObject.cpp	2013-06-27 22:14:39 UTC (rev 152123)
+++ branches/safari-537-branch/Source/WebCore/accessibility/AccessibilityObject.cpp	2013-06-27 22:15:32 UTC (rev 152124)
@@ -1285,6 +1285,7 @@
     DEFINE_STATIC_LOCAL(const String, linkAction, (AXLinkActionVerb()));
     DEFINE_STATIC_LOCAL(const String, menuListAction, (AXMenuListActionVerb()));
     DEFINE_STATIC_LOCAL(const String, menuListPopupAction, (AXMenuListPopupActionVerb()));
+    DEFINE_STATIC_LOCAL(const String, listItemAction, (AXListItemActionVerb()));
     DEFINE_STATIC_LOCAL(const String, noAction, ());
 
     switch (roleValue()) {
@@ -1305,6 +1306,8 @@
         return menuListAction;
     case MenuListPopupRole:
         return menuListPopupAction;
+    case ListItemRole:
+        return listItemAction;
     default:
         return noAction;
     }

Modified: branches/safari-537-branch/Source/WebCore/platform/LocalizedStrings.cpp (152123 => 152124)


--- branches/safari-537-branch/Source/WebCore/platform/LocalizedStrings.cpp	2013-06-27 22:14:39 UTC (rev 152123)
+++ branches/safari-537-branch/Source/WebCore/platform/LocalizedStrings.cpp	2013-06-27 22:15:32 UTC (rev 152124)
@@ -643,6 +643,12 @@
     notImplemented();
     return "select";
 }
+
+String AXListItemActionVerb()
+{
+    notImplemented();
+    return "select";
+}
 #endif // !PLATFORM(IOS)
 
 #if PLATFORM(MAC) || PLATFORM(IOS)

Modified: branches/safari-537-branch/Source/WebCore/platform/LocalizedStrings.h (152123 => 152124)


--- branches/safari-537-branch/Source/WebCore/platform/LocalizedStrings.h	2013-06-27 22:14:39 UTC (rev 152123)
+++ branches/safari-537-branch/Source/WebCore/platform/LocalizedStrings.h	2013-06-27 22:15:32 UTC (rev 152124)
@@ -170,6 +170,7 @@
     String AXMenuListActionVerb();
     String AXMenuListPopupActionVerb();
     String AXLinkActionVerb();
+    String AXListItemActionVerb();
 
 #if ENABLE(INPUT_TYPE_WEEK)
     // weekFormatInLDML() returns week and year format in LDML, Unicode

Modified: branches/safari-537-branch/Source/WebCore/platform/blackberry/LocalizedStringsBlackBerry.cpp (152123 => 152124)


--- branches/safari-537-branch/Source/WebCore/platform/blackberry/LocalizedStringsBlackBerry.cpp	2013-06-27 22:14:39 UTC (rev 152123)
+++ branches/safari-537-branch/Source/WebCore/platform/blackberry/LocalizedStringsBlackBerry.cpp	2013-06-27 22:15:32 UTC (rev 152124)
@@ -187,6 +187,12 @@
     return String();
 }
 
+String AXListItemActionVerb()
+{
+    notImplemented();
+    return String();
+}
+
 String unknownFileSizeText()
 {
     notImplemented();

Modified: branches/safari-537-branch/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp (152123 => 152124)


--- branches/safari-537-branch/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp	2013-06-27 22:14:39 UTC (rev 152123)
+++ branches/safari-537-branch/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp	2013-06-27 22:15:32 UTC (rev 152124)
@@ -434,6 +434,12 @@
     return String();
 }
 
+String AXListItemActionVerb()
+{
+    notImplemented();
+    return String();
+}
+
 #if ENABLE(VIDEO)
 String localizedMediaControlElementString(const String&)
 {

Modified: branches/safari-537-branch/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp (152123 => 152124)


--- branches/safari-537-branch/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp	2013-06-27 22:14:39 UTC (rev 152123)
+++ branches/safari-537-branch/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp	2013-06-27 22:15:32 UTC (rev 152124)
@@ -481,6 +481,11 @@
 {
     return String();
 }
+
+String AXListItemActionVerb()
+{
+    return String();
+}
     
 String missingPluginText()
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to