summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_installer_infobar_delegate.cc
diff options
context:
space:
mode:
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;
}