OLD | NEW |
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 <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 // content::RenderFrameObserver: | 109 // content::RenderFrameObserver: |
110 bool OnMessageReceived(const IPC::Message& message) override; | 110 bool OnMessageReceived(const IPC::Message& message) override; |
111 void DidCommitProvisionalLoad(bool is_new_navigation, | 111 void DidCommitProvisionalLoad(bool is_new_navigation, |
112 bool is_same_page_navigation) override; | 112 bool is_same_page_navigation) override; |
113 void DidFinishDocumentLoad() override; | 113 void DidFinishDocumentLoad() override; |
114 void WillSendSubmitEvent(const blink::WebFormElement& form) override; | 114 void WillSendSubmitEvent(const blink::WebFormElement& form) override; |
115 void WillSubmitForm(const blink::WebFormElement& form) override; | 115 void WillSubmitForm(const blink::WebFormElement& form) override; |
116 void DidChangeScrollOffset() override; | 116 void DidChangeScrollOffset() override; |
117 void FocusedNodeChanged(const blink::WebNode& node) override; | 117 void FocusedNodeChanged(const blink::WebNode& node) override; |
118 void OnDestruct() override; | |
119 | 118 |
120 // Pass-through from LegacyAutofillAgent. This correlates with the | 119 // Pass-through from LegacyAutofillAgent. This correlates with the |
121 // RenderViewObserver method. | 120 // RenderViewObserver method. |
122 void FocusChangeComplete(); | 121 void FocusChangeComplete(); |
123 | 122 |
124 // PageClickListener: | 123 // PageClickListener: |
125 void FormControlElementClicked(const blink::WebFormControlElement& element, | 124 void FormControlElementClicked(const blink::WebFormControlElement& element, |
126 bool was_focused) override; | 125 bool was_focused) override; |
127 | 126 |
128 // blink::WebAutofillClient: | 127 // blink::WebAutofillClient: |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 bool is_generation_popup_possibly_visible_; | 274 bool is_generation_popup_possibly_visible_; |
276 | 275 |
277 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; | 276 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; |
278 | 277 |
279 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 278 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
280 }; | 279 }; |
281 | 280 |
282 } // namespace autofill | 281 } // namespace autofill |
283 | 282 |
284 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 283 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
OLD | NEW |