| 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; |
| 118 | 119 |
| 119 // Pass-through from LegacyAutofillAgent. This correlates with the | 120 // Pass-through from LegacyAutofillAgent. This correlates with the |
| 120 // RenderViewObserver method. | 121 // RenderViewObserver method. |
| 121 void FocusChangeComplete(); | 122 void FocusChangeComplete(); |
| 122 | 123 |
| 123 // PageClickListener: | 124 // PageClickListener: |
| 124 void FormControlElementClicked(const blink::WebFormControlElement& element, | 125 void FormControlElementClicked(const blink::WebFormControlElement& element, |
| 125 bool was_focused) override; | 126 bool was_focused) override; |
| 126 | 127 |
| 127 // blink::WebAutofillClient: | 128 // blink::WebAutofillClient: |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 bool is_generation_popup_possibly_visible_; | 275 bool is_generation_popup_possibly_visible_; |
| 275 | 276 |
| 276 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; | 277 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; |
| 277 | 278 |
| 278 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 279 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 279 }; | 280 }; |
| 280 | 281 |
| 281 } // namespace autofill | 282 } // namespace autofill |
| 282 | 283 |
| 283 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 284 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
| OLD | NEW |