Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / ui / webui / options / chromeos / keyboard_handler.h
blobb30afb657a22574208953a2758e2203235a1ab8e
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_
8 #include "base/compiler_specific.h"
9 #include "base/prefs/pref_member.h"
10 #include "chrome/browser/ui/webui/options/options_ui.h"
12 namespace chromeos {
13 namespace options {
15 // Customize modifier keys overlay page UI handler.
16 class KeyboardHandler : public ::options::OptionsPageUIHandler {
17 public:
18 KeyboardHandler();
19 ~KeyboardHandler() override;
21 // OptionsPageUIHandler implementation.
22 void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
23 void InitializePage() override;
24 void RegisterMessages() override;
26 private:
27 // Show the keyboard shortcuts overlay from the options page.
28 void HandleShowKeyboardShortcuts(const base::ListValue* args);
30 DISALLOW_COPY_AND_ASSIGN(KeyboardHandler);
33 } // namespace options
34 } // namespace chromeos
36 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KEYBOARD_HANDLER_H_