| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { | 118 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { |
| 119 return nullptr; | 119 return nullptr; |
| 120 } | 120 } |
| 121 | 121 |
| 122 translate::TranslateInfoBarDelegate* | 122 translate::TranslateInfoBarDelegate* |
| 123 InfoBarDelegate::AsTranslateInfoBarDelegate() { | 123 InfoBarDelegate::AsTranslateInfoBarDelegate() { |
| 124 return nullptr; | 124 return nullptr; |
| 125 } | 125 } |
| 126 | 126 |
| 127 #if defined(OS_ANDROID) | 127 #if defined(OS_ANDROID) |
| 128 GroupedPermissionInfoBarDelegate* |
| 129 InfoBarDelegate::AsGroupedPermissionInfoBarDelegate() { |
| 130 return nullptr; |
| 131 } |
| 132 |
| 128 MediaStreamInfoBarDelegateAndroid* | 133 MediaStreamInfoBarDelegateAndroid* |
| 129 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() { | 134 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() { |
| 130 return nullptr; | 135 return nullptr; |
| 131 } | 136 } |
| 132 | 137 |
| 133 MediaThrottleInfoBarDelegate* | 138 MediaThrottleInfoBarDelegate* |
| 134 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { | 139 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { |
| 135 return nullptr; | 140 return nullptr; |
| 136 } | 141 } |
| 137 | 142 |
| 138 offline_pages::OfflinePageInfoBarDelegate* | 143 offline_pages::OfflinePageInfoBarDelegate* |
| 139 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { | 144 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { |
| 140 return nullptr; | 145 return nullptr; |
| 141 } | 146 } |
| 142 #endif | 147 #endif |
| 143 | 148 |
| 144 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { | 149 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { |
| 145 } | 150 } |
| 146 | 151 |
| 147 } // namespace infobars | 152 } // namespace infobars |
| OLD | NEW |