Commit d6c29c57 authored by Aaron Leventhal's avatar Aaron Leventhal Committed by Commit Bot

Remove unused autofill methods

These methods turned out to be unnecessary, as the autofill agent
communicates directly with the WebAXObject.

Bug: 865101
Change-Id: Id16a03b808f76b0f2fd5030f5ba9f7ffdd119565
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731290Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Nektarios Paisios <nektar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684358}
parent 9d58aaea
......@@ -108,7 +108,6 @@ class CORE_EXPORT AXObjectCache
virtual void HandleLoadComplete(Document*) = 0;
virtual void HandleLayoutComplete(Document*) = 0;
virtual void HandleClicked(Node*) = 0;
virtual void HandleAutofillStateChanged(Element*, bool) = 0;
virtual void HandleValidationMessageVisibilityChanged(
const Element* form_control) = 0;
......
......@@ -1323,12 +1323,6 @@ void AXObjectCacheImpl::HandleAttributeChangedWithCleanLayout(
}
}
void AXObjectCacheImpl::HandleAutofillStateChanged(Element* elem,
bool is_available) {
if (AXObject* obj = Get(elem))
obj->HandleAutofillStateChanged(is_available);
}
AXObject* AXObjectCacheImpl::GetOrCreateValidationMessageObject() {
AXObject* message_ax_object = nullptr;
// Create only if it does not already exist.
......
......@@ -117,7 +117,6 @@ class MODULES_EXPORT AXObjectCacheImpl
bool HandleAttributeChanged(const QualifiedName& attr_name,
Element*) override;
void HandleAutofillStateChanged(Element*, bool) override;
void HandleValidationMessageVisibilityChanged(
const Element* form_control) override;
void HandleFocusedUIElementChanged(Element* old_focused_element,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment