| Index: chrome/browser/ui/webui/options/chromeos/system_options_handler.h
|
| ===================================================================
|
| --- chrome/browser/ui/webui/options/chromeos/system_options_handler.h (revision 106949)
|
| +++ chrome/browser/ui/webui/options/chromeos/system_options_handler.h (working copy)
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_
|
| #pragma once
|
|
|
| +#include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler.h"
|
|
|
| namespace base {
|
| @@ -13,7 +14,9 @@
|
| }
|
|
|
| // ChromeOS system options page UI handler.
|
| -class SystemOptionsHandler : public chromeos::CrosOptionsPageUIHandler {
|
| +class SystemOptionsHandler
|
| + : public chromeos::CrosOptionsPageUIHandler,
|
| + public base::SupportsWeakPtr<SystemOptionsHandler> {
|
| public:
|
| SystemOptionsHandler();
|
| virtual ~SystemOptionsHandler();
|
| @@ -35,6 +38,9 @@
|
| void DecreaseScreenBrightnessCallback(const base::ListValue* args);
|
| void IncreaseScreenBrightnessCallback(const base::ListValue* args);
|
|
|
| + // Callback for TouchpadHelper.
|
| + void TouchpadExists(bool* exists);
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler);
|
| };
|
|
|