Update function signatures for focused element change notifications

https://chromium-review.googlesource.com/c/chromium/src/+/1609749
This commit is contained in:
Jeremy Apthorp 2019-05-22 12:55:37 -07:00
parent 7d212b17f8
commit 4f6d24026d
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ void AutofillAgent::DidChangeScrollOffset() {
HidePopup();
}
void AutofillAgent::FocusedNodeChanged(const blink::WebNode&) {
void AutofillAgent::FocusedElementChanged(const blink::WebElement&) {
focused_node_was_last_clicked_ = false;
was_focused_before_now_ = false;
HidePopup();

View file

@ -10,9 +10,9 @@
#include "base/memory/weak_ptr.h"
#include "content/public/renderer/render_frame_observer.h"
#include "third_party/blink/public/web/web_autofill_client.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/public/web/web_form_control_element.h"
#include "third_party/blink/public/web/web_input_element.h"
#include "third_party/blink/public/web/web_node.h"
namespace atom {
@ -26,7 +26,7 @@ class AutofillAgent : public content::RenderFrameObserver,
void OnDestruct() override;
void DidChangeScrollOffset() override;
void FocusedNodeChanged(const blink::WebNode&) override;
void FocusedElementChanged(const blink::WebElement&) override;
void DidCompleteFocusChangeInFrame() override;
void DidReceiveLeftMouseDownOrGestureTapInNode(
const blink::WebNode&) override;