DescriptionRefactor SSLClientAuthHandler and certificate selection
This cleans up much of the code involved in displaying a certificate selection
dialog to the user.
- Adds a new inner class to RenderViewHostDelegate (later to be populated
with more SSL things).
- Adds a helper class for TabContents' implementation.
- Moves the certificate dialogs themselves to have a common entry point.
- Makes SSLClientAuthHandler call the RVHDelegate to query the user, with the
TabContents implementation displaying the dialogs.
- Picks the correct parent window for the dialog on all platforms, instead of
relying on BrowserList::GetLastActive
- Makes the OS X implementation use an asynchronous sheet, now that we know the
parent.
- Fixes an index-mismatch problem in the OS X implementation, should we fail to create an identity.
R=agl,brettw,mark
BUG=148
TEST=selecting client certificates still works
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53231
Patch Set 1 #
Total comments: 4
Patch Set 2 : Add more to ShowSSLClientCertificateSelector's comment #Patch Set 3 : Rebase and remove some now unnecessary includes #Patch Set 4 : Fix linux_view; needed to explicitly include a file. #
Total comments: 6
Patch Set 5 : Address brettw's comments #
Total comments: 43
Patch Set 6 : Address mark's comments #
Total comments: 3
Patch Set 7 : Make the retain/release counts correct when a sheet is open. #
Total comments: 9
Patch Set 8 : Fix some variable naming. #Patch Set 9 : Rebase the patch #Messages
Total messages: 19 (0 generated)
|