Commit 47db9c8f authored by Dave Tapuska's avatar Dave Tapuska Committed by Commit Bot

Adjust usage of InputPane to be Windows 10 RS4 and later.

Microsoft has confirmed there are some issues with InputPane on earlier
versions before RS4.

BUG=817501

Change-Id: Ifa4557ecf479e10d619a6353e28c4f8eb3684867
Reviewed-on: https://chromium-review.googlesource.com/1093266Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565731}
parent 3b2de5c2
......@@ -37,7 +37,7 @@ constexpr size_t kExtraNumberOfChars = 20;
std::unique_ptr<InputMethodKeyboardController> CreateKeyboardController(
HWND toplevel_window_handle) {
if (base::FeatureList::IsEnabled(features::kInputPaneOnScreenKeyboard) &&
base::win::GetVersion() >= base::win::VERSION_WIN10_RS1) {
base::win::GetVersion() >= base::win::VERSION_WIN10_RS4) {
return std::make_unique<OnScreenKeyboardDisplayManagerInputPane>(
toplevel_window_handle);
} else if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment