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

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: rebase to Sep19 to pass dry run 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 a39fde2306f6cc41dcbc3e6688f6526a51f699e6..af67fe5294f26eee68a5ab7f838563f14304c334 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 {
@@ -136,6 +137,7 @@ class InfoBarDelegate {
SUBRESOURCE_FILTER_INFOBAR_DELEGATE_ANDROID = 66,
INSTANT_APPS_INFOBAR_DELEGATE_ANDROID = 67,
DATA_REDUCTION_PROXY_PREVIEW_INFOBAR_DELEGATE = 68,
+ SCREEN_CAPTURE_INFOBAR_DELEGATE_ANDROID = 69,
};
// Describes navigation events, used to decide whether infobars should be
@@ -220,6 +222,8 @@ class InfoBarDelegate {
virtual MediaStreamInfoBarDelegateAndroid*
AsMediaStreamInfoBarDelegateAndroid();
virtual MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate();
+ virtual ScreenCaptureInfoBarDelegateAndroid*
+ AsScreenCaptureInfoBarDelegateAndroid();
#endif
void set_infobar(InfoBar* infobar) { infobar_ = infobar; }
« no previous file with comments | « chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc ('k') | components/infobars/core/infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698