Chromium Code Reviews| 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..a0927c67c8c6ebc1e7da95596770e64db37016e7 100644 |
| --- a/chrome/browser/ui/webui/options/chromeos/system_options_handler.h |
| +++ b/chrome/browser/ui/webui/options/chromeos/system_options_handler.h |
| @@ -29,8 +29,28 @@ 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: |
| DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler); |
|
James Hawkins
2011/10/06 17:20:45
DISALLOW..() goes at the bottom.
kevers
2011/10/06 20:24:41
Done.
|
| + |
| + // Simulates extracting a list of available bluetooth devices. |
| + // Called when emulating ChromeOS from a desktop environment. |
| + void GenerateFakeDeviceList(); |
| }; |
| #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ |