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

Unified Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h

Issue 1724183005: Change ChooserBubbleDelegate class name to ChooserBubbleController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merged changes from master, resolved conflicts and updated related files 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_desktop.h
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h
index 9809640ef09528d16bbf175115de665f53419fbf..ccd28172295e7de009860df2dcdf2f078fa40cf3 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h
@@ -8,7 +8,7 @@
#include "base/macros.h"
#include "content/public/browser/bluetooth_chooser.h"
-class BluetoothChooserBubbleDelegate;
+class BluetoothChooserBubbleController;
// Represents a Bluetooth chooser to ask the user to select a Bluetooth
// device from a list of options. This implementation is for desktop.
@@ -26,9 +26,9 @@ class BluetoothChooserDesktop : public content::BluetoothChooser {
const base::string16& device_name) override;
void RemoveDevice(const std::string& device_id) override;
- void set_bluetooth_chooser_bubble_delegate(
- BluetoothChooserBubbleDelegate* bluetooth_chooser_bubble_delegate) {
- bluetooth_chooser_bubble_delegate_ = bluetooth_chooser_bubble_delegate;
+ void set_bluetooth_chooser_bubble_controller(
+ BluetoothChooserBubbleController* bluetooth_chooser_bubble_controller) {
+ bluetooth_chooser_bubble_controller_ = bluetooth_chooser_bubble_controller;
}
// Use this function to call event_handler_.
@@ -37,7 +37,7 @@ class BluetoothChooserDesktop : public content::BluetoothChooser {
private:
content::BluetoothChooser::EventHandler event_handler_;
- BluetoothChooserBubbleDelegate* bluetooth_chooser_bubble_delegate_;
+ BluetoothChooserBubbleController* bluetooth_chooser_bubble_controller_;
DISALLOW_COPY_AND_ASSIGN(BluetoothChooserDesktop);
};

Powered by Google App Engine
This is Rietveld 408576698