| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 ((nav_entry_id_ != details.entry_id) || details.is_reload); | 79 ((nav_entry_id_ != details.entry_id) || details.is_reload); |
| 80 } | 80 } |
| 81 | 81 |
| 82 void InfoBarDelegate::InfoBarDismissed() { | 82 void InfoBarDelegate::InfoBarDismissed() { |
| 83 } | 83 } |
| 84 | 84 |
| 85 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { | 85 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { |
| 86 return nullptr; | 86 return nullptr; |
| 87 } | 87 } |
| 88 | 88 |
| 89 HungRendererInfoBarDelegate* InfoBarDelegate::AsHungRendererInfoBarDelegate() { |
| 90 return nullptr; |
| 91 } |
| 92 |
| 89 InsecureContentInfoBarDelegate* | 93 InsecureContentInfoBarDelegate* |
| 90 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { | 94 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { |
| 91 return nullptr; | 95 return nullptr; |
| 92 } | 96 } |
| 93 | 97 |
| 94 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { | 98 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { |
| 95 return nullptr; | 99 return nullptr; |
| 96 } | 100 } |
| 97 | 101 |
| 98 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { | 102 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 128 | 132 |
| 129 translate::TranslateInfoBarDelegate* | 133 translate::TranslateInfoBarDelegate* |
| 130 InfoBarDelegate::AsTranslateInfoBarDelegate() { | 134 InfoBarDelegate::AsTranslateInfoBarDelegate() { |
| 131 return nullptr; | 135 return nullptr; |
| 132 } | 136 } |
| 133 | 137 |
| 134 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { | 138 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { |
| 135 } | 139 } |
| 136 | 140 |
| 137 } // namespace infobars | 141 } // namespace infobars |
| OLD | NEW |