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 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" | 5 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "components/user_prefs/pref_registry_syncable.h" | 49 #include "components/user_prefs/pref_registry_syncable.h" |
50 #include "content/public/browser/navigation_controller.h" | 50 #include "content/public/browser/navigation_controller.h" |
51 #include "content/public/browser/navigation_details.h" | 51 #include "content/public/browser/navigation_details.h" |
52 #include "content/public/browser/navigation_entry.h" | 52 #include "content/public/browser/navigation_entry.h" |
53 #include "content/public/browser/notification_service.h" | 53 #include "content/public/browser/notification_service.h" |
54 #include "content/public/browser/notification_types.h" | 54 #include "content/public/browser/notification_types.h" |
55 #include "content/public/browser/web_contents.h" | 55 #include "content/public/browser/web_contents.h" |
56 #include "content/public/browser/web_contents_view.h" | 56 #include "content/public/browser/web_contents_view.h" |
57 #include "content/public/common/url_constants.h" | 57 #include "content/public/common/url_constants.h" |
58 #include "grit/chromium_strings.h" | 58 #include "grit/chromium_strings.h" |
| 59 #include "grit/component_resources.h" |
59 #include "grit/generated_resources.h" | 60 #include "grit/generated_resources.h" |
60 #include "grit/theme_resources.h" | 61 #include "grit/theme_resources.h" |
61 #include "grit/webkit_resources.h" | 62 #include "grit/webkit_resources.h" |
62 #include "net/cert/cert_status_flags.h" | 63 #include "net/cert/cert_status_flags.h" |
63 #include "ui/base/l10n/l10n_util.h" | 64 #include "ui/base/l10n/l10n_util.h" |
64 #include "ui/base/resource/resource_bundle.h" | 65 #include "ui/base/resource/resource_bundle.h" |
65 #include "ui/gfx/canvas.h" | 66 #include "ui/gfx/canvas.h" |
66 #include "ui/gfx/color_utils.h" | 67 #include "ui/gfx/color_utils.h" |
67 #include "ui/gfx/skbitmap_operations.h" | 68 #include "ui/gfx/skbitmap_operations.h" |
68 | 69 |
(...skipping 2444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2513 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; | 2514 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; |
2514 } | 2515 } |
2515 | 2516 |
2516 // Has Wallet items. | 2517 // Has Wallet items. |
2517 return has_autofill_profiles ? | 2518 return has_autofill_profiles ? |
2518 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : | 2519 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : |
2519 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; | 2520 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; |
2520 } | 2521 } |
2521 | 2522 |
2522 } // namespace autofill | 2523 } // namespace autofill |
OLD | NEW |