DescriptionCocoa: Show OAuth issues in extension install dialog
This is the Cocoa version of the following two CLs:
https://chromiumcodereview.appspot.com/10696042
https://chromiumcodereview.appspot.com/10824054
Currently the extension install dialog shows permission warnings inside a multiline text field.
OAuth issues are different in that they are a list of issues, each of which can be expadned to show more details.
To support this I replaced the multiline text field with an NSOutlineView.
Screenshots:
- OAuth issues + Warnings: http://i.imgur.com/Hbag3.png
- Inline install + Warnings: http://i.imgur.com/gpLI9.png
- Inline + No Warnings (outline view hidden): http://i.imgur.com/se9tH.png
- Bundle install + Warnings: http://i.imgur.com/5H3Rm.png
XIB changes: Replaced warning and subtitle text field with outline view. Updated relevant outlets.
BUG=30206
TEST=
1. Test OAuth issues. Run chrome with --demand-user-scope-approval. Drag/drop oauth2.crx from estade. Verify that warnings and oauth issues are displayed. Verify that expanding a oauth issue grows the dialog.
2. Test Inline install + Warning. Navigate to https://www.google.com/chrome/intl/en/p/google-plus.html and click install. Verify that warnings are displayed.
3. Test Inline Install + No Warnings. Navigate to http://chrome.angrybirds.com/ and click install. Verify that the outline view is hidden and that the dialog is correctly resized.
4. Test Bundle Install. Run chrome with --apps-gallery-url="http://www.corp.google.com/" Navigate to http://www.corp.google.com/~jstritar/bundle.html. Verify that warnings are shown.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151187
Patch Set 1 #Patch Set 2 : test #
Total comments: 2
Patch Set 3 : clean up #Patch Set 4 : fix gtk #Patch Set 5 : use autoreset #
Total comments: 16
Patch Set 6 : address review comments #Patch Set 7 : address review comments #Patch Set 8 : " #Messages
Total messages: 11 (0 generated)
|