| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/autofill/autofill_cc_infobar_delegate.h" | 5 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 9 #include "base/histogram.h" | 9 #include "base/histogram.h" |
| 10 #include "chrome/browser/autofill/autofill_cc_infobar.h" | 10 #include "chrome/browser/autofill/autofill_cc_infobar.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 NEW_FOREGROUND_TAB, PageTransition::TYPED); | 96 NEW_FOREGROUND_TAB, PageTransition::TYPED); |
| 97 return false; | 97 return false; |
| 98 } | 98 } |
| 99 | 99 |
| 100 #if defined(OS_WIN) | 100 #if defined(OS_WIN) |
| 101 InfoBar* AutoFillCCInfoBarDelegate::CreateInfoBar() { | 101 InfoBar* AutoFillCCInfoBarDelegate::CreateInfoBar() { |
| 102 return CreateAutofillCcInfoBar(this); | 102 return CreateAutofillCcInfoBar(this); |
| 103 } | 103 } |
| 104 #endif // defined(OS_WIN) | 104 #endif // defined(OS_WIN) |
| 105 | 105 |
| 106 InfoBarDelegate::Type AutoFillCCInfoBarDelegate::GetInfoBarType() { |
| 107 return PAGE_ACTION_TYPE; |
| 108 } |
| OLD | NEW |