DescriptionStore and restore view focus in OnWindowFocused.
Mimic [Desktop]NativeWidgetAura::OnWindowActivated.
Simplify OnNativeBlur calls and OnNative[Blur|Focus] impls.
(View focus changes update the TextInputClient as needed)
Rewrite and enable related ConstrainedWindowViewTests.
Print GetLastError() in SendInput() error case for tests.
(key presses get 5/ERROR_ACCESS_DENIED on locked desktops?)
BUG=368691, 170331, 177482, 163931
TEST=Automated tests; the focused Views change as expected between the browser, web contents, and web content modal dialogs (print preview, collected cookies, etc.).
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271249
Patch Set 1 #Patch Set 2 : Cleanup; add flag, comments, and TODOs. #Patch Set 3 : Ditto for NativeWidgetAura; nix Widget [Blur|Focus]TextInputClient; fix tests. #Patch Set 4 : Fix web content modal dialog tests and OnNativeBlur calls. #Patch Set 5 : Refine NavigationOnBackspace; print GetLastError for SendInput failures. #
Total comments: 2
Messages
Total messages: 12 (0 generated)
|