| 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 "components/infobars/core/infobar_delegate.h" | 5 #include "components/infobars/core/infobar_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "components/infobars/core/infobar.h" | 9 #include "components/infobars/core/infobar.h" |
| 10 #include "components/infobars/core/infobar_manager.h" | 10 #include "components/infobars/core/infobar_manager.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 ThemeInstalledInfoBarDelegate* | 119 ThemeInstalledInfoBarDelegate* |
| 120 InfoBarDelegate::AsThemePreviewInfobarDelegate() { | 120 InfoBarDelegate::AsThemePreviewInfobarDelegate() { |
| 121 return nullptr; | 121 return nullptr; |
| 122 } | 122 } |
| 123 | 123 |
| 124 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { | 124 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { |
| 125 return nullptr; | 125 return nullptr; |
| 126 } | 126 } |
| 127 | 127 |
| 128 translate::TranslateInfoBarDelegate* | 128 translate::TranslateInfoBarDelegate* |
| 129 InfoBarDelegate::AsTranslateInfoBarDelegate() { | 129 InfoBarDelegate::AsTranslateInfoBarDelegate() { |
| 130 return nullptr; | 130 return nullptr; |
| 131 } | 131 } |
| 132 | 132 |
| 133 #if defined(OS_ANDROID) |
| 134 MediaThrottleInfoBarDelegate* |
| 135 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { |
| 136 return nullptr; |
| 137 } |
| 138 #endif |
| 139 |
| 133 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { | 140 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { |
| 134 } | 141 } |
| 135 | 142 |
| 136 } // namespace infobars | 143 } // namespace infobars |
| OLD | NEW |