| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 ((nav_entry_id_ != details.entry_id) || details.is_reload); | 51 ((nav_entry_id_ != details.entry_id) || details.is_reload); |
| 52 } | 52 } |
| 53 | 53 |
| 54 void InfoBarDelegate::InfoBarDismissed() { | 54 void InfoBarDelegate::InfoBarDismissed() { |
| 55 } | 55 } |
| 56 | 56 |
| 57 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { | 57 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { |
| 58 return nullptr; | 58 return nullptr; |
| 59 } | 59 } |
| 60 | 60 |
| 61 HungRendererInfoBarDelegate* InfoBarDelegate::AsHungRendererInfoBarDelegate() { |
| 62 return nullptr; |
| 63 } |
| 64 |
| 61 InsecureContentInfoBarDelegate* | 65 InsecureContentInfoBarDelegate* |
| 62 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { | 66 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { |
| 63 return nullptr; | 67 return nullptr; |
| 64 } | 68 } |
| 65 | 69 |
| 66 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { | 70 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { |
| 67 return nullptr; | 71 return nullptr; |
| 68 } | 72 } |
| 69 | 73 |
| 70 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { | 74 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 100 | 104 |
| 101 translate::TranslateInfoBarDelegate* | 105 translate::TranslateInfoBarDelegate* |
| 102 InfoBarDelegate::AsTranslateInfoBarDelegate() { | 106 InfoBarDelegate::AsTranslateInfoBarDelegate() { |
| 103 return nullptr; | 107 return nullptr; |
| 104 } | 108 } |
| 105 | 109 |
| 106 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { | 110 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { |
| 107 } | 111 } |
| 108 | 112 |
| 109 } // namespace infobars | 113 } // namespace infobars |
| OLD | NEW |