OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/renderer/autofill/fake_password_manager_client.h" |
| 6 |
| 7 FakePasswordManagerClient::FakePasswordManagerClient() : binding_(this) {} |
| 8 |
| 9 FakePasswordManagerClient::~FakePasswordManagerClient() {} |
| 10 |
| 11 void FakePasswordManagerClient::BindRequest( |
| 12 autofill::mojom::PasswordManagerClientAssociatedRequest request) { |
| 13 binding_.Bind(std::move(request)); |
| 14 } |
| 15 |
| 16 // autofill::mojom::PasswordManagerClient: |
| 17 void FakePasswordManagerClient::ShowPasswordGenerationPopup( |
| 18 const gfx::RectF& bounds, |
| 19 int max_length, |
| 20 const base::string16& generation_element, |
| 21 bool is_manually_triggered, |
| 22 const autofill::PasswordForm& form) { |
| 23 called_show_pw_generation_popup_ = true; |
| 24 } |
| 25 |
| 26 void FakePasswordManagerClient::ShowPasswordEditingPopup( |
| 27 const gfx::RectF& bounds, |
| 28 const autofill::PasswordForm& form) {} |
| 29 |
| 30 void FakePasswordManagerClient::GenerationAvailableForForm( |
| 31 const autofill::PasswordForm& form) {} |
| 32 |
| 33 void FakePasswordManagerClient::HidePasswordGenerationPopup() {} |
OLD | NEW |