Chromium Code Reviews| 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 |