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

Unified Diff: ash/common/keyboard/keyboard_ui.cc

Issue 2445293002: Make the virtual keyboard show up on the display with input focus. (Closed)
Patch Set: rebase & update Created 4 years, 1 month 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: ash/common/keyboard/keyboard_ui.cc
diff --git a/ash/common/keyboard/keyboard_ui.cc b/ash/common/keyboard/keyboard_ui.cc
index 25ecbd8893b0f812dcbac8b8660029edfc99735d..9e01d8860a2ce70c5d7e85c1c971db1cfa45a194 100644
--- a/ash/common/keyboard/keyboard_ui.cc
+++ b/ash/common/keyboard/keyboard_ui.cc
@@ -30,6 +30,10 @@ class KeyboardUIImpl : public KeyboardUI, public AccessibilityObserver {
void Show() override {
keyboard::KeyboardController::GetInstance()->ShowKeyboard(true);
}
+ void ShowInSpecificDisplay(int64_t display_id) override {
+ keyboard::KeyboardController::GetInstance()->ShowKeyboardInSpecificDisplay(
+ display_id);
+ }
void Hide() override {
// Do nothing as this is called from ash::Shell, which also calls through
// to the appropriate keyboard functions.

Powered by Google App Engine
This is Rietveld 408576698