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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } | 61 } |
62 | 62 |
63 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { | 63 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { |
64 return nullptr; | 64 return nullptr; |
65 } | 65 } |
66 | 66 |
67 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { | 67 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { |
68 return nullptr; | 68 return nullptr; |
69 } | 69 } |
70 | 70 |
| 71 PermissionInfobarDelegate* InfoBarDelegate::AsPermissionInfobarDelegate() { |
| 72 return nullptr; |
| 73 } |
| 74 |
71 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() { | 75 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() { |
72 return nullptr; | 76 return nullptr; |
73 } | 77 } |
74 | 78 |
75 RegisterProtocolHandlerInfoBarDelegate* | 79 RegisterProtocolHandlerInfoBarDelegate* |
76 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() { | 80 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() { |
77 return nullptr; | 81 return nullptr; |
78 } | 82 } |
79 | 83 |
80 ScreenCaptureInfoBarDelegate* | 84 ScreenCaptureInfoBarDelegate* |
(...skipping 12 matching lines...) Expand all Loading... |
93 | 97 |
94 translate::TranslateInfoBarDelegate* | 98 translate::TranslateInfoBarDelegate* |
95 InfoBarDelegate::AsTranslateInfoBarDelegate() { | 99 InfoBarDelegate::AsTranslateInfoBarDelegate() { |
96 return nullptr; | 100 return nullptr; |
97 } | 101 } |
98 | 102 |
99 InfoBarDelegate::InfoBarDelegate() { | 103 InfoBarDelegate::InfoBarDelegate() { |
100 } | 104 } |
101 | 105 |
102 } // namespace infobars | 106 } // namespace infobars |
OLD | NEW |