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

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

Issue 2287433003: Get rid of remaining uses of AXObject::elementRect (Closed)
Patch Set: Rebase Created 4 years, 3 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/AXSpinButton.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h b/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h
index dd095c1c3dc26e46c03d012ce4863fd6c14daeaa..c5a515a54c3d3d785fb7058e31572506b2660aed 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h
@@ -52,7 +52,7 @@ private:
bool isSpinButton() const override { return true; }
bool isNativeSpinButton() const override { return true; }
void addChildren() override;
- LayoutRect elementRect() const override;
+ LayoutObject* layoutObjectForRelativeBounds() const override;
void detach() override;
void detachFromParent() override;
@@ -72,7 +72,7 @@ private:
bool press() const override;
AccessibilityRole roleValue() const override { return ButtonRole; }
bool isSpinButtonPart() const override { return true; }
- LayoutRect elementRect() const override;
+ void getRelativeBounds(AXObject** outContainer, FloatRect& outBoundsInContainer, SkMatrix44& outContainerTransform) const override;
};
DEFINE_AX_OBJECT_TYPE_CASTS(AXSpinButton, isNativeSpinButton());

Powered by Google App Engine
This is Rietveld 408576698