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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "content/public/browser/navigation_entry.h" | 51 #include "content/public/browser/navigation_entry.h" |
52 #include "content/public/browser/notification_service.h" | 52 #include "content/public/browser/notification_service.h" |
53 #include "content/public/browser/notification_types.h" | 53 #include "content/public/browser/notification_types.h" |
54 #include "content/public/browser/web_contents.h" | 54 #include "content/public/browser/web_contents.h" |
55 #include "content/public/browser/web_contents_view.h" | 55 #include "content/public/browser/web_contents_view.h" |
56 #include "content/public/common/url_constants.h" | 56 #include "content/public/common/url_constants.h" |
57 #include "grit/chromium_strings.h" | 57 #include "grit/chromium_strings.h" |
58 #include "grit/generated_resources.h" | 58 #include "grit/generated_resources.h" |
59 #include "grit/theme_resources.h" | 59 #include "grit/theme_resources.h" |
60 #include "grit/webkit_resources.h" | 60 #include "grit/webkit_resources.h" |
61 #include "net/base/cert_status_flags.h" | 61 #include "net/cert/cert_status_flags.h" |
62 #include "ui/base/l10n/l10n_util.h" | 62 #include "ui/base/l10n/l10n_util.h" |
63 #include "ui/base/resource/resource_bundle.h" | 63 #include "ui/base/resource/resource_bundle.h" |
64 #include "ui/gfx/canvas.h" | 64 #include "ui/gfx/canvas.h" |
65 #include "ui/gfx/color_utils.h" | 65 #include "ui/gfx/color_utils.h" |
66 #include "ui/gfx/skbitmap_operations.h" | 66 #include "ui/gfx/skbitmap_operations.h" |
67 | 67 |
68 namespace autofill { | 68 namespace autofill { |
69 | 69 |
70 namespace { | 70 namespace { |
71 | 71 |
(...skipping 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1926 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; | 1926 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; |
1927 } | 1927 } |
1928 | 1928 |
1929 // Has Wallet items. | 1929 // Has Wallet items. |
1930 return has_autofill_profiles ? | 1930 return has_autofill_profiles ? |
1931 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : | 1931 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : |
1932 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; | 1932 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; |
1933 } | 1933 } |
1934 | 1934 |
1935 } // namespace autofill | 1935 } // namespace autofill |
OLD | NEW |