Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1286063002: Add a path for content/ to open and control a Bluetooth chooser dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Remove an unnecessary include and forward decl Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index fb770cadf800803b5bb9322bcb654953937b5504..df52b218aab24721c82b514befc8ac9ff38d8245 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -692,6 +692,15 @@ void WebContentsImpl::RunFileChooser(
delegate_->RunFileChooser(this, params);
}
+scoped_ptr<BluetoothChooser> WebContentsImpl::RunBluetoothChooser(
+ BluetoothChooser::Observer* observer,
+ int chooser_id,
+ const GURL& origin) {
+ if (delegate_)
+ return delegate_->RunBluetoothChooser(this, observer, chooser_id, origin);
+ return nullptr;
+}
+
NavigationControllerImpl& WebContentsImpl::GetController() {
return controller_;
}

Powered by Google App Engine
This is Rietveld 408576698