| 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_PASSWORD_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 bool was_user_gesture_seen_; | 177 bool was_user_gesture_seen_; |
| 178 std::vector<blink::WebInputElement> elements_; | 178 std::vector<blink::WebInputElement> elements_; |
| 179 | 179 |
| 180 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper); | 180 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 // RenderFrameObserver: | 183 // RenderFrameObserver: |
| 184 void DidFinishDocumentLoad() override; | 184 void DidFinishDocumentLoad() override; |
| 185 void DidFinishLoad() override; | 185 void DidFinishLoad() override; |
| 186 void FrameDetached() override; | 186 void FrameDetached() override; |
| 187 void FrameWillClose() override; | |
| 188 void DidStartProvisionalLoad() override; | 187 void DidStartProvisionalLoad() override; |
| 188 void WillCommitProvisionalLoad() override; |
| 189 void DidCommitProvisionalLoad(bool is_new_navigation, | 189 void DidCommitProvisionalLoad(bool is_new_navigation, |
| 190 bool is_same_page_navigation) override; | 190 bool is_same_page_navigation) override; |
| 191 void WillSendSubmitEvent(const blink::WebFormElement& form) override; | 191 void WillSendSubmitEvent(const blink::WebFormElement& form) override; |
| 192 void WillSubmitForm(const blink::WebFormElement& form) override; | 192 void WillSubmitForm(const blink::WebFormElement& form) override; |
| 193 void OnDestruct() override; | 193 void OnDestruct() override; |
| 194 | 194 |
| 195 // Scans the given frame for password forms and sends them up to the browser. | 195 // Scans the given frame for password forms and sends them up to the browser. |
| 196 // If |only_visible| is true, only forms visible in the layout are sent. | 196 // If |only_visible| is true, only forms visible in the layout are sent. |
| 197 void SendPasswordForms(bool only_visible); | 197 void SendPasswordForms(bool only_visible); |
| 198 | 198 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 mojom::PasswordManagerDriverPtr password_manager_driver_; | 280 mojom::PasswordManagerDriverPtr password_manager_driver_; |
| 281 | 281 |
| 282 mojo::Binding<mojom::PasswordAutofillAgent> binding_; | 282 mojo::Binding<mojom::PasswordAutofillAgent> binding_; |
| 283 | 283 |
| 284 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); | 284 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); |
| 285 }; | 285 }; |
| 286 | 286 |
| 287 } // namespace autofill | 287 } // namespace autofill |
| 288 | 288 |
| 289 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 289 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| OLD | NEW |