Index: components/infobars/core/infobar_delegate.h |
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h |
index ced38d3371df534b78012c299dee1f9fc5804c17..223b8044ec94bc815c2e6f0e677952f44be629d1 100644 |
--- a/components/infobars/core/infobar_delegate.h |
+++ b/components/infobars/core/infobar_delegate.h |
@@ -24,6 +24,7 @@ class ThreeDAPIInfoBarDelegate; |
#if defined(OS_ANDROID) |
class MediaStreamInfoBarDelegateAndroid; |
class MediaThrottleInfoBarDelegate; |
+class ScreenCaptureInfoBarDelegateAndroid; |
#endif |
namespace translate { |
@@ -135,6 +136,7 @@ class InfoBarDelegate { |
AUTOFILL_CREDIT_CARD_FILLING_INFOBAR_DELEGATE_ANDROID = 65, |
SUBRESOURCE_FILTER_INFOBAR_DELEGATE_ANDROID = 66, |
INSTANT_APPS_INFOBAR_DELEGATE_ANDROID = 67, |
+ SCREEN_CAPTURE_INFOBAR_DELEGATE_ANDROID = 68, |
}; |
// Describes navigation events, used to decide whether infobars should be |
@@ -219,6 +221,8 @@ class InfoBarDelegate { |
virtual MediaStreamInfoBarDelegateAndroid* |
AsMediaStreamInfoBarDelegateAndroid(); |
virtual MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate(); |
+ virtual ScreenCaptureInfoBarDelegateAndroid* |
+ AsScreenCaptureInfoBarDelegateAndroid(); |
#endif |
void set_infobar(InfoBar* infobar) { infobar_ = infobar; } |