1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
// 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.
#include "chrome/browser/chromeos/input_method/input_method_engine.h"
#include "chrome/browser/chromeos/input_method/input_method_engine_ibus.h"
namespace chromeos {
InputMethodEngine::KeyboardEvent::KeyboardEvent()
: alt_key(false),
ctrl_key(false),
shift_key(false) {
}
InputMethodEngine::KeyboardEvent::~KeyboardEvent() {
}
InputMethodEngine::MenuItem::MenuItem() {
}
InputMethodEngine::MenuItem::~MenuItem() {
}
InputMethodEngine::Candidate::Candidate() {
}
InputMethodEngine::Candidate::~Candidate() {
}
InputMethodEngine::Observer::~Observer() {
}
InputMethodEngine* InputMethodEngine::CreateEngine(
InputMethodEngine::Observer* observer,
const char* engine_name,
const char* extension_id,
const char* engine_id,
const char* description,
const char* language,
const std::vector<std::string>& layouts,
std::string* error) {
InputMethodEngineIBus* engine = new InputMethodEngineIBus();
engine->Initialize(observer,
engine_name,
extension_id,
engine_id,
description,
language,
layouts,
error);
return engine;
}
} // namespace chromeos
|