DescriptionDo not save and restore View focus on aura::Window focus changes.
My http://crrev.com/271312 was wrong; see http://crbug.com/391376#c16
This resolves the following defects:
1) 394661 - print preview focus is restored on tab switch.
2) 391376 - print preview gets focused from CrOS photo editor.
3) 398766 - saving and restoring focus on bubbles/dialogs.
This reintroduces the following defects fixed by r271312:
1) 368691 - can't re-type in omnibox after focusing print preview
2) omnibox retains focus when re-focusing print preview.
(shows selection/cursor and leaves dropdown window open)
TODO(msw): Fix 368691 again... (web dialog focus issue)
BUG=391376, 394661, 398766, 368691
TEST=Issues 391376, 394661, and 398766 are fixed; 368691 regresses (for now).
R=ben@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286589
Patch Set 1 #Patch Set 2 : Focus the dialog's views::WebView when its content::WebContents is focused. #
Total comments: 3
Patch Set 3 : Focus the WebContents in WebContentsViewAura instead of WebDialogWebContentsDelegate. #
Total comments: 3
Patch Set 4 : Just revert the OnWindowFocused save/restore. #
Messages
Total messages: 16 (0 generated)
|