DescriptionOnly show virtual keyboard on primary root window
In order to display virtual keyboard(VK) only on primary root window,
this CL did
1. Shell takes ownership of keyboard controller(KC) instead of
RootWindowController
2. keyboard container window is owned by KC instead of its parent
There should only be one KC and one keyboard container at any time after
this change. keyboard container can be dynamically enabled/disabled on a
RootWindowController at runtime. If you want to do that,
you should DisableKeyboard on the previous RootWindowController first and
then EnableKeyboard on the new RootWindowController.
BUG=297858
TEST=
1. enable virtual keyboard from about::/flags on a Chromebook
2. plug in an external monitor
verify only one virtual keyboard shows
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227088
Patch Set 1 #Patch Set 2 : Add unit tests #
Total comments: 5
Patch Set 3 : Move KeyboardController to shell #
Total comments: 4
Patch Set 4 : move container_ initialization back #
Total comments: 8
Patch Set 5 : reviews #
Total comments: 26
Patch Set 6 : rebase #Patch Set 7 : add/remove docked_layout_manager #Patch Set 8 : More reviews #Patch Set 9 : Fix keyboard_unittests #Patch Set 10 : rebase #Patch Set 11 : rebase #
Total comments: 8
Patch Set 12 : Reset keyboard controller before NULL shell instance #Patch Set 13 : Add a TODO #
Messages
Total messages: 23 (0 generated)
|