Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / ash / ime_controller_chromeos.h
blobbdfa28ee9cecdf74fbf63600cbce7674dd532a31
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_ASH_IME_CONTROLLER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_
8 #include "ash/ime_control_delegate.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
12 // A class which controls ime when an IME shortcut key such as Control+space is
13 // pressed.
14 class ImeController : public ash::ImeControlDelegate {
15 public:
16 ImeController() {}
17 virtual ~ImeController() {}
19 // Overridden from ash::ImeControlDelegate:
20 virtual bool HandleNextIme() OVERRIDE;
21 virtual bool HandlePreviousIme(const ui::Accelerator& accelerator) OVERRIDE;
22 virtual bool HandleSwitchIme(const ui::Accelerator& accelerator) OVERRIDE;
23 virtual ui::Accelerator RemapAccelerator(
24 const ui::Accelerator& accelerator) OVERRIDE;
26 private:
27 bool UsingFrenchInputMethod() const;
29 DISALLOW_COPY_AND_ASSIGN(ImeController);
32 #endif // CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_