1// Copyright (c) 2011 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ 6#define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ 7#pragma once 8 9#include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler.h" 10 11class DictionaryValue; 12 13// ChromeOS system options page UI handler. 14class SystemOptionsHandler : public chromeos::CrosOptionsPageUIHandler { 15 public: 16 SystemOptionsHandler(); 17 virtual ~SystemOptionsHandler(); 18 19 // OptionsPageUIHandler implementation. 20 virtual void GetLocalizedValues(DictionaryValue* localized_strings); 21 virtual void Initialize(); 22 23 virtual void RegisterMessages(); 24 25 // Called when the accessibility checkbox value is changed. 26 // |args| will contain the checkbox checked state as a string 27 // ("true" or "false"). 28 void AccessibilityChangeCallback(const ListValue* args); 29 30 private: 31 DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler); 32}; 33 34#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ 35