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

Issue 2861133003: Only resort to etl+1 when the full domain does not fit. (Closed)

Created:
3 years, 7 months ago by Miguel Garcia
Modified:
3 years, 7 months ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Only resort to etl+1 when the full domain does not fit. Mac native notifications have a somewhat constrained space for the origin Unlike chrome notifications it's harder to decide when to elide so instead we either show the full domain (if it fits in the very conservative limit we know works) or resort to etld+1 when it doesn't. BUG=717725 Review-Url: https://codereview.chromium.org/2861133003 Cr-Commit-Position: refs/heads/master@{#469953} Committed: https://chromium.googlesource.com/chromium/src/+/8c70962f2be02fc57fc5bea12c7f7052605709ce

Patch Set 1 #

Total comments: 20

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -19 lines) Patch
M chrome/browser/notifications/notification_platform_bridge_mac.mm View 1 2 chunks +37 lines, -10 lines 0 comments Download
M chrome/browser/notifications/notification_platform_bridge_mac_unittest.mm View 1 1 chunk +15 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Miguel Garcia
3 years, 7 months ago (2017-05-05 14:47:40 UTC) #4
Peter Beverloo
lgtm https://codereview.chromium.org/2861133003/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://codereview.chromium.org/2861133003/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode136 chrome/browser/notifications/notification_platform_bridge_mac.mm:136: // OSX notifications don't provide a good way ...
3 years, 7 months ago (2017-05-05 14:55:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861133003/20001
3 years, 7 months ago (2017-05-08 10:19:08 UTC) #10
Miguel Garcia
https://codereview.chromium.org/2861133003/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://codereview.chromium.org/2861133003/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode136 chrome/browser/notifications/notification_platform_bridge_mac.mm:136: // OSX notifications don't provide a good way to ...
3 years, 7 months ago (2017-05-08 10:20:12 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 10:43:48 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/8c70962f2be02fc57fc5bea12c7f...

Powered by Google App Engine
This is Rietveld 408576698