Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: ui/base/ime/ime_engine_handler_interface.cc

Issue 1590863002: Move the local struct definitions off ui/base/ime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/ime/ime_engine_handler_interface.h ('k') | ui/base/ime/ime_engine_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « ui/base/ime/ime_engine_handler_interface.h ('k') | ui/base/ime/ime_engine_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698