⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 252399 in webkit


Ignore:
Timestamp:
Nov 13, 2019, 3:08:24 AM (7 years ago)
Author:
Philippe Normand
Message:

Unreviewed, fix build for accessibility disabled.

  • accessibility/AXObjectCache.h:

(WebCore::AXObjectCache::focusedUIElementForPage):
(WebCore::AXObjectCache::attachWrapper):
(WebCore::AXObjectCache::postNotification):
(WebCore::AXObjectCache::postPlatformNotification):
(WebCore::AXObjectCache::characterOffsetForIndex):

  • accessibility/AccessibilityObject.h:

(WebCore::AccessibilityObject::children):
(WebCore::AccessibilityObject::updateBackingStore):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r252398 r252399  
     12019-11-13  Philippe Normand  <pnormand@igalia.com>
     2
     3        Unreviewed, fix build for accessibility disabled.
     4
     5        * accessibility/AXObjectCache.h:
     6        (WebCore::AXObjectCache::focusedUIElementForPage):
     7        (WebCore::AXObjectCache::attachWrapper):
     8        (WebCore::AXObjectCache::postNotification):
     9        (WebCore::AXObjectCache::postPlatformNotification):
     10        (WebCore::AXObjectCache::characterOffsetForIndex):
     11        * accessibility/AccessibilityObject.h:
     12        (WebCore::AccessibilityObject::children):
     13        (WebCore::AccessibilityObject::updateBackingStore):
     14
    1152019-11-13  Xabier Rodriguez Calvar  <calvaris@igalia.com>
    216
  • trunk/Source/WebCore/accessibility/AXObjectCache.h

    r252182 r252399  
    514514inline AXObjectCache::AXObjectCache(Document& document) : m_document(document), m_notificationPostTimer(*this, &AXObjectCache::notificationPostTimerFired), m_passwordNotificationPostTimer(*this, &AXObjectCache::passwordNotificationPostTimerFired), m_liveRegionChangedPostTimer(*this, &AXObjectCache::liveRegionChangedNotificationPostTimerFired), m_focusModalNodeTimer(*this, &AXObjectCache::focusModalNodeTimerFired), m_performCacheUpdateTimer(*this, &AXObjectCache::performCacheUpdateTimerFired) { }
    515515inline AXObjectCache::~AXObjectCache() { }
    516 inline AccessibilityObject* AXObjectCache::focusedUIElementForPage(const Page*) { return nullptr; }
     516inline AXCoreObject* AXObjectCache::focusedUIElementForPage(const Page*) { return nullptr; }
    517517inline AccessibilityObject* AXObjectCache::get(RenderObject*) { return nullptr; }
    518518inline AccessibilityObject* AXObjectCache::get(Node*) { return nullptr; }
    … …  
    530530inline const Element* AXObjectCache::rootAXEditableElement(const Node*) { return nullptr; }
    531531inline Node* AXObjectCache::modalNode() { return nullptr; }
    532 inline void AXObjectCache::attachWrapper(AccessibilityObject*) { }
     532inline void AXObjectCache::attachWrapper(AXCoreObject*) { }
    533533inline void AXObjectCache::checkedStateChanged(Node*) { }
    534534inline void AXObjectCache::childrenChanged(AXCoreObject*) { }
    … …  
    561561inline void AXObjectCache::performDeferredCacheUpdate() { }
    562562inline void AXObjectCache::postLiveRegionChangeNotification(AccessibilityObject*) { }
    563 inline void AXObjectCache::postNotification(AccessibilityObject*, Document*, AXNotification, PostTarget, PostType) { }
     563inline void AXObjectCache::postNotification(AXCoreObject*, Document*, AXNotification, PostTarget, PostType) { }
    564564inline void AXObjectCache::postNotification(Node*, AXNotification, PostTarget, PostType) { }
    565565inline void AXObjectCache::postNotification(RenderObject*, AXNotification, PostTarget, PostType) { }
    566 inline void AXObjectCache::postPlatformNotification(AccessibilityObject*, AXNotification) { }
     566inline void AXObjectCache::postPlatformNotification(AXCoreObject*, AXNotification) { }
    567567inline void AXObjectCache::postTextReplacementNotification(Node*, AXTextEditType, const String&, AXTextEditType, const String&, const VisiblePosition&) { }
    568568inline void AXObjectCache::postTextReplacementNotificationForTextControl(HTMLTextFormControlElement&, const String&, const String&) { }
    … …  
    584584inline RefPtr<Range> AXObjectCache::rangeForUnorderedCharacterOffsets(const CharacterOffset&, const CharacterOffset&) { return nullptr; }
    585585inline IntRect AXObjectCache::absoluteCaretBoundsForCharacterOffset(const CharacterOffset&) { return IntRect(); }
    586 inline CharacterOffset AXObjectCache::characterOffsetForIndex(int, const AccessibilityObject*) { return CharacterOffset(); }
     586inline CharacterOffset AXObjectCache::characterOffsetForIndex(int, const AXCoreObject*) { return CharacterOffset(); }
    587587inline CharacterOffset AXObjectCache::startOrEndCharacterOffsetForRange(RefPtr<Range>, bool, bool) { return CharacterOffset(); }
    588588inline CharacterOffset AXObjectCache::endCharacterOffsetOfLine(const CharacterOffset&) { return CharacterOffset(); }
  • trunk/Source/WebCore/accessibility/AccessibilityObject.h

    r252181 r252399  
    716716#else
    717717    AccessibilityObjectWrapper* wrapper() const override { return nullptr; }
     718    void setWrapper(AccessibilityObjectWrapper*) override { }
    718719#endif
    719720
    … …  
    824825
    825826#if !ENABLE(ACCESSIBILITY)
    826 inline const AccessibilityObject::AccessibilityChildrenVector& AccessibilityObject::children(bool) override { return m_children; }
     827inline const AccessibilityObject::AccessibilityChildrenVector& AccessibilityObject::children(bool) { return m_children; }
    827828inline const String& AccessibilityObject::actionVerb() const { return emptyString(); }
    828829inline int AccessibilityObject::lineForPosition(const VisiblePosition&) const { return -1; }
    829 inline void AccessibilityObject::updateBackingStore() override { }
     830inline void AccessibilityObject::updateBackingStore() { }
    830831#endif
    831832
Note: See TracChangeset for help on using the changeset viewer.