Rename methods in autofill

This commit is contained in:
Aleksei Kuzmin 2017-06-22 01:47:01 +03:00
parent 45db999593
commit b8b7d0ab1a
2 changed files with 6 additions and 26 deletions

View file

@ -27,22 +27,10 @@ class AutofillAgent : public content::RenderFrameObserver,
void DidChangeScrollOffset() override;
void FocusedNodeChanged(const blink::WebNode&) override;
void DidCompleteFocusChangeInFrame() override;
void DidReceiveLeftMouseDownOrGestureTapInNode(const blink::WebNode&) override;
private:
class Helper : public content::RenderViewObserver {
public:
explicit Helper(AutofillAgent* agent);
// content::RenderViewObserver implementation.
void OnDestruct() override {}
void OnMouseDown(const blink::WebNode&) override;
void FocusChangeComplete() override;
private:
AutofillAgent* agent_;
};
friend class Helper;
struct ShowSuggestionsOptions {
ShowSuggestionsOptions();
bool autofill_on_empty_values;
@ -71,8 +59,6 @@ class AutofillAgent : public content::RenderFrameObserver,
void DoFocusChangeComplete();
std::unique_ptr<Helper> helper_;
// True when the last click was on the focused node.
bool focused_node_was_last_clicked_;