Changeset 270172 in webkit


Ignore:
Timestamp:
Nov 26, 2020 5:21:57 PM (3 years ago)
Author:
yoshiaki.jitsukawa@sony.com
Message:

AXObjectCache::focusedObjectForPage() is not defined when ENABLE(ACCESSIBILITY) is off
https://bugs.webkit.org/show_bug.cgi?id=219290

Reviewed by Chris Fleizach.

Define AXObjectCache::focusedObjectForPage() as a function which
returns a nullptr.

  • accessibility/AXObjectCache.h:

(WebCore::AXObjectCache::focusedObjectForPage): Defined.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r270171 r270172  
     12020-11-26  Yoshiaki Jitsukawa  <yoshiaki.jitsukawa@sony.com>
     2
     3        AXObjectCache::focusedObjectForPage() is not defined when ENABLE(ACCESSIBILITY) is off
     4        https://bugs.webkit.org/show_bug.cgi?id=219290
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Define AXObjectCache::focusedObjectForPage() as a function which
     9        returns a nullptr.
     10
     11        * accessibility/AXObjectCache.h:
     12        (WebCore::AXObjectCache::focusedObjectForPage): Defined.
     13
    1142020-11-26  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Source/WebCore/accessibility/AXObjectCache.h

    r270154 r270172  
    146146
    147147    WEBCORE_EXPORT AXCoreObject* focusedUIElementForPage(const Page*);
    148     static AXCoreObject* focusedObjectForPage(const Page*);
    149148
    150149    // Returns the root object for the entire document.
     
    203202    WEBCORE_EXPORT static void disableAccessibility();
    204203
     204    static AXCoreObject* focusedObjectForPage(const Page*);
     205
    205206    // Enhanced user interface accessibility can be toggled by the assistive technology.
    206207    WEBCORE_EXPORT static void setEnhancedUserInterfaceAccessibility(bool flag);
     
    210211    static bool accessibilityEnhancedUserInterfaceEnabled() { return gAccessibilityEnhancedUserInterfaceEnabled; }
    211212#else
     213    static AXCoreObject* focusedObjectForPage(const Page*) { return nullptr; }
    212214    static void enableAccessibility() { }
    213215    static void disableAccessibility() { }
Note: See TracChangeset for help on using the changeset viewer.