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

Side by Side Diff: components/autofill/content/renderer/autofill_agent.h

Issue 802833004: Autofill - get rid of one more RenderViewObserver method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 ~LegacyAutofillAgent() override; 64 ~LegacyAutofillAgent() override;
65 65
66 private: 66 private:
67 // content::RenderViewObserver: 67 // content::RenderViewObserver:
68 void OnDestruct() override; 68 void OnDestruct() override;
69 void FrameDetached(blink::WebFrame* frame) override; 69 void FrameDetached(blink::WebFrame* frame) override;
70 void WillSubmitForm(blink::WebLocalFrame* frame, 70 void WillSubmitForm(blink::WebLocalFrame* frame,
71 const blink::WebFormElement& form) override; 71 const blink::WebFormElement& form) override;
72 void DidChangeScrollOffset(blink::WebLocalFrame* frame) override; 72 void DidChangeScrollOffset(blink::WebLocalFrame* frame) override;
73 void FocusedNodeChanged(const blink::WebNode& node) override; 73 void FocusedNodeChanged(const blink::WebNode& node) override;
74 void OrientationChangeEvent() override;
75 void Resized() override; 74 void Resized() override;
76 void FrameWillClose(blink::WebFrame* frame) override; 75 void FrameWillClose(blink::WebFrame* frame) override;
77 76
78 AutofillAgent* agent_; 77 AutofillAgent* agent_;
79 78
80 DISALLOW_COPY_AND_ASSIGN(LegacyAutofillAgent); 79 DISALLOW_COPY_AND_ASSIGN(LegacyAutofillAgent);
81 }; 80 };
82 friend class LegacyAutofillAgent; 81 friend class LegacyAutofillAgent;
83 82
84 // Flags passed to ShowSuggestions. 83 // Flags passed to ShowSuggestions.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 void DidCommitProvisionalLoad(bool is_new_navigation) override; 118 void DidCommitProvisionalLoad(bool is_new_navigation) override;
120 void DidFinishDocumentLoad() override; 119 void DidFinishDocumentLoad() override;
121 120
122 // Pass-throughs from LegacyAutofillAgent. These correlate with 121 // Pass-throughs from LegacyAutofillAgent. These correlate with
123 // RenderViewObserver methods. 122 // RenderViewObserver methods.
124 void FrameDetached(blink::WebFrame* frame); 123 void FrameDetached(blink::WebFrame* frame);
125 void WillSubmitForm(blink::WebLocalFrame* frame, 124 void WillSubmitForm(blink::WebLocalFrame* frame,
126 const blink::WebFormElement& form); 125 const blink::WebFormElement& form);
127 void DidChangeScrollOffset(blink::WebLocalFrame* frame); 126 void DidChangeScrollOffset(blink::WebLocalFrame* frame);
128 void FocusedNodeChanged(const blink::WebNode& node); 127 void FocusedNodeChanged(const blink::WebNode& node);
129 void OrientationChangeEvent();
130 void Resized(); 128 void Resized();
131 void LegacyFrameWillClose(blink::WebFrame* frame); 129 void LegacyFrameWillClose(blink::WebFrame* frame);
132 130
133 // PageClickListener: 131 // PageClickListener:
134 void FormControlElementClicked(const blink::WebFormControlElement& element, 132 void FormControlElementClicked(const blink::WebFormControlElement& element,
135 bool was_focused) override; 133 bool was_focused) override;
136 134
137 // blink::WebAutofillClient: 135 // blink::WebAutofillClient:
138 virtual void textFieldDidEndEditing( 136 virtual void textFieldDidEndEditing(
139 const blink::WebInputElement& element); 137 const blink::WebInputElement& element);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 bool is_popup_possibly_visible_; 267 bool is_popup_possibly_visible_;
270 268
271 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; 269 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
272 270
273 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 271 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
274 }; 272 };
275 273
276 } // namespace autofill 274 } // namespace autofill
277 275
278 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 276 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/chrome_autofill_client.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698