OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/ui/autofill/password_generation_popup_controller_impl.h
" | 5 #include "chrome/browser/ui/autofill/password_generation_popup_controller_impl.h
" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
11 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversion_utils.h" | 13 #include "base/strings/utf_string_conversion_utils.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/sync/profile_sync_service_factory.h" | 16 #include "chrome/browser/sync/profile_sync_service_factory.h" |
17 #include "chrome/browser/ui/autofill/password_generation_popup_observer.h" | 17 #include "chrome/browser/ui/autofill/password_generation_popup_observer.h" |
18 #include "chrome/browser/ui/autofill/password_generation_popup_view.h" | 18 #include "chrome/browser/ui/autofill/password_generation_popup_view.h" |
19 #include "chrome/browser/ui/autofill/popup_constants.h" | 19 #include "chrome/browser/ui/autofill/popup_constants.h" |
20 #include "chrome/browser/ui/browser_finder.h" | 20 #include "chrome/browser/ui/browser_finder.h" |
21 #include "chrome/browser/ui/chrome_pages.h" | 21 #include "chrome/browser/ui/chrome_pages.h" |
22 #include "chrome/common/features.h" | 22 #include "chrome/common/features.h" |
23 #include "chrome/common/url_constants.h" | 23 #include "chrome/common/url_constants.h" |
24 #include "chrome/grit/chromium_strings.h" | 24 #include "chrome/grit/chromium_strings.h" |
25 #include "chrome/grit/generated_resources.h" | 25 #include "chrome/grit/generated_resources.h" |
26 #include "components/autofill/content/common/autofill_messages.h" | |
27 #include "components/autofill/core/browser/password_generator.h" | 26 #include "components/autofill/core/browser/password_generator.h" |
28 #include "components/autofill/core/browser/suggestion.h" | 27 #include "components/autofill/core/browser/suggestion.h" |
29 #include "components/browser_sync/profile_sync_service.h" | 28 #include "components/browser_sync/profile_sync_service.h" |
30 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 29 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
31 #include "components/password_manager/core/browser/password_manager.h" | 30 #include "components/password_manager/core/browser/password_manager.h" |
32 #include "content/public/browser/native_web_keyboard_event.h" | 31 #include "content/public/browser/native_web_keyboard_event.h" |
33 #include "content/public/browser/render_view_host.h" | 32 #include "content/public/browser/render_view_host.h" |
34 #include "content/public/browser/web_contents.h" | 33 #include "content/public/browser/web_contents.h" |
35 #include "ui/base/l10n/l10n_util.h" | 34 #include "ui/base/l10n/l10n_util.h" |
36 #include "ui/events/keycodes/keyboard_codes.h" | 35 #include "ui/events/keycodes/keyboard_codes.h" |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 313 |
315 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { | 314 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { |
316 return help_text_; | 315 return help_text_; |
317 } | 316 } |
318 | 317 |
319 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { | 318 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { |
320 return link_range_; | 319 return link_range_; |
321 } | 320 } |
322 | 321 |
323 } // namespace autofill | 322 } // namespace autofill |
OLD | NEW |