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

Unified Diff: chrome/browser/chromeos/input_method/input_method_engine.cc

Issue 639103003: Support invisible underline for IME composition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamed 'invisible' to 'noUnderline'. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/input_method/input_method_engine.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc
index f35252522367aa585e41c953ca63af6e22e2e219..406a2cd1bfcfaa9f177e017ffd85fc2a79811f95 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.cc
+++ b/chrome/browser/chromeos/input_method/input_method_engine.cc
@@ -218,6 +218,9 @@ bool InputMethodEngine::SetComposition(
case SEGMENT_STYLE_DOUBLE_UNDERLINE:
underline.type = CompositionText::COMPOSITION_TEXT_UNDERLINE_DOUBLE;
break;
+ case SEGMENT_STYLE_NO_UNDERLINE:
+ underline.type = CompositionText::COMPOSITION_TEXT_UNDERLINE_NONE;
+ break;
default:
continue;
}

Powered by Google App Engine
This is Rietveld 408576698