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

Issue 7835039: Implement the inline extensions/apps install UI for Cocoa. (Closed)

Created:
9 years, 3 months ago by Mihai Parparita -not on Chrome
Modified:
9 years, 3 months ago
Reviewers:
Nico
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr., alcor
Visibility:
Public.

Description

Implement the inline extensions/apps install UI for Cocoa. This required a new .xib (ExtensionInstallPromptInline) that shows store data (star rating, number of reviews, number of users). Current .xibs (ExtensionInstallPrompt and ExtensionInstallPromptNoWarnings) were rearranged slightly to have the icon on the right and use a bulleted list for the list of permissions (instead of a box) per Cole's mock. This is the Cocoa side of r99407 (views) and r99205 (GTK). BUG=93380 TEST=no Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99695

Patch Set 1 #

Total comments: 33

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2211 lines, -225 lines) Patch
M chrome/app/nibs/ExtensionInstallPrompt.xib View 20 chunks +63 lines, -91 lines 0 comments Download
A chrome/app/nibs/ExtensionInstallPromptInline.xib View 1 1 chunk +1857 lines, -0 lines 0 comments Download
M chrome/app/nibs/ExtensionInstallPromptNoWarnings.xib View 14 chunks +41 lines, -13 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h View 2 3 chunks +19 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm View 1 2 10 chunks +141 lines, -58 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller_unittest.mm View 1 10 chunks +73 lines, -30 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc View 1 2 3 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_install_dialog_view.cc View 1 2 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Mihai Parparita -not on Chrome
9 years, 3 months ago (2011-09-05 22:32:06 UTC) #1
Mihai Parparita -not on Chrome
+Alcor in case this isn't turning out the way he expected. Screenshots: - Inline install, ...
9 years, 3 months ago (2011-09-05 22:39:12 UTC) #2
Nico
Looks pretty good already! http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h File chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h (right): http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h#newcode48 chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h:48: // For unit test use ...
9 years, 3 months ago (2011-09-05 22:59:17 UTC) #3
Nico
Forgot to ask: Do you have 2x art for the star images etc? Have you ...
9 years, 3 months ago (2011-09-05 23:03:38 UTC) #4
Mihai Parparita -not on Chrome
http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h File chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h (right): http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h#newcode48 chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h:48: // For unit test use only On 2011/09/05 22:59:17, ...
9 years, 3 months ago (2011-09-06 00:54:11 UTC) #5
Mihai Parparita -not on Chrome
Don't have 2x art (Cole?) or access to a Lion box at the moment. Is ...
9 years, 3 months ago (2011-09-06 00:55:12 UTC) #6
Nico
LGTM with missing comment fixed. http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm File chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm (right): http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm#newcode129 chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm:129: [NSApp endSheet:[self window]]; On ...
9 years, 3 months ago (2011-09-06 01:04:00 UTC) #7
Mihai Parparita -not on Chrome
http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm File chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm (right): http://codereview.chromium.org/7835039/diff/1/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm#newcode129 chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm:129: [NSApp endSheet:[self window]]; On 2011/09/06 01:04:00, Nico wrote: > ...
9 years, 3 months ago (2011-09-06 01:25:59 UTC) #8
Nico
LGTM!
9 years, 3 months ago (2011-09-06 01:30:17 UTC) #9
alcor
Looks good. Can we do it on white, though? On Mon, Sep 5, 2011 at ...
9 years, 3 months ago (2011-09-06 17:30:43 UTC) #10
Mihai Parparita -not on Chrome
Which part? The whole dialog or just the list of permissions? Mihai On Tue, Sep ...
9 years, 3 months ago (2011-09-06 17:42:37 UTC) #11
alcor
The whole dialog On Tue, Sep 6, 2011 at 10:42 AM, Mihai Parparita <mihaip@chromium.org>wrote: > ...
9 years, 3 months ago (2011-09-06 17:48:58 UTC) #12
Mihai Parparita -not on Chrome
Does that also mean that it shouldn't be a sheet anymore (the current background isn't ...
9 years, 3 months ago (2011-09-06 17:56:20 UTC) #13
alcor
9 years, 3 months ago (2011-09-06 18:03:23 UTC) #14
It should still be a sheet, but white. A lot of the web store assets (like
stars) look poor on gray.

On Tue, Sep 6, 2011 at 10:56 AM, Mihai Parparita <mihaip@chromium.org>wrote:

> Does that also mean that it shouldn't be a sheet anymore (the current
> background isn't actually gray, it's the regular sheet transparency)?
>
> Mihai
>
> On Tue, Sep 6, 2011 at 10:48 AM, Nicholas Jitkoff <alcor@google.com>wrote:
>
>> The whole dialog
>>
>> On Tue, Sep 6, 2011 at 10:42 AM, Mihai Parparita <mihaip@chromium.org>wrote:
>>
>>> Which part? The whole dialog or just the list of permissions?
>>>
>>> Mihai
>>>
>>>
>>> On Tue, Sep 6, 2011 at 10:29 AM, Nicholas Jitkoff <alcor@google.com>wrote:
>>>
>>>> Looks good. Can we do it on white, though?
>>>>
>>>> On Mon, Sep 5, 2011 at 6:30 PM, <thakis@chromium.org> wrote:
>>>>
>>>>> LGTM!
>>>>>
>>>>>
http://codereview.chromium.**org/7835039/<http://codereview.chromium.org/7835...
>>>>>
>>>>
>>>>
>>>
>>
>

Powered by Google App Engine
This is Rietveld 408576698