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

Unified Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h

Issue 14208014: Simplify adding callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/chromeos/login/core_oobe_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
index 0c15f245d3c72e81ac0a2301b31e8d45878f3b44..9caddfc0d98f7968d7c85ed8ab00968eca82360b 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
@@ -58,12 +58,12 @@ class CoreOobeHandler : public BaseScreenHandler,
private:
// Handlers for JS WebUI messages.
- void HandleEnableHighContrast(const base::ListValue* args);
- void HandleEnableScreenMagnifier(const base::ListValue* args);
- void HandleEnableSpokenFeedback(const base::ListValue* args);
- void HandleInitialized(const base::ListValue* args);
- void HandleSkipUpdateEnrollAfterEula(const base::ListValue* args);
- void HandleUpdateCurrentScreen(const base::ListValue* args);
+ void HandleEnableHighContrast(bool enabled);
+ void HandleEnableScreenMagnifier(bool enabled);
+ void HandleEnableSpokenFeedback();
+ void HandleInitialized();
+ void HandleSkipUpdateEnrollAfterEula();
+ void HandleUpdateCurrentScreen(const std::string& screen);
bartfab (slow) 2013/04/16 17:04:35 #include <string>
ygorshenin1 2013/04/16 17:52:43 Done.
// Updates a11y menu state based on the current a11y features state(on/off).
void UpdateA11yState();

Powered by Google App Engine
This is Rietveld 408576698