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

Issue 18004004: Web MIDI: Implement icon image and bubble (Closed)

Created:
7 years, 6 months ago by Takashi Toyoshima
Modified:
7 years, 4 months ago
CC:
chromium-reviews, asanka, benjhayden+dwatch_chromium.org, jam, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org
Visibility:
Public.

Description

Web MIDI: Implement icon image and bubble The last change to implement content settings for Web MIDI. With this change, the page will have an icon which indicate the page has a full control of MIDI devices or not. XIB changes: * add ContentBlockedMIDISysEx.xib. This is almost the same thing with ContentBlockedGeolocation.xib except for NSButtonCell's content IDS id. BUG=257618 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216650

Patch Set 1 #

Patch Set 2 : ChromeMediaPermissionContextFactory #

Patch Set 3 : #

Patch Set 4 : infobar works #

Patch Set 5 : MediaPermissionSettingsState #

Patch Set 6 : handle render_view_id correctly #

Patch Set 7 : rename MediaPermissionContext to MIDIPermissionContext #

Patch Set 8 : rename (2) #

Patch Set 9 : (wip) #

Patch Set 10 : (wip) #

Patch Set 11 : (wip) #

Patch Set 12 : (rebase) #

Patch Set 13 : (wip: base midi_content_api) #

Patch Set 14 : (wip: test) #

Patch Set 15 : (wip: test) #

Patch Set 16 : (wip) #

Patch Set 17 : (wip: -bubble icon) #

Patch Set 18 : work everythin #

Patch Set 19 : (rebase) #

Patch Set 20 : (rebase) #

Patch Set 21 : (wip) #

Patch Set 22 : (rebase: blink api) #

Patch Set 23 : rebase #

Patch Set 24 : (rebase: remove noises) #

Patch Set 25 : use geo infobar code #

Patch Set 26 : (rebase) #

Patch Set 27 : (remove noise) #

Patch Set 28 : (rebase) #

Patch Set 29 : (remove noise) #

Patch Set 30 : (cocoa build fix) #

Patch Set 31 : for review #

Total comments: 14

Patch Set 32 : review #3 and #4 #

Total comments: 2

Patch Set 33 : reorder again #

Patch Set 34 : generated_resources.grd #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -26 lines) Patch
M chrome/app/generated_resources.grd View 3 chunks +24 lines, -3 lines 0 comments Download
A + chrome/app/nibs/ContentBlockedMIDISysEx.xib View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 8 chunks +14 lines, -10 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 8 chunks +107 lines, -7 lines 3 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +92 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +39 lines, -0 lines 0 comments Download
M chrome/chrome_nibs.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 32 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Takashi Toyoshima
Hi Bernhard, Can you take a look? This change completes Web MIDI content settings implementation. ...
7 years, 4 months ago (2013-08-07 12:32:41 UTC) #1
Miranda Callahan
On 2013/08/07 12:32:41, Takashi Toyoshima (chromium) wrote: > Hi Bernhard, > > Can you take ...
7 years, 4 months ago (2013-08-07 12:51:24 UTC) #2
Bernhard Bauer
https://chromiumcodereview.appspot.com/18004004/diff/121001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/18004004/diff/121001/chrome/app/generated_resources.grd#newcode14665 chrome/app/generated_resources.grd:14665: + This page has a full control of MIDI ...
7 years, 4 months ago (2013-08-07 13:16:30 UTC) #3
Robert Sesek
Please enumerate the changes in the new XIB file (it's branched/copied from an existing one ...
7 years, 4 months ago (2013-08-07 14:11:56 UTC) #4
Takashi Toyoshima
Thank you. I Uploaded Patch Set 32. https://chromiumcodereview.appspot.com/18004004/diff/121001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/18004004/diff/121001/chrome/app/generated_resources.grd#newcode14665 chrome/app/generated_resources.grd:14665: + This ...
7 years, 4 months ago (2013-08-08 06:44:34 UTC) #5
Bernhard Bauer
https://chromiumcodereview.appspot.com/18004004/diff/121001/chrome/chrome_nibs.gypi File chrome/chrome_nibs.gypi (right): https://chromiumcodereview.appspot.com/18004004/diff/121001/chrome/chrome_nibs.gypi#newcode22 chrome/chrome_nibs.gypi:22: 'app/nibs/ContentBlockedMedia.xib', On 2013/08/08 06:44:34, Takashi Toyoshima (chromium) wrote: > ...
7 years, 4 months ago (2013-08-08 07:29:49 UTC) #6
jochen (gone - plz use gerrit)
sort sorts according to the configured locale. For ascii, use ... | LC_ALL=C sort
7 years, 4 months ago (2013-08-08 07:35:31 UTC) #7
Takashi Toyoshima
Wow, thanks Jochen. So, I reordered file entries in Patch Set 33.
7 years, 4 months ago (2013-08-08 08:24:01 UTC) #8
Bernhard Bauer
On 2013/08/08 08:24:01, Takashi Toyoshima (chromium) wrote: > Wow, thanks Jochen. > So, I reordered ...
7 years, 4 months ago (2013-08-08 08:32:51 UTC) #9
Takashi Toyoshima
For the case of include directives, to follow unix sort command results is expected by ...
7 years, 4 months ago (2013-08-08 08:44:50 UTC) #10
Bernhard Bauer
On 2013/08/08 08:44:50, Takashi Toyoshima (chromium) wrote: > For the case of include directives, to ...
7 years, 4 months ago (2013-08-08 09:23:03 UTC) #11
Takashi Toyoshima
Thanks. https://chromiumcodereview.appspot.com/18004004/diff/135001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/18004004/diff/135001/chrome/app/generated_resources.grd#newcode14628 chrome/app/generated_resources.grd:14628: + Clear these settings for future visits. On ...
7 years, 4 months ago (2013-08-08 09:43:35 UTC) #12
Robert Sesek
https://chromiumcodereview.appspot.com/18004004/diff/161002/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm File chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm (right): https://chromiumcodereview.appspot.com/18004004/diff/161002/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm#newcode467 chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm:467: for (auto i = content.domain_lists.rbegin(); Do you want const ...
7 years, 4 months ago (2013-08-08 14:37:49 UTC) #13
Takashi Toyoshima
https://chromiumcodereview.appspot.com/18004004/diff/161002/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm File chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm (right): https://chromiumcodereview.appspot.com/18004004/diff/161002/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm#newcode467 chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm:467: for (auto i = content.domain_lists.rbegin(); If I didn't miss ...
7 years, 4 months ago (2013-08-08 14:52:31 UTC) #14
Robert Sesek
LGTM https://chromiumcodereview.appspot.com/18004004/diff/161002/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm File chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm (right): https://chromiumcodereview.appspot.com/18004004/diff/161002/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm#newcode467 chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm:467: for (auto i = content.domain_lists.rbegin(); On 2013/08/08 14:52:32, ...
7 years, 4 months ago (2013-08-08 14:53:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/18004004/161002
7 years, 4 months ago (2013-08-09 05:15:21 UTC) #16
commit-bot: I haz the power
7 years, 4 months ago (2013-08-09 10:24:54 UTC) #17
Message was sent while issue was closed.
Change committed as 216650

Powered by Google App Engine
This is Rietveld 408576698