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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 ((nav_entry_id_ != details.entry_id) || details.is_reload); | 72 ((nav_entry_id_ != details.entry_id) || details.is_reload); |
73 } | 73 } |
74 | 74 |
75 void InfoBarDelegate::InfoBarDismissed() { | 75 void InfoBarDelegate::InfoBarDismissed() { |
76 } | 76 } |
77 | 77 |
78 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { | 78 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { |
79 return nullptr; | 79 return nullptr; |
80 } | 80 } |
81 | 81 |
| 82 GroupedPermissionInfoBarDelegate* |
| 83 InfoBarDelegate::AsGroupedPermissionInfoBarDelegate() { |
| 84 return nullptr; |
| 85 } |
| 86 |
82 HungRendererInfoBarDelegate* InfoBarDelegate::AsHungRendererInfoBarDelegate() { | 87 HungRendererInfoBarDelegate* InfoBarDelegate::AsHungRendererInfoBarDelegate() { |
83 return nullptr; | 88 return nullptr; |
84 } | 89 } |
85 | 90 |
86 InsecureContentInfoBarDelegate* | 91 InsecureContentInfoBarDelegate* |
87 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { | 92 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { |
88 return nullptr; | 93 return nullptr; |
89 } | 94 } |
90 | 95 |
91 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { | 96 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |