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

Unified Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc

Issue 1661063002: Add message and Help Center link to the chooser UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added GetOptionDescription virtual function to ChooserBubbleDelegate Created 4 years, 10 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/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
index 7db53f219718fc244b83ae32966e3166541fc39e..b2e1bbf23030035c2969fb866f46f67569cf29af 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
@@ -5,7 +5,9 @@
#include "chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h"
#include "base/stl_util.h"
+#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h"
+#include "chrome/common/url_constants.h"
#include "components/bubble/bubble_controller.h"
BluetoothChooserBubbleDelegate::BluetoothChooserBubbleDelegate(
@@ -56,6 +58,14 @@ void BluetoothChooserBubbleDelegate::Close() {
}
}
+base::string16 BluetoothChooserBubbleDelegate::GetHelpCenterUrl() const {
+ return base::ASCIIToUTF16(chrome::kChooserBluetoothOverviewURL);
+}
+
+base::string16 BluetoothChooserBubbleDelegate::GetOptionDescription() const {
+ return base::ASCIIToUTF16("device");
Jeffrey Yasskin 2016/02/19 21:25:40 This needs to be translated.
juncai 2016/02/20 02:25:05 Removed this member function since it is not neede
+}
+
void BluetoothChooserBubbleDelegate::AddDevice(
const std::string& device_id,
const base::string16& device_name) {

Powered by Google App Engine
This is Rietveld 408576698