| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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 "build/build_config.h" | |
| 6 #include "ui/base/ime/ime_engine_handler_interface.h" | |
| 7 | |
| 8 namespace ui { | |
| 9 | |
| 10 IMEEngineHandlerInterface::KeyboardEvent::KeyboardEvent() | |
| 11 : alt_key(false), ctrl_key(false), shift_key(false), caps_lock(false) {} | |
| 12 | |
| 13 IMEEngineHandlerInterface::KeyboardEvent::~KeyboardEvent() {} | |
| 14 | |
| 15 // ChromeOS only APIs. | |
| 16 #if defined(OS_CHROMEOS) | |
| 17 | |
| 18 IMEEngineHandlerInterface::MenuItem::MenuItem() {} | |
| 19 | |
| 20 IMEEngineHandlerInterface::MenuItem::~MenuItem() {} | |
| 21 | |
| 22 IMEEngineHandlerInterface::Candidate::Candidate() {} | |
| 23 | |
| 24 IMEEngineHandlerInterface::Candidate::~Candidate() {} | |
| 25 | |
| 26 namespace { | |
| 27 // The default entry number of a page in CandidateWindowProperty. | |
| 28 const int kDefaultPageSize = 9; | |
| 29 } // namespace | |
| 30 | |
| 31 // When the default values are changed, please modify | |
| 32 // CandidateWindow::CandidateWindowProperty defined in chromeos/ime/ too. | |
| 33 IMEEngineHandlerInterface::CandidateWindowProperty::CandidateWindowProperty() | |
| 34 : page_size(kDefaultPageSize), | |
| 35 is_cursor_visible(true), | |
| 36 is_vertical(false), | |
| 37 show_window_at_composition(false) {} | |
| 38 | |
| 39 IMEEngineHandlerInterface::CandidateWindowProperty::~CandidateWindowProperty() { | |
| 40 } | |
| 41 | |
| 42 #endif | |
| 43 | |
| 44 } // namespace ui | |
| OLD | NEW |