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

Unified Diff: content/public/browser/bluetooth_chooser.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: content/public/browser/bluetooth_chooser.h
diff --git a/content/public/browser/bluetooth_chooser.h b/content/public/browser/bluetooth_chooser.h
index 07cd51ecff7d042ec918c70e8c4c8c366e82c9b9..c73e300ae3facf5f256857a0c6e39b3c0a81e2e3 100644
--- a/content/public/browser/bluetooth_chooser.h
+++ b/content/public/browser/bluetooth_chooser.h
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
+#include "content/public/browser/web_contents.h"
namespace content {
@@ -22,6 +23,8 @@ class CONTENT_EXPORT BluetoothChooser {
CANCELLED,
// The user selected device |opt_device_id|.
SELECTED,
+ // The user asked for a new Bluetooth discovery session to start.
+ RESCAN,
// As the dialog implementations grow more user-visible buttons and knobs,
// we'll add enumerators here to support them.
@@ -59,6 +62,11 @@ class CONTENT_EXPORT BluetoothChooser {
// Tells the chooser that a device is no longer available. The chooser should
// not call DeviceSelected() for a device that's been removed.
virtual void RemoveDevice(const std::string& device_id) {}
+
+ // Show various help links for the dialog.
+ void ShowOverviewLink(content::WebContents* web_contents);
Jeffrey Yasskin 2015/09/01 17:09:49 Can you add these in a separate CL so we don't nee
Finnur 2015/09/02 16:01:43 Shifted this over to BluetoothDispatcherHost. :)
+ void ShowPairingLink(content::WebContents* web_contents);
+ void ShowAdapterOffLink(content::WebContents* web_contents);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698