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

Issue 354733002: Notifications API support for images with multiple scale factors. (Closed)

Created:
6 years, 6 months ago by dewittj
Modified:
4 years, 11 months ago
Reviewers:
benwells
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Notifications API support for images with multiple scale factors. To date, the notifications API supported only one representation per image. This means the experience could be degraded if the user changed scale factors dynamically or had multiple monitors with differing scale factors. This updates the API to allow specification of multiple representations with differing scale factors. BUG=239676

Patch Set 1 #

Patch Set 2 : Remove unnecessary JS #

Total comments: 5

Patch Set 3 : Address naming concerns. #

Patch Set 4 : Fix bindings as well. #

Patch Set 5 : Fixes some bugs and changes terminology to match the w3c manifest spec #

Patch Set 6 : Adds some comments to IDL and fixes the CSP test failure. #

Patch Set 7 : Updates custom bindings tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -122 lines) Patch
M chrome/browser/extensions/api/notifications/notifications_api.cc View 1 2 3 4 10 chunks +81 lines, -42 lines 0 comments Download
M chrome/common/extensions/api/notifications.idl View 1 2 3 4 5 3 chunks +30 lines, -12 lines 0 comments Download
M chrome/renderer/resources/extensions/notifications_custom_bindings.gtestjs View 1 2 3 4 5 6 5 chunks +15 lines, -12 lines 0 comments Download
M chrome/renderer/resources/extensions/notifications_custom_bindings.js View 1 2 3 4 5 4 chunks +72 lines, -46 lines 0 comments Download
M chrome/renderer/resources/extensions/notifications_test_util.js View 1 2 3 4 5 6 1 chunk +18 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
benwells
https://codereview.chromium.org/354733002/diff/20001/chrome/common/extensions/api/notifications.idl File chrome/common/extensions/api/notifications.idl (right): https://codereview.chromium.org/354733002/diff/20001/chrome/common/extensions/api/notifications.idl#newcode59 chrome/common/extensions/api/notifications.idl:59: ImageRepresentation[]? icons; I think having these names be plural ...
6 years, 5 months ago (2014-06-27 03:15:27 UTC) #1
dewittj
https://codereview.chromium.org/354733002/diff/20001/chrome/common/extensions/api/notifications.idl File chrome/common/extensions/api/notifications.idl (right): https://codereview.chromium.org/354733002/diff/20001/chrome/common/extensions/api/notifications.idl#newcode59 chrome/common/extensions/api/notifications.idl:59: ImageRepresentation[]? icons; On 2014/06/27 03:15:27, benwells wrote: > I ...
6 years, 5 months ago (2014-07-01 15:06:11 UTC) #2
benwells
(not doing a full review yet until the proposal thread has settled down a bit). ...
6 years, 5 months ago (2014-07-02 03:11:11 UTC) #3
dewittj
6 years, 4 months ago (2014-08-18 20:36:05 UTC) #4
maybe a codereview ping will work better than an apps-dev one?

Powered by Google App Engine
This is Rietveld 408576698