summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-18 19:42:30 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-18 19:42:30 +0000
commit49d02cd2ed9cb60fcb247666f32192ddf0d89ec6 (patch)
tree4707059c33bcaa6ebd9ed0d1e893e279e51bfc5d /apps
parentf4a752ee3b344110a3c4665571fca3590657d39b (diff)
downloadchromium_src-49d02cd2ed9cb60fcb247666f32192ddf0d89ec6.zip
chromium_src-49d02cd2ed9cb60fcb247666f32192ddf0d89ec6.tar.gz
chromium_src-49d02cd2ed9cb60fcb247666f32192ddf0d89ec6.tar.bz2
Re-land: Store and restore view focus in OnWindowFocused.
r271281 reverted the first r271249 for Win XP test failures: http://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%281%29/builds/31239/steps/interactive_ui_tests/logs/stdio [ RUN ] ConstrainedWindowViewTest.ClosesOnEscape [216:3316:0517/130516:ERROR:gpu_info_collector_win.cc(103)] Can't retrieve a valid WinSAT assessment. c:\b\build\slave\cr-win-rel\build\src\chrome\browser\ui\views\constrained_window_views_browsertest.cc(206): error: Value of: dialog->GetWidget() Actual: 08C1F9C0 Expected: 0 Which is: NULL This CL makes that test no-op on XP; I'll follow up in Issue 177482. ------------------------------------------------------------ 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.). TBR=sky@chromium.org Review URL: https://codereview.chromium.org/285403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions