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

Issue 121113007: [WebsiteSettings] API for permissions bubbles. (Closed)

Created:
6 years, 11 months ago by Greg Billock
Modified:
6 years, 11 months ago
CC:
chromium-reviews, markusheintz_
Visibility:
Public.

Description

[WebsiteSettings] API for permissions bubbles. This introduces a new API for clients to prepare permission bubbles for display to the user. Currently Follows the API of the InfoBar system pretty closely. BUG=332115 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245396

Patch Set 1 #

Total comments: 39

Patch Set 2 : comment #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : Add view, gypi #

Patch Set 7 : Flesh out impl #

Patch Set 8 : . #

Total comments: 4

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : destructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -0 lines) Patch
A chrome/browser/ui/website_settings/permission_bubble_delegate.h View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/ui/website_settings/permission_bubble_manager.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/ui/website_settings/permission_bubble_manager.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +117 lines, -0 lines 0 comments Download
A chrome/browser/ui/website_settings/permission_bubble_view.h View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
groby-ooo-7-16
Quick first pass. Also, it'd be great to have a few common use cases: How ...
6 years, 11 months ago (2014-01-07 00:31:16 UTC) #1
markusheintz_
https://codereview.chromium.org/121113007/diff/1/chrome/browser/ui/website_settings/permission_bubble_delegate.h File chrome/browser/ui/website_settings/permission_bubble_delegate.h (right): https://codereview.chromium.org/121113007/diff/1/chrome/browser/ui/website_settings/permission_bubble_delegate.h#newcode8 chrome/browser/ui/website_settings/permission_bubble_delegate.h:8: // Describes the interface a feature utilizing permission bubbles ...
6 years, 11 months ago (2014-01-07 08:12:34 UTC) #2
markusheintz_
Could we have a bug to track the actual feature work? Would be a great ...
6 years, 11 months ago (2014-01-07 08:13:49 UTC) #3
Greg Billock
https://code.google.com/p/chromium/issues/detail?id=332115 Ruby, do you want to turn this into the feature review bug/tracking bug/launch bug/whatever? ...
6 years, 11 months ago (2014-01-07 17:21:34 UTC) #4
Greg Billock
https://codereview.chromium.org/121113007/diff/1/chrome/browser/ui/website_settings/permission_bubble_delegate.h File chrome/browser/ui/website_settings/permission_bubble_delegate.h (right): https://codereview.chromium.org/121113007/diff/1/chrome/browser/ui/website_settings/permission_bubble_delegate.h#newcode8 chrome/browser/ui/website_settings/permission_bubble_delegate.h:8: // Describes the interface a feature utilizing permission bubbles ...
6 years, 11 months ago (2014-01-07 17:59:14 UTC) #5
rubylee_google.com
Yep, that works. Looks like it's a public bug - the link to the PRD ...
6 years, 11 months ago (2014-01-07 19:30:42 UTC) #6
Greg Billock
You could make it private, but I don't know that we'd want to. On Tue, ...
6 years, 11 months ago (2014-01-07 19:32:30 UTC) #7
groby-ooo-7-16
https://codereview.chromium.org/121113007/diff/1/chrome/browser/ui/website_settings/permission_bubble_delegate.h File chrome/browser/ui/website_settings/permission_bubble_delegate.h (right): https://codereview.chromium.org/121113007/diff/1/chrome/browser/ui/website_settings/permission_bubble_delegate.h#newcode50 chrome/browser/ui/website_settings/permission_bubble_delegate.h:50: virtual void PermissionDenied() = 0; On 2014/01/07 17:59:15, Greg ...
6 years, 11 months ago (2014-01-07 19:44:56 UTC) #8
Greg Billock
As background, the reason I'm attempting to keep scope very small for this UI piece ...
6 years, 11 months ago (2014-01-07 20:31:18 UTC) #9
groby-ooo-7-16
Overall, I'm thinking my mental model of the architecture is significantly different from yours. I'm ...
6 years, 11 months ago (2014-01-07 22:28:40 UTC) #10
Greg Billock
I saw the doc you had before -- it looked pretty similar to this, but ...
6 years, 11 months ago (2014-01-07 23:58:27 UTC) #11
groby-ooo-7-16
No, I don't want to handle the actual checking inside the class :) I'll try ...
6 years, 11 months ago (2014-01-08 00:21:38 UTC) #12
groby-ooo-7-16
Still writing up details, but after experimentation with APIs, the _one_ major difference is really ...
6 years, 11 months ago (2014-01-08 17:59:03 UTC) #13
Greg Billock
On 2014/01/08 17:59:03, groby wrote: > Still writing up details, but after experimentation with APIs, ...
6 years, 11 months ago (2014-01-09 22:11:10 UTC) #14
Greg Billock
On 2014/01/09 22:11:10, Greg Billock wrote: > On 2014/01/08 17:59:03, groby wrote: > > Still ...
6 years, 11 months ago (2014-01-10 18:28:07 UTC) #15
Peter Kasting
This has a lot of reviewers. As always when there are several reviewers, please explicitly ...
6 years, 11 months ago (2014-01-14 00:53:18 UTC) #16
Greg Billock
On 2014/01/14 00:53:18, Peter Kasting wrote: > This has a lot of reviewers. As always ...
6 years, 11 months ago (2014-01-14 16:24:31 UTC) #17
markusheintz_
I have not looked into the alternative Rachel described. From my perspective this LGTM to ...
6 years, 11 months ago (2014-01-15 23:25:29 UTC) #18
markusheintz_
I have not looked into the alternative Rachel described. From my perspective this LGTM to ...
6 years, 11 months ago (2014-01-15 23:25:34 UTC) #19
groby-ooo-7-16
After local discussion with Greg I've decided not to pursue the alternative. I still believe ...
6 years, 11 months ago (2014-01-15 23:30:41 UTC) #20
Greg Billock
Thanks, Markus. I think we'll evolve this a bit as we hit realities. This'll let ...
6 years, 11 months ago (2014-01-16 19:32:50 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/121113007/450001
6 years, 11 months ago (2014-01-16 19:35:10 UTC) #22
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=212701
6 years, 11 months ago (2014-01-16 19:59:05 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/121113007/720001
6 years, 11 months ago (2014-01-16 23:01:42 UTC) #24
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 00:45:56 UTC) #25
Message was sent while issue was closed.
Change committed as 245396

Powered by Google App Engine
This is Rietveld 408576698