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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #include "content/public/browser/geolocation_provider.h" | 56 #include "content/public/browser/geolocation_provider.h" |
57 #include "content/public/browser/navigation_controller.h" | 57 #include "content/public/browser/navigation_controller.h" |
58 #include "content/public/browser/navigation_details.h" | 58 #include "content/public/browser/navigation_details.h" |
59 #include "content/public/browser/navigation_entry.h" | 59 #include "content/public/browser/navigation_entry.h" |
60 #include "content/public/browser/notification_service.h" | 60 #include "content/public/browser/notification_service.h" |
61 #include "content/public/browser/notification_types.h" | 61 #include "content/public/browser/notification_types.h" |
62 #include "content/public/browser/web_contents.h" | 62 #include "content/public/browser/web_contents.h" |
63 #include "content/public/browser/web_contents_view.h" | 63 #include "content/public/browser/web_contents_view.h" |
64 #include "content/public/common/url_constants.h" | 64 #include "content/public/common/url_constants.h" |
65 #include "grit/chromium_strings.h" | 65 #include "grit/chromium_strings.h" |
66 #include "grit/component_resources.h" | 66 #include "grit/component_strings.h" |
67 #include "grit/generated_resources.h" | 67 #include "grit/generated_resources.h" |
68 #include "grit/theme_resources.h" | 68 #include "grit/theme_resources.h" |
69 #include "grit/webkit_resources.h" | 69 #include "grit/webkit_resources.h" |
70 #include "net/cert/cert_status_flags.h" | 70 #include "net/cert/cert_status_flags.h" |
71 #include "ui/base/base_window.h" | 71 #include "ui/base/base_window.h" |
72 #include "ui/base/l10n/l10n_util.h" | 72 #include "ui/base/l10n/l10n_util.h" |
73 #include "ui/base/resource/resource_bundle.h" | 73 #include "ui/base/resource/resource_bundle.h" |
74 #include "ui/gfx/canvas.h" | 74 #include "ui/gfx/canvas.h" |
75 #include "ui/gfx/color_utils.h" | 75 #include "ui/gfx/color_utils.h" |
76 #include "ui/gfx/skbitmap_operations.h" | 76 #include "ui/gfx/skbitmap_operations.h" |
(...skipping 3003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3080 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; | 3080 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; |
3081 } | 3081 } |
3082 | 3082 |
3083 // Has Wallet items. | 3083 // Has Wallet items. |
3084 return has_autofill_profiles ? | 3084 return has_autofill_profiles ? |
3085 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : | 3085 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : |
3086 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; | 3086 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; |
3087 } | 3087 } |
3088 | 3088 |
3089 } // namespace autofill | 3089 } // namespace autofill |
OLD | NEW |