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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_engine.cc

Issue 24946003: Rename IBusLookupTable to CandidateWindow, and move it to chromeos/ime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 7 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/input_method/input_method_engine.h" 5 #include "chrome/browser/chromeos/input_method/input_method_engine.h"
6 6
7 #include "chrome/browser/chromeos/input_method/input_method_engine_ibus.h" 7 #include "chrome/browser/chromeos/input_method/input_method_engine_ibus.h"
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 InputMethodEngine::Candidate::~Candidate() { 29 InputMethodEngine::Candidate::~Candidate() {
30 } 30 }
31 31
32 namespace { 32 namespace {
33 // The default entry number of a page in CandidateWindowProperty. 33 // The default entry number of a page in CandidateWindowProperty.
34 const int kDefaultPageSize = 9; 34 const int kDefaultPageSize = 9;
35 } // namespace 35 } // namespace
36 36
37 // When the default values are changed, please modify 37 // When the default values are changed, please modify
38 // IBusLookupTable::CandidateWindowProperty too. 38 // CandidateWindow::CandidateWindowProperty defined in chromeos/ime/ too.
39 InputMethodEngine::CandidateWindowProperty::CandidateWindowProperty() 39 InputMethodEngine::CandidateWindowProperty::CandidateWindowProperty()
40 : page_size(kDefaultPageSize), 40 : page_size(kDefaultPageSize),
41 is_cursor_visible(true), 41 is_cursor_visible(true),
42 is_vertical(false), 42 is_vertical(false),
43 show_window_at_composition(false) { 43 show_window_at_composition(false) {
44 } 44 }
45 45
46 InputMethodEngine::CandidateWindowProperty::~CandidateWindowProperty() { 46 InputMethodEngine::CandidateWindowProperty::~CandidateWindowProperty() {
47 } 47 }
48 48
(...skipping 18 matching lines...) Expand all
67 engine_id, 67 engine_id,
68 description, 68 description,
69 languages, 69 languages,
70 layouts, 70 layouts,
71 options_page, 71 options_page,
72 error); 72 error);
73 return engine; 73 return engine;
74 } 74 }
75 75
76 } // namespace chromeos 76 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698