Fix infinite recursion on hiding panel when created during fullscreen mode.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / keyboard_driven_oobe_key_handler.h
blob584a6907b8569f039f554b7024c7533c981461e1
1 // Copyright 2013 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_CHROMEOS_LOGIN_KEYBOARD_DRIVEN_OOBE_KEY_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_DRIVEN_OOBE_KEY_HANDLER_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/events/event_handler.h"
12 namespace chromeos {
14 // A class to handle special menu key for keyboard driven OOBE.
15 class KeyboardDrivenOobeKeyHandler : public ui::EventHandler {
16 public:
17 KeyboardDrivenOobeKeyHandler();
18 virtual ~KeyboardDrivenOobeKeyHandler();
20 private:
21 // ui::EventHandler
22 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
24 DISALLOW_COPY_AND_ASSIGN(KeyboardDrivenOobeKeyHandler);
27 } // namespace chromeos
29 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_DRIVEN_OOBE_KEY_HANDLER_H_