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 | 8 |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/grit/generated_resources.h" | 21 #include "chrome/grit/generated_resources.h" |
22 #include "chrome/grit/google_chrome_strings.h" | 22 #include "chrome/grit/google_chrome_strings.h" |
23 #include "components/autofill/content/common/autofill_messages.h" | 23 #include "components/autofill/content/common/autofill_messages.h" |
24 #include "components/autofill/core/browser/password_generator.h" | 24 #include "components/autofill/core/browser/password_generator.h" |
25 #include "components/password_manager/core/browser/password_manager.h" | 25 #include "components/password_manager/core/browser/password_manager.h" |
26 #include "content/public/browser/native_web_keyboard_event.h" | 26 #include "content/public/browser/native_web_keyboard_event.h" |
27 #include "content/public/browser/render_view_host.h" | 27 #include "content/public/browser/render_view_host.h" |
28 #include "content/public/browser/web_contents.h" | 28 #include "content/public/browser/web_contents.h" |
29 #include "ui/base/l10n/l10n_util.h" | 29 #include "ui/base/l10n/l10n_util.h" |
30 #include "ui/events/keycodes/keyboard_codes.h" | 30 #include "ui/events/keycodes/keyboard_codes.h" |
31 #include "ui/gfx/rect_conversions.h" | 31 #include "ui/gfx/geometry/rect_conversions.h" |
32 #include "ui/gfx/text_utils.h" | 32 #include "ui/gfx/text_utils.h" |
33 | 33 |
34 #if defined(OS_ANDROID) | 34 #if defined(OS_ANDROID) |
35 #include "chrome/browser/android/chromium_application.h" | 35 #include "chrome/browser/android/chromium_application.h" |
36 #endif | 36 #endif |
37 | 37 |
38 namespace autofill { | 38 namespace autofill { |
39 | 39 |
40 base::WeakPtr<PasswordGenerationPopupControllerImpl> | 40 base::WeakPtr<PasswordGenerationPopupControllerImpl> |
41 PasswordGenerationPopupControllerImpl::GetOrCreate( | 41 PasswordGenerationPopupControllerImpl::GetOrCreate( |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 281 |
282 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { | 282 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { |
283 return help_text_; | 283 return help_text_; |
284 } | 284 } |
285 | 285 |
286 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { | 286 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { |
287 return link_range_; | 287 return link_range_; |
288 } | 288 } |
289 | 289 |
290 } // namespace autofill | 290 } // namespace autofill |
OLD | NEW |