summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/media_stream_infobar_delegate.cc
diff options
context:
space:
mode:
authoryujie.mao@intel.com <yujie.mao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-09 03:01:50 +0000
committeryujie.mao@intel.com <yujie.mao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-09 03:01:50 +0000
commit3bc518bf660790c79a503def21229df9d45bb970 (patch)
treeaa675b1004140ac84e3d06bf02d117f676d67cf8 /chrome/browser/ui/media_stream_infobar_delegate.cc
parent3c3d9ed1f077b26eb2526499f31c4b2f76a9c1da (diff)
downloadchromium_src-3bc518bf660790c79a503def21229df9d45bb970.zip
chromium_src-3bc518bf660790c79a503def21229df9d45bb970.tar.gz
chromium_src-3bc518bf660790c79a503def21229df9d45bb970.tar.bz2
Implement Linux Media Stream Infobar
BUG=116249 TEST=NONE Review URL: http://codereview.chromium.org/9570012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/media_stream_infobar_delegate.cc')
-rw-r--r--chrome/browser/ui/media_stream_infobar_delegate.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/media_stream_infobar_delegate.cc b/chrome/browser/ui/media_stream_infobar_delegate.cc
index ef7bab4..56ab12f 100644
--- a/chrome/browser/ui/media_stream_infobar_delegate.cc
+++ b/chrome/browser/ui/media_stream_infobar_delegate.cc
@@ -110,14 +110,14 @@ void MediaStreamInfoBarDelegate::AddDeviceWithId(
// MediaStreamInfoBarDelegate::CreateInfoBar is implemented in platform-specific
// files.
-#if !defined(TOOLKIT_VIEWS)
+#if defined(OS_MAC)
// TODO(macourteau): This section is temporary, until the InfoBar is implemented
-// on other platforms, to make sure everything compiles and links.
+// on MacOS, to make sure everything compiles and links.
InfoBar* MediaStreamInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
DCHECK(owner);
return NULL;
}
-#endif // !TOOLKIT_VIEWS
+#endif // OS_MAC
void MediaStreamInfoBarDelegate::InfoBarDismissed() {
// Deny the request if the infobar was closed with the 'x' button, since