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

Side by Side Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h

Issue 1737753002: Remove unnecessary class forward declaration for usb/bluetooth_chooser_bubble_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unnecessary class forward declaration for usb_chooser_bubble_delegate.h and bluetooth_chooser_bubble_delegate.h 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/usb/usb_chooser_bubble_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_BLUETOOTH_BLUETOOTH_CHOOSER_BUBBLE_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_BLUETOOTH_BLUETOOTH_CHOOSER_BUBBLE_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BLUETOOTH_BLUETOOTH_CHOOSER_BUBBLE_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_BLUETOOTH_BLUETOOTH_CHOOSER_BUBBLE_DELEGATE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h" 11 #include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h"
12 #include "components/bubble/bubble_reference.h" 12 #include "components/bubble/bubble_reference.h"
13 13
14 class Browser;
15 class BluetoothChooserDesktop; 14 class BluetoothChooserDesktop;
16 15
17 // BluetoothChooserBubbleDelegate is a chooser that presents a list of 16 // BluetoothChooserBubbleDelegate is a chooser that presents a list of
18 // Bluetooth device names, which come from |bluetooth_chooser_desktop_|. 17 // Bluetooth device names, which come from |bluetooth_chooser_desktop_|.
19 // It can be used by WebBluetooth API to get the user's permission to 18 // It can be used by WebBluetooth API to get the user's permission to
20 // access a Bluetooth device. 19 // access a Bluetooth device.
21 class BluetoothChooserBubbleDelegate : public ChooserBubbleDelegate { 20 class BluetoothChooserBubbleDelegate : public ChooserBubbleDelegate {
22 public: 21 public:
23 explicit BluetoothChooserBubbleDelegate(content::RenderFrameHost* owner); 22 explicit BluetoothChooserBubbleDelegate(content::RenderFrameHost* owner);
24 ~BluetoothChooserBubbleDelegate() override; 23 ~BluetoothChooserBubbleDelegate() override;
(...skipping 24 matching lines...) Expand all
49 private: 48 private:
50 // Each pair is a (device name, device id). 49 // Each pair is a (device name, device id).
51 std::vector<std::pair<base::string16, std::string>> device_names_and_ids_; 50 std::vector<std::pair<base::string16, std::string>> device_names_and_ids_;
52 BluetoothChooserDesktop* bluetooth_chooser_; 51 BluetoothChooserDesktop* bluetooth_chooser_;
53 BubbleReference bubble_controller_; 52 BubbleReference bubble_controller_;
54 53
55 DISALLOW_COPY_AND_ASSIGN(BluetoothChooserBubbleDelegate); 54 DISALLOW_COPY_AND_ASSIGN(BluetoothChooserBubbleDelegate);
56 }; 55 };
57 56
58 #endif // CHROME_BROWSER_UI_BLUETOOTH_BLUETOOTH_CHOOSER_BUBBLE_DELEGATE_H_ 57 #endif // CHROME_BROWSER_UI_BLUETOOTH_BLUETOOTH_CHOOSER_BUBBLE_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/usb/usb_chooser_bubble_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698