| Index: chrome/browser/ui/ash/ime_controller_chromeos.h
|
| diff --git a/chrome/browser/ui/ash/ime_controller_chromeos.h b/chrome/browser/ui/ash/ime_controller_chromeos.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..339e1f2844076e9b8b938ce9d586848f45c11e0c
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/ash/ime_controller_chromeos.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_
|
| +#define CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_
|
| +
|
| +#include "ash/ime_control_delegate.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "base/macros.h"
|
| +
|
| +// A class which controls ime when an IME shortcut key such as Control+space is
|
| +// pressed.
|
| +class ImeController : public ash::ImeControlDelegate {
|
| + public:
|
| + ImeController() {}
|
| + ~ImeController() override {}
|
| +
|
| + // Overridden from ash::ImeControlDelegate:
|
| + bool CanCycleIme() override;
|
| + void HandleNextIme() override;
|
| + void HandlePreviousIme() override;
|
| + bool CanSwitchIme(const ui::Accelerator& accelerator) override;
|
| + void HandleSwitchIme(const ui::Accelerator& accelerator) override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ImeController);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_ASH_IME_CONTROLLER_CHROMEOS_H_
|
|
|