Cleanup BrowserPluginEmbedder
[chromium-blink-merge.git] / chrome / browser / chromeos / input_method / input_method_engine_interface.cc
blob102ef15cf2a54eb7201333d1b53ba6bb1f0710d7
1 // Copyright 2013 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 #include "chrome/browser/chromeos/input_method/input_method_engine_interface.h"
7 namespace chromeos {
9 InputMethodEngineInterface::KeyboardEvent::KeyboardEvent()
10 : alt_key(false),
11 ctrl_key(false),
12 shift_key(false),
13 caps_lock(false) {
16 InputMethodEngineInterface::KeyboardEvent::~KeyboardEvent() {
19 InputMethodEngineInterface::MenuItem::MenuItem() {
22 InputMethodEngineInterface::MenuItem::~MenuItem() {
25 InputMethodEngineInterface::Candidate::Candidate() {
28 InputMethodEngineInterface::Candidate::~Candidate() {
31 namespace {
32 // The default entry number of a page in CandidateWindowProperty.
33 const int kDefaultPageSize = 9;
34 } // namespace
36 // When the default values are changed, please modify
37 // CandidateWindow::CandidateWindowProperty defined in chromeos/ime/ too.
38 InputMethodEngineInterface::CandidateWindowProperty::CandidateWindowProperty()
39 : page_size(kDefaultPageSize),
40 is_cursor_visible(true),
41 is_vertical(false),
42 show_window_at_composition(false) {
45 InputMethodEngineInterface::CandidateWindowProperty::~CandidateWindowProperty()
49 InputMethodEngineInterface::Observer::~Observer() {
51 } // namespace chromeos