Index: content/public/browser/web_contents_delegate.cc |
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc |
index 016097b3ab17b8ea94dac0a1a4a43789d0b306e7..6e13c00ef4b4ad5d02a89a07af9ed951b99bdb8f 100644 |
--- a/content/public/browser/web_contents_delegate.cc |
+++ b/content/public/browser/web_contents_delegate.cc |
@@ -7,6 +7,7 @@ |
#include "base/compiler_specific.h" |
#include "base/logging.h" |
#include "base/memory/singleton.h" |
+#include "content/browser/bluetooth/first_device_bluetooth_chooser.h" |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/security_style_explanations.h" |
#include "content/public/browser/web_contents.h" |
@@ -147,6 +148,14 @@ JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( |
return nullptr; |
} |
+scoped_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser( |
+ WebContents* web_contents, |
+ BluetoothChooser::Observer* observer, |
+ int chooser_id, |
+ const GURL& origin) { |
+ return make_scoped_ptr(new FirstDeviceBluetoothChooser(observer, chooser_id)); |
+} |
+ |
bool WebContentsDelegate::EmbedsFullscreenWidget() const { |
return false; |
} |