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 #include "chrome/browser/ui/views/aura/ime_controller_chromeos.h" | |
6 | |
7 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | |
8 | |
9 bool ImeController::HandleNextIme() { | |
10 chromeos::input_method::InputMethodManager* manager = | |
11 chromeos::input_method::InputMethodManager::GetInstance(); | |
12 return manager->SwitchToNextInputMethod(); | |
13 } | |
14 | |
15 bool ImeController::HandlePreviousIme() { | |
16 chromeos::input_method::InputMethodManager* manager = | |
17 chromeos::input_method::InputMethodManager::GetInstance(); | |
18 return manager->SwitchToPreviousInputMethod(); | |
19 } | |
20 | |
21 bool ImeController::HandleSwitchIme(const ui::Accelerator& accelerator) { | |
22 chromeos::input_method::InputMethodManager* manager = | |
23 chromeos::input_method::InputMethodManager::GetInstance(); | |
24 return manager->SwitchInputMethod(accelerator); | |
25 } | |
OLD | NEW |