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

Unified Diff: chrome/browser/ui/webui/options/chromeos/system_options_handler.h

Issue 8249011: Remove 'Enable tap-to-click' checkbox for non-touchpad devices. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: cleanup TouchpadSettings interface Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698