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

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

Issue 2123863004: ScreenCapture for Android phase1, part II (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a new infobarDelegate for screen capture 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 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 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; }

Powered by Google App Engine
This is Rietveld 408576698