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

Issue 8770011: aura: Ask the WindowDelegate before a Window is Focus()ed. (Closed)

Created:
9 years ago by sadrul
Modified:
9 years ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

aura: Ask the WindowDelegate before a Window is Focus()ed. . In aura, before a window is focused, ask the delegate if it can be focused. . Make a popup RWHVA non-focusable. This is to prevent the focus from moving from the main web-page to the combobox (which causes the combobox to get destroyed). This fixes an issue where comboboxes in the login screen could not be used properly. BUG=105786 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112909

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : purity #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/demo/demo_main.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/test/test_window_delegate.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/test/test_window_delegate.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/window.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/aura/window_delegate.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sadrul
9 years ago (2011-12-01 18:23:43 UTC) #1
sadrul
Made some changes: . In aura, before a window is focused, ask the delegate if ...
9 years ago (2011-12-01 21:48:03 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/8770011/diff/3001/ui/aura/window_delegate.h File ui/aura/window_delegate.h (right): http://codereview.chromium.org/8770011/diff/3001/ui/aura/window_delegate.h#newcode62 ui/aura/window_delegate.h:62: virtual bool CanFocus() { return true; } On 2011/12/01 ...
9 years ago (2011-12-01 22:16:31 UTC) #3
sadrul
http://codereview.chromium.org/8770011/diff/3001/ui/aura/window_delegate.h File ui/aura/window_delegate.h (right): http://codereview.chromium.org/8770011/diff/3001/ui/aura/window_delegate.h#newcode62 ui/aura/window_delegate.h:62: virtual bool CanFocus() { return true; } On 2011/12/01 ...
9 years ago (2011-12-01 22:18:23 UTC) #4
sadrul
http://codereview.chromium.org/8770011/diff/3001/ui/aura/window_delegate.h File ui/aura/window_delegate.h (right): http://codereview.chromium.org/8770011/diff/3001/ui/aura/window_delegate.h#newcode62 ui/aura/window_delegate.h:62: virtual bool CanFocus() { return true; } On 2011/12/01 ...
9 years ago (2011-12-02 02:25:54 UTC) #5
sadrul
ping!
9 years ago (2011-12-03 00:41:58 UTC) #6
Ben Goodger (Google)
9 years ago (2011-12-03 00:42:46 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698