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

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.h

Issue 1315093002: Implement a bluetooth picker dialog for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-add line removed during merge 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: chrome/browser/android/chrome_web_contents_delegate_android.h
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.h b/chrome/browser/android/chrome_web_contents_delegate_android.h
index da47f2544030277ee0b0df84e4406f3ce70d3cdf..4dcbaaf49c9009021f939a8031f9c8e5fd0d0602 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.h
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.h
@@ -9,6 +9,7 @@
#include "base/files/file_path.h"
#include "components/web_contents_delegate_android/web_contents_delegate_android.h"
+#include "content/public/browser/bluetooth_chooser.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -41,6 +42,10 @@ class ChromeWebContentsDelegateAndroid
bool to_different_document) override;
void RunFileChooser(content::WebContents* web_contents,
const content::FileChooserParams& params) override;
+ scoped_ptr<content::BluetoothChooser> RunBluetoothChooser(
newt (away) 2015/09/01 21:51:23 does this method belong in this class?
Finnur 2015/09/02 16:01:43 I struggled with this quite a bit, and believe it
newt (away) 2015/09/02 17:48:42 Ok, if you're overriding a method in web_contents_
+ content::WebContents* web_contents,
+ const content::BluetoothChooser::EventHandler& event_handler,
+ const GURL& origin) override;
void CloseContents(content::WebContents* web_contents) override;
blink::WebDisplayMode GetDisplayMode(
const content::WebContents* web_contents) const override;

Powered by Google App Engine
This is Rietveld 408576698