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

Issue 2107123002: Convert OSX Page Info Bubble to Material Design (Closed)

Created:
4 years, 5 months ago by lgarron
Modified:
4 years, 3 months ago
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, oshima+watch_chromium.org, palmer, raymes+watch_chromium.org, toyoshim+midi_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert OSX Page Info Bubble to Material Design BUG=512442, 525304 TEST= 1. google.com > click on the lock icon > "Secure connection" should show up in green 2. Visit https://permission.site, try granting and revoking permissions, then clicking on the lock icon to make sure changes reflected. 3. expired.badssl.com > see warning > Advanced > Proceed > click on the lock icon > Re-enable warnings > reload page > the warning should show up again. 4. mixed.badssl.com

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address comments. #

Total comments: 2

Patch Set 3 : Convert OSX Page Info Bubble to Material Design #

Patch Set 4 : Layout fixes. #

Total comments: 5

Patch Set 5 : Convert OSX Page Info Bubble to Material Design #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -195 lines) Patch
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h View 1 2 3 chunks +16 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm View 1 2 3 30 chunks +196 lines, -188 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
lgarron
rsesek@, would you mind doing an initial review? See https://bugs.chromium.org/p/chromium/issues/detail?id=512442#c33 for screenshots. Strings are not ...
4 years, 5 months ago (2016-06-29 09:28:14 UTC) #3
Robert Sesek
Overall looks pretty good. https://codereview.chromium.org/2107123002/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/2107123002/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm#newcode685 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm:685: [securitySummaryField_ setTextColor:ColorWithRGBBytes(0x0B, 0x80, 0x43)]; Are ...
4 years, 5 months ago (2016-06-29 18:22:07 UTC) #7
lgarron
felt@, I will need to add the SkColor handling rsesek@ suggested, but could you review ...
4 years, 5 months ago (2016-06-29 20:04:41 UTC) #9
Robert Sesek
https://codereview.chromium.org/2107123002/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/2107123002/diff/1/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm#newcode685 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm:685: [securitySummaryField_ setTextColor:ColorWithRGBBytes(0x0B, 0x80, 0x43)]; On 2016/06/29 20:04:41, lgarron wrote: ...
4 years, 5 months ago (2016-06-29 20:15:02 UTC) #10
felt
Did you already optimize the pngs? I think this is the script for it: https://cs.chromium.org/chromium/src/tools/resources/optimize-png-files.sh
4 years, 5 months ago (2016-06-30 05:27:00 UTC) #11
felt
On 2016/06/30 05:27:00, felt wrote: > Did you already optimize the pngs? I think this ...
4 years, 5 months ago (2016-06-30 05:28:21 UTC) #12
felt
https://codereview.chromium.org/2107123002/diff/1/chrome/browser/ui/website_settings/website_settings_ui.cc File chrome/browser/ui/website_settings/website_settings_ui.cc (right): https://codereview.chromium.org/2107123002/diff/1/chrome/browser/ui/website_settings/website_settings_ui.cc#newcode128 chrome/browser/ui/website_settings/website_settings_ui.cc:128: security_description->summary_style = summary_style; I'm a little confused, where is ...
4 years, 5 months ago (2016-06-30 05:39:24 UTC) #13
lgarron
Latest patch addresses nits, but there will probably be string changes, and possible be website_settings_ui.{h, ...
4 years, 5 months ago (2016-07-08 17:47:08 UTC) #15
felt
the changes to chrome/browser/ui/website_settings/ look good now, but hesitant to give stamp if there are ...
4 years, 5 months ago (2016-07-11 18:47:57 UTC) #16
felt
https://codereview.chromium.org/2107123002/diff/40001/chrome/browser/ui/website_settings/website_settings_ui.h File chrome/browser/ui/website_settings/website_settings_ui.h (right): https://codereview.chromium.org/2107123002/diff/40001/chrome/browser/ui/website_settings/website_settings_ui.h#newcode122 chrome/browser/ui/website_settings/website_settings_ui.h:122: // Deprecated method go get just the summary from ...
4 years, 5 months ago (2016-07-11 18:48:55 UTC) #17
felt
On 2016/07/11 18:47:57, felt wrote: > the changes to chrome/browser/ui/website_settings/ look good now, but hesitant ...
4 years, 5 months ago (2016-07-19 00:25:45 UTC) #18
felt
On 2016/07/11 18:47:57, felt wrote: > the changes to chrome/browser/ui/website_settings/ look good now, but hesitant ...
4 years, 5 months ago (2016-07-19 00:25:45 UTC) #19
lgarron
rsesek@, could you review forrealz? See https://bugs.chromium.org/p/chromium/issues/detail?id=512442#c57 for screenshots and latest tweak reasons. https://codereview.chromium.org/2107123002/diff/40001/chrome/browser/ui/website_settings/website_settings_ui.h File ...
4 years, 4 months ago (2016-08-23 18:09:03 UTC) #20
lgarron
avi@, could you take a look? :-D
4 years, 4 months ago (2016-08-23 19:07:45 UTC) #22
Avi (use Gerrit)
https://codereview.chromium.org/2107123002/diff/80001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h File chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h (right): https://codereview.chromium.org/2107123002/diff/80001/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h#newcode55 chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h:55: // This field only shows when there is an ...
4 years, 4 months ago (2016-08-24 04:02:41 UTC) #23
lgarron
FYI, I'm going to split this CL in half (security section update vs. site settings ...
4 years, 3 months ago (2016-08-26 23:27:04 UTC) #25
lgarron
4 years, 3 months ago (2016-09-01 20:15:19 UTC) #26
Message was sent while issue was closed.
On 2016/08/26 at 23:27:04, lgarron wrote:
> FYI, I'm going to split this CL in half (security section update vs. site
settings section update). Still teasing apart the two halves, though.
> 
>
https://codereview.chromium.org/2107123002/diff/80001/chrome/browser/ui/cocoa...
> File
chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
(right):
> 
>
https://codereview.chromium.org/2107123002/diff/80001/chrome/browser/ui/cocoa...
>
chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h:55:
// This field only shows when there is an acrive certificate exception.
> On 2016/08/24 at 04:02:41, Avi wrote:
> > active
> 
> Whoops, it seems I accidentally uploaded the latest patch to a new CL instead
of this one. All three comments should be addressed in patch #5; thanks for
noticing!
> 
>
https://codereview.chromium.org/2107123002/diff/80001/chrome/browser/ui/cocoa...
> File
chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
(right):
> 
>
https://codereview.chromium.org/2107123002/diff/80001/chrome/browser/ui/cocoa...
>
chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm:968:
// position.x += BYEkPermissionPopUpXSpacing; // TODO
> On 2016/08/24 at 04:02:41, Avi wrote:
> > :( Can you not commit commented-out code?
> 
> I most certainly can! I mean, uh, can not. Am able not to.
> 
> (This is probably an accidental outcome of a refactor. I've removed it.)

Split into three parts:

https://crrev.com/2283753003 Material page info (Mac, 1/3): Update section
padding variables.
https://crrev.com/2285683003 Material Page Info (Mac, 2/3): Update security
section.
https://crrev.com/2298963002 Material Page Info (Mac, 3/3): Update site settings
section.

Powered by Google App Engine
This is Rietveld 408576698