Cocoa: 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. Review URL: https://chromiumcodereview.appspot.com/10829170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151187 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment