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

Unified Diff: components/infobars/core/infobar_delegate.h

Issue 1392023004: Rename android only infobars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try again Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: components/infobars/core/infobar_delegate.h
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
index 40b73a9a3f130e61f8c865fa91533152781c3e9a..bed797f461274d2990cb5e3fe4679f14cd21b819 100644
--- a/components/infobars/core/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
@@ -12,7 +12,6 @@
class ConfirmInfoBarDelegate;
class HungRendererInfoBarDelegate;
class InsecureContentInfoBarDelegate;
-class MediaStreamInfoBarDelegate;
class NativeAppInfoBarDelegate;
class PermissionInfobarDelegate;
class PopupBlockedInfoBarDelegate;
@@ -22,6 +21,7 @@ class ThemeInstalledInfoBarDelegate;
class ThreeDAPIInfoBarDelegate;
#if defined(OS_ANDROID)
+class MediaStreamInfoBarDelegateAndroid;
class MediaThrottleInfoBarDelegate;
#endif
@@ -124,7 +124,6 @@ class InfoBarDelegate {
virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate();
virtual HungRendererInfoBarDelegate* AsHungRendererInfoBarDelegate();
virtual InsecureContentInfoBarDelegate* AsInsecureContentInfoBarDelegate();
- virtual MediaStreamInfoBarDelegate* AsMediaStreamInfoBarDelegate();
virtual NativeAppInfoBarDelegate* AsNativeAppInfoBarDelegate();
virtual PermissionInfobarDelegate* AsPermissionInfobarDelegate();
virtual PopupBlockedInfoBarDelegate* AsPopupBlockedInfoBarDelegate();
@@ -135,6 +134,8 @@ class InfoBarDelegate {
virtual ThreeDAPIInfoBarDelegate* AsThreeDAPIInfoBarDelegate();
virtual translate::TranslateInfoBarDelegate* AsTranslateInfoBarDelegate();
#if defined(OS_ANDROID)
+ virtual MediaStreamInfoBarDelegateAndroid*
+ AsMediaStreamInfoBarDelegateAndroid();
virtual MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate();
#endif

Powered by Google App Engine
This is Rietveld 408576698