Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h

Issue 1564863002: Get rid of AXScrollView and AXScrollbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dump_oopif_3
Patch Set: Fix Android expectation Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
index 73ad0f3717570bde4370dea2c85cf9cdd850b28c..ebc8efafcaa34bdf10425b00e6dc2c1ad6d92c23 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
@@ -43,7 +43,6 @@ namespace blink {
class AbstractInlineTextBox;
class HTMLAreaElement;
class FrameView;
-class Widget;
// This class should only be used from inside the accessibility directory.
class MODULES_EXPORT AXObjectCacheImpl : public AXObjectCache {
@@ -69,7 +68,6 @@ public:
void remove(LayoutObject*) override;
void remove(Node*) override;
- void remove(Widget*) override;
void remove(AbstractInlineTextBox*) override;
const Element* rootAXEditableElement(const Node*) override;
@@ -100,7 +98,6 @@ public:
void handleScrollPositionChanged(LayoutObject*) override;
// Called when scroll bars are added / removed (as the view resizes).
- void handleScrollbarUpdate(FrameView*) override;
void handleLayoutComplete(LayoutObject*) override;
void handleScrolledToAnchor(const Node* anchorNode) override;
@@ -118,14 +115,12 @@ public:
// used for objects without backing elements
AXObject* getOrCreate(AccessibilityRole);
AXObject* getOrCreate(LayoutObject*);
- AXObject* getOrCreate(Widget*);
AXObject* getOrCreate(Node*);
AXObject* getOrCreate(AbstractInlineTextBox*);
// will only return the AXObject if it already exists
AXObject* get(Node*);
AXObject* get(LayoutObject*);
- AXObject* get(Widget*);
AXObject* get(AbstractInlineTextBox*);
AXObject* firstAccessibleObjectFromNode(const Node*);
@@ -195,7 +190,6 @@ private:
// LayoutObject and AbstractInlineTextBox are not on the Oilpan heap so we
// do not use HeapHashMap for those mappings.
HashMap<LayoutObject*, AXID> m_layoutObjectMapping;
- WillBeHeapHashMap<RawPtrWillBeMember<Widget>, AXID> m_widgetObjectMapping;
WillBeHeapHashMap<RawPtrWillBeMember<Node>, AXID> m_nodeObjectMapping;
HashMap<AbstractInlineTextBox*, AXID> m_inlineTextBoxObjectMapping;
int m_modificationCount;

Powered by Google App Engine
This is Rietveld 408576698