| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |