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

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: fix one more compilation error on Windows 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
« no previous file with comments | « ash/common/keyboard/keyboard_ui.h ('k') | ash/common/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..37fcc445cb6cd068561163490dac72a073937dc8 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 ShowInDisplay(const int64_t display_id) override {
+ keyboard::KeyboardController::GetInstance()->ShowKeyboardInDisplay(
+ display_id);
+ }
void Hide() override {
// Do nothing as this is called from ash::Shell, which also calls through
// to the appropriate keyboard functions.
« no previous file with comments | « ash/common/keyboard/keyboard_ui.h ('k') | ash/common/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698