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

Issue 392018: Enforce that only one constrained window is displayed at once per tab. (Closed)

Created:
11 years, 1 month ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Enforce that only one constrained window is displayed at once per tab. BUG=26900, 27620 TEST=Go to http://www/~thakis/cgi-bin/test.html with chrome mac, win, linux. Try using the page, try quitting chrome when the first or the second auth sheet are still open, etc. (The broken image icons are ok btw). On linux, check that every of the auth dialogs has focus. zelidrag@ made this work on windows too and landed it.

Patch Set 1 #

Patch Set 2 : gtk #

Patch Set 3 : windows #

Total comments: 1

Patch Set 4 : linux compile error #

Patch Set 5 : more linux compile #

Total comments: 6

Patch Set 6 : make linux even more happy #

Patch Set 7 : trunglify #

Patch Set 8 : more trunglification #

Patch Set 9 : foo #

Patch Set 10 : Set focus correctly on linux #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -44 lines) Patch
M chrome/browser/cocoa/constrained_window_mac.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/constrained_window_mac.mm View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/gtk/constrained_window_gtk.h View 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/gtk/constrained_window_gtk.cc View 2 2 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/login_prompt_gtk.cc View 5 chunks +24 lines, -12 lines 0 comments Download
M chrome/browser/tab_contents/constrained_window.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 2 3 4 5 3 chunks +9 lines, -16 lines 0 comments Download
M chrome/browser/views/constrained_window_win.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/constrained_window_win.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Nico
I still need to check stuff still works on windows/linux, but the idea should be ...
11 years, 1 month ago (2009-11-13 00:01:02 UTC) #1
Elliot Glaysher
I'm slightly concerned about the design here. 1) I'm generally supportive of this, but I'm ...
11 years, 1 month ago (2009-11-13 00:08:57 UTC) #2
Nico
> I'm slightly concerned about the design here. > > 1) I'm generally supportive of ...
11 years, 1 month ago (2009-11-13 00:25:29 UTC) #3
Elliot Glaysher
On 2009/11/13 00:25:29, Nico wrote: > I can't think of any obvious problems. The only ...
11 years, 1 month ago (2009-11-13 00:47:19 UTC) #4
viettrungluu
Is there anything which could go wrong if the TabContents is destroyed with things still ...
11 years, 1 month ago (2009-11-13 01:17:13 UTC) #5
Nico
This works on OS X and Linux, but is crashy on windows. My views-fu is ...
11 years, 1 month ago (2009-11-13 04:23:36 UTC) #6
Nico
11 years, 1 month ago (2009-11-13 15:20:32 UTC) #7
For the records: For the near future, I'd like to go with
http://codereview.chromium.org/384113 . But I'd like to eventually get this
landed, as it fixes a focus problem on GTK and sounds like something we want to
do anyway.

Powered by Google App Engine
This is Rietveld 408576698