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

Issue 11417082: [Mac] Website settings: Enlarge window when permission strings are too long. (Closed)

Created:
8 years, 1 month ago by Patrick Dubroy
Modified:
8 years ago
Reviewers:
Robert Sesek, sail
CC:
chromium-reviews, sail+watch_chromium.org
Visibility:
Public.

Description

[Mac] Website settings: Enlarge window when permission strings are too long. The website settings window was using a fixed width. This was fine for most text since it would wrap, but the permissions can't wrap, so the window should be made wide enough to fit the largest permission string. BUG=159156 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=169678

Patch Set 1 #

Patch Set 2 : Fix arg fetching wrong string. #

Patch Set 3 : Add unit test. #

Total comments: 4

Patch Set 4 : Address rsesek's comments. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -122 lines) Patch
M chrome/browser/ui/cocoa/website_settings_bubble_controller.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/website_settings_bubble_controller.mm View 1 2 3 4 27 chunks +107 lines, -53 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings_bubble_controller_unittest.mm View 1 2 3 4 6 chunks +116 lines, -68 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Patrick Dubroy
Hi Robert, please take a look. We probably want to merge this to stable, so ...
8 years, 1 month ago (2012-11-20 14:45:21 UTC) #1
sail
(Drive by review. This CL needs a regression test.)
8 years, 1 month ago (2012-11-20 15:51:44 UTC) #2
Patrick Dubroy
Added a unit test.
8 years, 1 month ago (2012-11-23 15:50:49 UTC) #3
Robert Sesek
LGTM https://codereview.chromium.org/11417082/diff/3001/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings_bubble_controller.mm (right): https://codereview.chromium.org/11417082/diff/3001/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm#newcode292 chrome/browser/ui/cocoa/website_settings_bubble_controller.mm:292: // Return the default width of the window. ...
8 years ago (2012-11-26 17:06:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/11417082/10001
8 years ago (2012-11-27 10:50:40 UTC) #5
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/cocoa/website_settings_bubble_controller_unittest.mm: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-11-27 10:50:42 UTC) #6
Patrick Dubroy
https://codereview.chromium.org/11417082/diff/3001/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm File chrome/browser/ui/cocoa/website_settings_bubble_controller.mm (right): https://codereview.chromium.org/11417082/diff/3001/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm#newcode292 chrome/browser/ui/cocoa/website_settings_bubble_controller.mm:292: // Return the default width of the window. It ...
8 years ago (2012-11-27 12:11:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/11417082/12001
8 years ago (2012-11-27 12:47:30 UTC) #8
commit-bot: I haz the power
8 years ago (2012-11-27 17:20:30 UTC) #9
Retried try job too often for step(s) content_browsertests

Powered by Google App Engine
This is Rietveld 408576698