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

Issue 10834242: Cocoa: Implement media gallery dialog (Closed)

Created:
8 years, 4 months ago by sail
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Cocoa: Implement media gallery dialog This is the cocoa version of the media galleries permission dialog. The dialog is implemented as an NSAlert displayed as a constrained window. The gallery checkboxes are added inside a accessory view. The views and GTK versions are here: http://codereview.chromium.org/10828166/ https://chromiumcodereview.appspot.com/10826129 Screenshots: http://i.imgur.com/fedm0.png BUG=134929 TBR=mihaip@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152128

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : " #

Total comments: 8

Patch Set 4 : rebase #

Patch Set 5 : address review comments #

Patch Set 6 : fix build #

Total comments: 11

Patch Set 7 : address review comments #

Patch Set 8 : rebase #

Patch Set 9 : fix bug #

Total comments: 2

Patch Set 10 : address review comments #

Patch Set 11 : rebase #

Patch Set 12 : fix views #

Patch Set 13 : fix gtk build #

Patch Set 14 : fix mac build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -30 lines) Patch
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/media_gallery/media_galleries_dialog_controller.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/media_gallery/media_galleries_dialog_controller.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -3 lines 0 comments Download
A chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h View 1 2 3 4 5 6 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm View 1 2 3 4 5 6 7 8 9 1 chunk +216 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 36 (0 generated)
sail
8 years, 4 months ago (2012-08-13 19:25:20 UTC) #1
Nico
I don't understand the dialog, and have no idea what any of the buttons would ...
8 years, 4 months ago (2012-08-13 19:30:30 UTC) #2
sail
On 2012/08/13 19:30:30, Nico wrote: > I don't understand the dialog, and have no idea ...
8 years, 4 months ago (2012-08-13 19:37:21 UTC) #3
sail
On 2012/08/13 19:30:30, Nico wrote: > I don't understand the dialog, and have no idea ...
8 years, 4 months ago (2012-08-13 19:37:22 UTC) #4
Nico
The UI seems pretty weird to me. The code is fine, except that it lacks ...
8 years, 4 months ago (2012-08-13 19:40:24 UTC) #5
sail
On 2012/08/13 19:40:24, Nico wrote: > The UI seems pretty weird to me. The code ...
8 years, 4 months ago (2012-08-13 20:02:25 UTC) #6
sail
http://codereview.chromium.org/10834242/diff/2002/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm File chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm (right): http://codereview.chromium.org/10834242/diff/2002/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm#newcode13 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm:13: namespace { On 2012/08/13 19:40:24, Nico wrote: > "const ...
8 years, 4 months ago (2012-08-13 20:40:33 UTC) #7
Nico
Can you ping this CL once the ported tests are in, to make sure I ...
8 years, 4 months ago (2012-08-13 21:38:54 UTC) #8
sail
On 2012/08/13 21:38:54, Nico wrote: > Can you ping this CL once the ported tests ...
8 years, 4 months ago (2012-08-13 21:47:19 UTC) #9
sail
On 2012/08/13 21:47:19, sail wrote: > On 2012/08/13 21:38:54, Nico wrote: > > Can you ...
8 years, 4 months ago (2012-08-14 21:02:44 UTC) #10
Robert Sesek
Are there any Cocoa-specific tests, or do the cross-platform ones work for this, too? http://codereview.chromium.org/10834242/diff/8004/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h ...
8 years, 4 months ago (2012-08-14 21:07:45 UTC) #11
sail
https://chromiumcodereview.appspot.com/10834242/diff/8004/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h File chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h (right): https://chromiumcodereview.appspot.com/10834242/diff/8004/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h#newcode15 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h:15: class MediaGalleriesDialogCocoa : On 2012/08/14 21:07:45, rsesek wrote: > ...
8 years, 4 months ago (2012-08-14 21:38:47 UTC) #12
sail
On 2012/08/14 21:07:45, rsesek wrote: > Are there any Cocoa-specific tests, or do the cross-platform ...
8 years, 4 months ago (2012-08-14 21:39:29 UTC) #13
Evan Stade
On 2012/08/13 19:30:30, Nico wrote: > I don't understand the dialog, and have no idea ...
8 years, 4 months ago (2012-08-15 00:42:11 UTC) #14
Evan Stade
> platform apps called MediaGalleries. "called MediaGalleries" was intended to modify "an experimental extension API"
8 years, 4 months ago (2012-08-15 00:42:55 UTC) #15
Robert Sesek
cocoa/ LGTM https://chromiumcodereview.appspot.com/10834242/diff/2005/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm File chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm (right): https://chromiumcodereview.appspot.com/10834242/diff/2005/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm#newcode19 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm:19: @property(nonatomic, readwrite) chrome::MediaGalleriesDialogCocoa* dialog; readwrite -> assign
8 years, 4 months ago (2012-08-16 15:43:54 UTC) #16
sail
https://chromiumcodereview.appspot.com/10834242/diff/2005/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm File chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm (right): https://chromiumcodereview.appspot.com/10834242/diff/2005/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm#newcode19 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm:19: @property(nonatomic, readwrite) chrome::MediaGalleriesDialogCocoa* dialog; On 2012/08/16 15:43:54, rsesek wrote: ...
8 years, 4 months ago (2012-08-16 16:04:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/11004
8 years, 4 months ago (2012-08-16 16:04:18 UTC) #18
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/api/media_galleries/media_galleries_api.cc: While running patch -p1 --forward --force; patching file chrome/browser/extensions/api/media_galleries/media_galleries_api.cc ...
8 years, 4 months ago (2012-08-16 16:04:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/3027
8 years, 4 months ago (2012-08-16 23:11:21 UTC) #20
commit-bot: I haz the power
Presubmit check for 10834242-3027 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-16 23:11:28 UTC) #21
Evan Stade
lgtm
8 years, 4 months ago (2012-08-16 23:24:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/3027
8 years, 4 months ago (2012-08-16 23:41:20 UTC) #23
commit-bot: I haz the power
Presubmit check for 10834242-3027 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-16 23:41:25 UTC) #24
Nico
lgtm
8 years, 4 months ago (2012-08-16 23:48:02 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/3027
8 years, 4 months ago (2012-08-16 23:50:11 UTC) #26
commit-bot: I haz the power
Try job failure for 10834242-3027 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-17 00:25:35 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/9016
8 years, 4 months ago (2012-08-17 00:39:03 UTC) #28
commit-bot: I haz the power
Try job failure for 10834242-9016 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-17 01:18:31 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/15004
8 years, 4 months ago (2012-08-17 03:29:36 UTC) #30
commit-bot: I haz the power
Try job failure for 10834242-15004 (retry) on mac for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-17 04:03:30 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/7007
8 years, 4 months ago (2012-08-17 04:15:58 UTC) #32
commit-bot: I haz the power
Try job failure for 10834242-7007 (retry) on linux_chromeos for step "browser_tests". It's a second try, ...
8 years, 4 months ago (2012-08-17 07:57:34 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/7007
8 years, 4 months ago (2012-08-17 08:06:29 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10834242/7007
8 years, 4 months ago (2012-08-17 16:22:36 UTC) #35
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 19:17:18 UTC) #36
Change committed as 152128

Powered by Google App Engine
This is Rietveld 408576698