| Index: chrome/browser/ui/webui/options/chromeos/system_options_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/system_options_handler.h b/chrome/browser/ui/webui/options/chromeos/system_options_handler.h
|
| index 61d451c9d0a0957cb871b92289ac2f33bd6082ea..922ff6e5cfdf1e4706d6ded41ff4147085565c2d 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/system_options_handler.h
|
| +++ b/chrome/browser/ui/webui/options/chromeos/system_options_handler.h
|
| @@ -29,7 +29,27 @@ class SystemOptionsHandler : public chromeos::CrosOptionsPageUIHandler {
|
| // ("true" or "false").
|
| void AccessibilityChangeCallback(const base::ListValue* args);
|
|
|
| + // Called when the 'Enable bluetooth' checkbox value is changed.
|
| + // |args| will contain the checkbox checked state as a string
|
| + // ("true" or "false").
|
| + void BluetoothEnableChangeCallback(const base::ListValue* args);
|
| +
|
| + // Called when the 'Find Devices' button is pressed from the
|
| + // Bluetooth settings.
|
| + // |args| will contain the list of devices currently connected
|
| + // devices according to the System options page.
|
| + void FindBluetoothDevicesCallback(const base::ListValue* args);
|
| +
|
| + // Sends a notification to the Web UI of the status of a bluetooth device.
|
| + // |device| is the decription of the device. The supported dictionary keys
|
| + // for device are "deviceName", "deviceId", "deviceType" and "deviceStatus".
|
| + void BluetoothDeviceNotification(const base::DictionaryValue& device);
|
| +
|
| private:
|
| + // Simulates extracting a list of available bluetooth devices.
|
| + // Called when emulating ChromeOS from a desktop environment.
|
| + void GenerateFakeDeviceList();
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler);
|
| };
|
|
|
|
|