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

Issue 132047: GTK: HTTP Auth dialogs under linux. (Closed)

Created:
11 years, 6 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

GTK: HTTP Auth dialogs under linux. - Implements a ConstrainedWindowGtk which positions itself in the center of its corresponding TabContentsViewGtk. - Implements LoginPromptGtk. HTTP Auth now works under Linux. - Renames ConstrainedWindowImpl to ConstrainedWindowWin http://crbug.com/11512 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18864

Patch Set 1 #

Patch Set 2 : Style fixes + lint #

Total comments: 6

Patch Set 3 : Fixes for evanm #

Total comments: 2

Patch Set 4 : Fix for evanm #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+1358 lines, -834 lines) Patch
M chrome/browser/automation/automation_provider.cc View 1 chunk +5 lines, -1 line 0 comments Download
A chrome/browser/gtk/constrained_window_gtk.h View 1 1 chunk +65 lines, -0 lines 3 comments Download
A chrome/browser/gtk/constrained_window_gtk.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/login_prompt_gtk.cc View 1 2 1 chunk +317 lines, -0 lines 4 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/constrained_window.h View 1 2 2 chunks +18 lines, -15 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 4 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 1 2 3 3 chunks +52 lines, -0 lines 0 comments Download
M chrome/browser/views/constrained_window_impl.h View 1 chunk +0 lines, -82 lines 0 comments Download
M chrome/browser/views/constrained_window_impl.cc View 1 chunk +0 lines, -726 lines 0 comments Download
A chrome/browser/views/constrained_window_win.h View 1 1 chunk +78 lines, -0 lines 0 comments Download
A chrome/browser/views/constrained_window_win.cc View 1 2 1 chunk +725 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 5 chunks +6 lines, -3 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Elliot Glaysher
I'd like one OK from a windows person and one from a linux person. In ...
11 years, 6 months ago (2009-06-19 17:28:00 UTC) #1
Evan Martin
Comments on the GTK btis http://codereview.chromium.org/132047/diff/1001/37 File chrome/browser/gtk/constrained_window_gtk.cc (right): http://codereview.chromium.org/132047/diff/1001/37#newcode25 Line 25: GtkWidget* frame = ...
11 years, 6 months ago (2009-06-19 17:40:33 UTC) #2
Elliot Glaysher
Please take another look? http://codereview.chromium.org/132047/diff/1001/37 File chrome/browser/gtk/constrained_window_gtk.cc (right): http://codereview.chromium.org/132047/diff/1001/37#newcode27 Line 27: gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), On 2009/06/19 17:40:33, ...
11 years, 6 months ago (2009-06-19 18:20:41 UTC) #3
Evan Martin
http://codereview.chromium.org/132047/diff/3001/3010 File chrome/browser/tab_contents/tab_contents_view_gtk.cc (right): http://codereview.chromium.org/132047/diff/3001/3010#newcode422 Line 422: // Look at the size request of the ...
11 years, 6 months ago (2009-06-19 19:07:07 UTC) #4
Elliot Glaysher
http://codereview.chromium.org/132047/diff/3001/3010 File chrome/browser/tab_contents/tab_contents_view_gtk.cc (right): http://codereview.chromium.org/132047/diff/3001/3010#newcode422 Line 422: // Look at the size request of the ...
11 years, 6 months ago (2009-06-19 19:30:29 UTC) #5
Ben Goodger (Google)
OK for the viewsey windowsey changes
11 years, 6 months ago (2009-06-19 21:44:17 UTC) #6
Evan Martin
11 years, 6 months ago (2009-06-19 21:55:48 UTC) #7
LGTM,suggestions below

http://codereview.chromium.org/132047/diff/5002/4004
File chrome/browser/gtk/constrained_window_gtk.h (right):

http://codereview.chromium.org/132047/diff/5002/4004#newcode19
Line 19: // Returns the top of the widget root that will be put in the
constrained
"top of the widget root" is weird.  You just mean "the widget" I think.

http://codereview.chromium.org/132047/diff/5002/4004#newcode28
Line 28: // Constrained window implementation for the GTK port. Unlike the
windows
capital Windows here, to reduce confusion with lowercase windows below

http://codereview.chromium.org/132047/diff/5002/4004#newcode41
Line 41: // Returns the event box we draw on.
Maybe make it more clear why we expose this?  Maybe the caller doesn't care that
it's an eventbox but rather this is just "the widget that contains the junk" or
whatever.

http://codereview.chromium.org/132047/diff/5002/4005
File chrome/browser/login_prompt_gtk.cc (right):

http://codereview.chromium.org/132047/diff/5002/4005#newcode50
Line 50: ~LoginHandlerGtk() {
virtual

http://codereview.chromium.org/132047/diff/5002/4005#newcode159
Line 159: "Why is OnRequestCancelled called from the UI thread?";
I guess this text is a bit redundant with the DCHECK.  *shrug*

http://codereview.chromium.org/132047/diff/5002/4005#newcode199
Line 199: void CancelAuthDeferred() {
It's a bit weird that all of these are inside the class, rather than void
LoginHandlerGtk::CancelAuthDeferred() etc

http://codereview.chromium.org/132047/diff/5002/4005#newcode309
Line 309: GtkWidget* cancel_;
These don't need to be members, it seems -- they're only used in one function.

Powered by Google App Engine
This is Rietveld 408576698