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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool was_user_gesture_seen_; | 181 bool was_user_gesture_seen_; |
182 std::vector<blink::WebInputElement> elements_; | 182 std::vector<blink::WebInputElement> elements_; |
183 | 183 |
184 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper); | 184 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper); |
185 }; | 185 }; |
186 | 186 |
187 // RenderFrameObserver: | 187 // RenderFrameObserver: |
188 void DidFinishDocumentLoad() override; | 188 void DidFinishDocumentLoad() override; |
189 void DidFinishLoad() override; | 189 void DidFinishLoad() override; |
190 void FrameDetached() override; | 190 void FrameDetached() override; |
191 void DidStartProvisionalLoad() override; | 191 void DidStartProvisionalLoad(blink::WebDataSource* data_source) override; |
192 void WillCommitProvisionalLoad() override; | 192 void WillCommitProvisionalLoad() override; |
193 void DidCommitProvisionalLoad(bool is_new_navigation, | 193 void DidCommitProvisionalLoad(bool is_new_navigation, |
194 bool is_same_page_navigation) override; | 194 bool is_same_page_navigation) override; |
195 void WillSendSubmitEvent(const blink::WebFormElement& form) override; | 195 void WillSendSubmitEvent(const blink::WebFormElement& form) override; |
196 void WillSubmitForm(const blink::WebFormElement& form) override; | 196 void WillSubmitForm(const blink::WebFormElement& form) override; |
197 void OnDestruct() override; | 197 void OnDestruct() override; |
198 | 198 |
199 // Scans the given frame for password forms and sends them up to the browser. | 199 // Scans the given frame for password forms and sends them up to the browser. |
200 // If |only_visible| is true, only forms visible in the layout are sent. | 200 // If |only_visible| is true, only forms visible in the layout are sent. |
201 void SendPasswordForms(bool only_visible); | 201 void SendPasswordForms(bool only_visible); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 mojom::PasswordManagerDriverPtr password_manager_driver_; | 284 mojom::PasswordManagerDriverPtr password_manager_driver_; |
285 | 285 |
286 mojo::Binding<mojom::PasswordAutofillAgent> binding_; | 286 mojo::Binding<mojom::PasswordAutofillAgent> binding_; |
287 | 287 |
288 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); | 288 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); |
289 }; | 289 }; |
290 | 290 |
291 } // namespace autofill | 291 } // namespace autofill |
292 | 292 |
293 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 293 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
OLD | NEW |