OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/arc/ime/arc_ime_bridge_impl.h" | 5 #include "components/arc/ime/arc_ime_bridge_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "components/arc/arc_bridge_service.h" | 9 #include "components/arc/arc_bridge_service.h" |
10 #include "ui/base/ime/composition_text.h" | 10 #include "ui/base/ime/composition_text.h" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 rect->left, | 126 rect->left, |
127 rect->top, | 127 rect->top, |
128 rect->right - rect->left, | 128 rect->right - rect->left, |
129 rect->bottom - rect->top)); | 129 rect->bottom - rect->top)); |
130 } | 130 } |
131 | 131 |
132 void ArcImeBridgeImpl::OnCancelComposition() { | 132 void ArcImeBridgeImpl::OnCancelComposition() { |
133 delegate_->OnCancelComposition(); | 133 delegate_->OnCancelComposition(); |
134 } | 134 } |
135 | 135 |
| 136 void ArcImeBridgeImpl::ShowImeIfNeeded() { |
| 137 delegate_->ShowImeIfNeeded(); |
| 138 } |
| 139 |
136 } // namespace arc | 140 } // namespace arc |
OLD | NEW |