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..79503cbd90814f3f74d5484fde09d767592cacef 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,34 @@ 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. |
James Hawkins
2011/10/04 20:43:39
This indentation is inconsistent with the doc one
kevers
2011/10/05 14:23:01
Done.
|
+ void FindBluetoothDevicesCallback(const base::ListValue* args); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler); |
+ |
+ // Simulates extracting a list of available bluetooth devices. |
+ // Called when emulating ChromeOS from a desktop environment. |
+ void GenerateFakeDeviceList(); |
+ |
+ // Notifies the Web UI of the status of a bluetooth device. |
+ // |name| is display name for the device. |
+ // |id| is the unique ID of the device (i.e. device address). |
+ // |type| is the type of device. |
+ // |connected| indicates if the device is the connected. |
+ void BluetoothDeviceNotification( |
+ const std::string& name, |
+ const std::string& id, |
+ const std::string& type, |
+ bool connected); |
}; |
#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ |