diff options
author | macourteau@chromium.org <macourteau@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 09:11:08 +0000 |
---|---|---|
committer | macourteau@chromium.org <macourteau@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 09:11:08 +0000 |
commit | 117b6b41e33888659ab6f13abb65940311e21dc0 (patch) | |
tree | c08ef501eeeeb9c8b3bab8acb217573ae4d6d037 /chrome/browser/infobars | |
parent | fd13a710033639865dbbae8922a85a222046454d (diff) | |
download | chromium_src-117b6b41e33888659ab6f13abb65940311e21dc0.zip chromium_src-117b6b41e33888659ab6f13abb65940311e21dc0.tar.gz chromium_src-117b6b41e33888659ab6f13abb65940311e21dc0.tar.bz2 |
Adding a new InfoBar that will be displayed when a webpage requests access to
the user's video camera or microphone (via WebRTC).
BUG=105115
TEST=
Review URL: http://codereview.chromium.org/9463025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/infobars')
-rw-r--r-- | chrome/browser/infobars/infobar_delegate.cc | 4 | ||||
-rw-r--r-- | chrome/browser/infobars/infobar_delegate.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/infobars/infobar_delegate.cc b/chrome/browser/infobars/infobar_delegate.cc index bcaf344..25a65ce 100644 --- a/chrome/browser/infobars/infobar_delegate.cc +++ b/chrome/browser/infobars/infobar_delegate.cc @@ -63,6 +63,10 @@ LinkInfoBarDelegate* InfoBarDelegate::AsLinkInfoBarDelegate() { return NULL; } +MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfobarDelegate() { + return NULL; +} + RegisterProtocolHandlerInfoBarDelegate* InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() { return NULL; diff --git a/chrome/browser/infobars/infobar_delegate.h b/chrome/browser/infobars/infobar_delegate.h index 785f67b..3dcda68 100644 --- a/chrome/browser/infobars/infobar_delegate.h +++ b/chrome/browser/infobars/infobar_delegate.h @@ -16,6 +16,7 @@ class InfoBar; class InfoBarTabHelper; class InsecureContentInfoBarDelegate; class LinkInfoBarDelegate; +class MediaStreamInfoBarDelegate; class PluginInstallerInfoBarDelegate; class RegisterProtocolHandlerInfoBarDelegate; class ThemeInstalledInfoBarDelegate; @@ -88,6 +89,7 @@ class InfoBarDelegate { virtual ExtensionInfoBarDelegate* AsExtensionInfoBarDelegate(); virtual InsecureContentInfoBarDelegate* AsInsecureContentInfoBarDelegate(); virtual LinkInfoBarDelegate* AsLinkInfoBarDelegate(); + virtual MediaStreamInfoBarDelegate* AsMediaStreamInfobarDelegate(); virtual RegisterProtocolHandlerInfoBarDelegate* AsRegisterProtocolHandlerInfoBarDelegate(); virtual ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate(); |