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

Issue 11035017: Mac Web Intents Part 15: Inline extension install prompt (model) (Closed)

Created:
8 years, 2 months ago by sail
Modified:
8 years, 2 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, groby+watch_chromium.org, rdsmith+dwatch_chromium.org, gbillock+watch_chromium.org, smckay+watch_chromium.org, rouslan+watch_chromium.org
Visibility:
Public.

Description

Mac Web Intents Part 15: Inline extension install prompt (model) This is the model specific part of the work to show extension install prompts inside the web intent picker dialog. This CL adds a custom_install_dialog_callback field to WebstoreInstaller::Approval. If this field is set then the install prompt code will run this callback to show the install prompt. BUG=152010 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161507

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Total comments: 14

Patch Set 3 : address review comments #

Total comments: 2

Patch Set 4 : split out extensions stuff #

Patch Set 5 : rebase #

Patch Set 6 : fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M chrome/browser/ui/intents/web_intent_picker.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.cc View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_model.h View 1 2 3 4 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_model.cc View 1 2 3 4 5 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
sail
8 years, 2 months ago (2012-10-02 01:23:12 UTC) #1
Nico
Looks harmless enough, but I think a chrome/browser/extensions/OWNER should take a look at this. https://codereview.chromium.org/11035017/diff/1/chrome/browser/extensions/crx_installer.h ...
8 years, 2 months ago (2012-10-02 05:11:00 UTC) #2
Randy Smith (Not in Mondays)
OWNERS chrome/browser/download/download_browsertest.cc LGTM (in case you need it).
8 years, 2 months ago (2012-10-02 13:33:50 UTC) #3
sail
+miket and +mihaip for extensions/* changes
8 years, 2 months ago (2012-10-03 05:28:08 UTC) #4
Greg Billock
http://codereview.chromium.org/11035017/diff/5001/chrome/browser/extensions/extension_install_dialog.cc File chrome/browser/extensions/extension_install_dialog.cc (right): http://codereview.chromium.org/11035017/diff/5001/chrome/browser/extensions/extension_install_dialog.cc#newcode77 chrome/browser/extensions/extension_install_dialog.cc:77: ShowExtensionInstallDialogImpl(parent, navigator, delegate, prompt); Can this just use the ...
8 years, 2 months ago (2012-10-03 17:20:35 UTC) #5
sail
spamming more extensions/* OWNERS
8 years, 2 months ago (2012-10-03 18:39:05 UTC) #6
Mihai Parparita -not on Chrome
Generally, the number of places that the custom callback had to be passed through seems ...
8 years, 2 months ago (2012-10-03 19:57:50 UTC) #7
sail
Addressed review comments, please take another look. Thanks. http://codereview.chromium.org/11035017/diff/5001/chrome/browser/extensions/extension_install_dialog.cc File chrome/browser/extensions/extension_install_dialog.cc (right): http://codereview.chromium.org/11035017/diff/5001/chrome/browser/extensions/extension_install_dialog.cc#newcode77 chrome/browser/extensions/extension_install_dialog.cc:77: ShowExtensionInstallDialogImpl(parent, ...
8 years, 2 months ago (2012-10-03 20:24:28 UTC) #8
Greg Billock
lgtm intents http://codereview.chromium.org/11035017/diff/5001/chrome/browser/ui/intents/web_intent_picker_model.h File chrome/browser/ui/intents/web_intent_picker_model.h (right): http://codereview.chromium.org/11035017/diff/5001/chrome/browser/ui/intents/web_intent_picker_model.h#newcode185 chrome/browser/ui/intents/web_intent_picker_model.h:185: void SetPendingExtensionInstallDelegate( OK. Like I was saying ...
8 years, 2 months ago (2012-10-03 21:15:38 UTC) #9
Aaron Boodman
Yeah, ExtensionInstallDialog is getting gnarly. What does this dialog actually look like? Does it (need ...
8 years, 2 months ago (2012-10-03 21:17:40 UTC) #10
sail
On 2012/10/03 21:17:40, Aaron Boodman wrote: > Yeah, ExtensionInstallDialog is getting gnarly. > > What ...
8 years, 2 months ago (2012-10-03 21:21:43 UTC) #11
sail
On 2012/10/03 21:21:43, sail wrote: > On 2012/10/03 21:17:40, Aaron Boodman wrote: > > Yeah, ...
8 years, 2 months ago (2012-10-03 21:24:07 UTC) #12
Aaron Boodman
I see. OK, let me think about this a bit more.
8 years, 2 months ago (2012-10-03 21:28:02 UTC) #13
Aaron Boodman
http://codereview.chromium.org/11035017/diff/17001/chrome/browser/extensions/extension_install_dialog.cc File chrome/browser/extensions/extension_install_dialog.cc (right): http://codereview.chromium.org/11035017/diff/17001/chrome/browser/extensions/extension_install_dialog.cc#newcode74 chrome/browser/extensions/extension_install_dialog.cc:74: show_dialog_callback.Run(parent, navigator, delegate, prompt); Too much inversion-of-control. I can't ...
8 years, 2 months ago (2012-10-04 06:33:35 UTC) #14
Aaron Boodman
On 2012/10/04 06:33:35, Aaron Boodman wrote: > However, if it turns out you need to ...
8 years, 2 months ago (2012-10-04 06:36:51 UTC) #15
miket_OOO
-miket as reviewer (mihaip >= miket)
8 years, 2 months ago (2012-10-04 17:07:47 UTC) #16
sail
I've moved out the extensions changes into a separate CL: http://codereview.chromium.org/11087071/
8 years, 2 months ago (2012-10-11 04:47:06 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/11035017/34001
8 years, 2 months ago (2012-10-12 02:28:26 UTC) #18
commit-bot: I haz the power
8 years, 2 months ago (2012-10-12 05:47:08 UTC) #19
Change committed as 161507

Powered by Google App Engine
This is Rietveld 408576698