OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_IME_CONTROLLER_CHROMEOS_H_ | |
6 #define CHROME_BROWSER_UI_VIEWS_AURA_IME_CONTROLLER_CHROMEOS_H_ | |
7 #pragma once | |
8 | |
9 #include "ash/ime_control_delegate.h" | |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | |
12 | |
13 // A class which controls ime when an IME shortcut key such as Control+space is | |
14 // pressed. | |
15 class ImeController : public ash::ImeControlDelegate { | |
16 public: | |
17 ImeController() {} | |
18 virtual ~ImeController() {} | |
19 | |
20 // Overridden from ash::ImeControlDelegate: | |
21 virtual bool HandleNextIme() OVERRIDE; | |
22 virtual bool HandlePreviousIme() OVERRIDE; | |
23 virtual bool HandleSwitchIme(const ui::Accelerator& accelerator) OVERRIDE; | |
24 | |
25 private: | |
26 DISALLOW_COPY_AND_ASSIGN(ImeController); | |
27 }; | |
28 | |
29 #endif // CHROME_BROWSER_UI_VIEWS_AURA_IME_CONTROLLER_CHROMEOS_H_ | |
OLD | NEW |