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

Issue 2471253003: Page Info (native Mac): truncate permission labels and add tooltip. (Closed)

Created:
4 years, 1 month ago by lgarron
Modified:
4 years, 1 month ago
Reviewers:
Robert Sesek, shrike
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Page Info (native Mac): truncate permission labels and add tooltip. BUG=654268 TEST=Try the following on Mac twice, once with Chrome set to German, once with it set to Hebrew (change this in `System Preferences.app` > `Language & Region` > Add to `Preferred languages:` and drag to top). 1) Visit google.com and click on the lock icon in the omnibox to open Page Info 2) Verify that the last permission (MIDI, with a keyboard icon) has a label is truncated using an ellipsis (note: Hebrew is an RTL language, so the ellipsis for it should be on the left) 3) Hover over the label, and check that it shows a full version of the truncated string. Committed: https://crrev.com/4d4e9096b9e299a1d910c2647c6328f30110b0c2 Cr-Commit-Position: refs/heads/master@{#429665}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm View 3 chunks +26 lines, -0 lines 3 comments Download

Messages

Total messages: 21 (8 generated)
lgarron
rsesek@, could you review? (Note: I'm being asked to merge this to M55, so it's ...
4 years, 1 month ago (2016-11-02 23:44:55 UTC) #2
Robert Sesek
https://codereview.chromium.org/2471253003/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm (right): https://codereview.chromium.org/2471253003/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm#newcode897 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm:897: [label setFrame:labelFrame]; These two lines are duplicated within the ...
4 years, 1 month ago (2016-11-03 00:04:31 UTC) #4
lgarron
https://codereview.chromium.org/2471253003/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm (right): https://codereview.chromium.org/2471253003/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm#newcode897 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm:897: [label setFrame:labelFrame]; On 2016/11/03 at 00:04:31, Robert Sesek wrote: ...
4 years, 1 month ago (2016-11-03 00:05:21 UTC) #5
lgarron
https://codereview.chromium.org/2471253003/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm (right): https://codereview.chromium.org/2471253003/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm#newcode897 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm:897: [label setFrame:labelFrame]; On 2016/11/03 at 00:05:21, lgarron wrote: > ...
4 years, 1 month ago (2016-11-03 00:15:00 UTC) #6
Robert Sesek
Oh hm I see. lgtm
4 years, 1 month ago (2016-11-03 00:15:50 UTC) #7
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/2471253003/1
4 years, 1 month ago (2016-11-03 00:31:52 UTC) #9
lgarron
shrike@, could you explicitly review? (See screenshots at https://bugs.chromium.org/p/chromium/issues/detail?id=654268#c27) In the interest of time, I ...
4 years, 1 month ago (2016-11-03 01:45:56 UTC) #12
shrike
Hello lgarron@, This solution is at least better than what's there now. My only question ...
4 years, 1 month ago (2016-11-03 18:31:11 UTC) #13
lgarron
I just verified; VoiceOver speaks the full text.
4 years, 1 month ago (2016-11-03 19:05:38 UTC) #14
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/2471253003/1
4 years, 1 month ago (2016-11-03 19:07:13 UTC) #16
shrike
Thank you for confirming.
4 years, 1 month ago (2016-11-03 19:13:31 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-03 19:14:44 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 19:16:36 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4d4e9096b9e299a1d910c2647c6328f30110b0c2
Cr-Commit-Position: refs/heads/master@{#429665}

Powered by Google App Engine
This is Rietveld 408576698