summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_installer_infobar_delegate.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 19:31:39 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 19:31:39 +0000
commit5e37c45f06e1a574b08588c6679c977eb4f8ee47 (patch)
treeb6e1d185cea139a1da2a07481047fb53457678b5 /chrome/browser/plugin_installer_infobar_delegate.cc
parent2c09e75ecfaf7ee8ccea38a9ec3e78e7e8c3d045 (diff)
downloadchromium_src-5e37c45f06e1a574b08588c6679c977eb4f8ee47.zip
chromium_src-5e37c45f06e1a574b08588c6679c977eb4f8ee47.tar.gz
chromium_src-5e37c45f06e1a574b08588c6679c977eb4f8ee47.tar.bz2
Preliminary work to allow Chrome to build with USE_AURA.
This gets browser.lib to build. http://crbug.com/93947 TEST=none Review URL: http://codereview.chromium.org/7834048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99787 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_installer_infobar_delegate.cc')
-rw-r--r--chrome/browser/plugin_installer_infobar_delegate.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/plugin_installer_infobar_delegate.cc b/chrome/browser/plugin_installer_infobar_delegate.cc
index f37cb9d..a6e002e 100644
--- a/chrome/browser/plugin_installer_infobar_delegate.cc
+++ b/chrome/browser/plugin_installer_infobar_delegate.cc
@@ -51,12 +51,15 @@ string16 PluginInstallerInfoBarDelegate::GetButtonLabel(
bool PluginInstallerInfoBarDelegate::Accept() {
// TODO(PORT) for other platforms.
-#ifdef OS_WIN
+#if defined(OS_WIN) && !defined(USE_AURA)
::PostMessage(window_,
webkit::npapi::default_plugin::kInstallMissingPluginMessage,
0,
0);
-#endif // OS_WIN
+#elif defined(USE_AURA)
+ // TODO(beng):
+ NOTIMPLEMENTED();
+#endif
return true;
}