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

Side by Side Diff: content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.h

Issue 2245603003: Add signal strength indicator icon to WebBluetooth chooser on non-Mac desktops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address more comments Created 4 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 unified diff | Download patch
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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_FIRST_DEVICE_BLUETOOTH_CHO OSER_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_FIRST_DEVICE_BLUETOOTH_CHO OSER_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_FIRST_DEVICE_BLUETOOTH_CHO OSER_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_FIRST_DEVICE_BLUETOOTH_CHO OSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 13 matching lines...) Expand all
24 ~LayoutTestFirstDeviceBluetoothChooser() override; 24 ~LayoutTestFirstDeviceBluetoothChooser() override;
25 25
26 // BluetoothChooser: 26 // BluetoothChooser:
27 void SetAdapterPresence(AdapterPresence presence) override; 27 void SetAdapterPresence(AdapterPresence presence) override;
28 void ShowDiscoveryState(DiscoveryState state) override; 28 void ShowDiscoveryState(DiscoveryState state) override;
29 void AddOrUpdateDevice(const std::string& device_id, 29 void AddOrUpdateDevice(const std::string& device_id,
30 bool should_update_name, 30 bool should_update_name,
31 const base::string16& device_name, 31 const base::string16& device_name,
32 bool is_gatt_connected, 32 bool is_gatt_connected,
33 bool is_paired, 33 bool is_paired,
34 const int8_t* rssi) override; 34 int signal_strength_level) override;
35 void RemoveDevice(const std::string& device_id) override {} 35 void RemoveDevice(const std::string& device_id) override {}
36 36
37 private: 37 private:
38 EventHandler event_handler_; 38 EventHandler event_handler_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(LayoutTestFirstDeviceBluetoothChooser); 40 DISALLOW_COPY_AND_ASSIGN(LayoutTestFirstDeviceBluetoothChooser);
41 }; 41 };
42 42
43 } // namespace content 43 } // namespace content
44 44
45 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_FIRST_DEVICE_BLUETOOTH_ CHOOSER_H_ 45 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_FIRST_DEVICE_BLUETOOTH_ CHOOSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698