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

Side by Side Diff: components/arc/ime/arc_ime_bridge_impl.cc

Issue 2039233003: Showing virtual keyboard when input type changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ImeHost.ShowImeIfNeeded to ARC bridge Created 4 years, 6 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698