Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Side by Side Diff: components/infobars/core/infobar_delegate.cc

Issue 2290603005: Trigger app banner when add to homescreen is pressed and WebAPKs are enabled. (Closed)
Patch Set: dominickn@ and dfalcantara@'s comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { 120 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() {
121 return nullptr; 121 return nullptr;
122 } 122 }
123 123
124 translate::TranslateInfoBarDelegate* 124 translate::TranslateInfoBarDelegate*
125 InfoBarDelegate::AsTranslateInfoBarDelegate() { 125 InfoBarDelegate::AsTranslateInfoBarDelegate() {
126 return nullptr; 126 return nullptr;
127 } 127 }
128 128
129 #if defined(OS_ANDROID) 129 #if defined(OS_ANDROID)
130 banners::AppBannerInfoBarDelegateAndroid*
131 InfoBarDelegate::AsAppBannerInfoBarDelegateAndroid() {
132 return nullptr;
133 }
134
130 MediaStreamInfoBarDelegateAndroid* 135 MediaStreamInfoBarDelegateAndroid*
131 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() { 136 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() {
132 return nullptr; 137 return nullptr;
133 } 138 }
134 139
135 MediaThrottleInfoBarDelegate* 140 MediaThrottleInfoBarDelegate*
136 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { 141 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
137 return nullptr; 142 return nullptr;
138 } 143 }
139 #endif 144 #endif
140 145
141 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 146 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
142 } 147 }
143 148
144 } // namespace infobars 149 } // namespace infobars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698