|
|
Chromium Code Reviews|
Created:
3 years, 10 months ago by vasilii Modified:
3 years, 9 months ago CC:
chromium-reviews, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, mathp+autofillwatch_chromium.org, mac-reviews_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUse (i) icon and the same tooltip for the credit cards dialog and account chooser on Mac.
BUG=690920
Review-Url: https://codereview.chromium.org/2703253007
Cr-Commit-Position: refs/heads/master@{#453972}
Committed: https://chromium.googlesource.com/chromium/src/+/64229f842420145f8cc6ba4c35298f45b27d282d
Patch Set 1 #
Total comments: 15
Patch Set 2 : comments #Patch Set 3 : rebase #Messages
Total messages: 71 (20 generated)
The CQ bit was checked by vasilii@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
vasilii@chromium.org changed reviewers: + estade@chromium.org, groby@chromium.org
estade@chromium.org: Please review changes in autofill_scaled_resources.grdp groby@chromium.org: Please review everything
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... File chrome/browser/ui/cocoa/passwords/credential_item_button.h (right): https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.h:27: - (NSView*)enableIcon:(NSString*)tooltip; Shouldn't this be called something like "addInfoIcon:"? It's modifying the dialog, not just enabling something. https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... File chrome/browser/ui/cocoa/passwords/credential_item_button.mm (right): https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.mm:136: iconController_.reset([[AutofillTooltipController alloc] Is this supposed to be called multiple times? If not, could you DCHECK |iconController_|? https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.mm:142: [self addSubview:[iconController_ view]]; This means self already takes ownership - do you really need a member variable to keep a reference? https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... File components/resources/autofill_scaled_resources.grdp (right): https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... components/resources/autofill_scaled_resources.grdp:40: <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file="autofill/autofill_tooltip_icon.png" /> Any chance to make this an SVG resource?
nsphu.cnht@gmail.com changed reviewers: + nsphu.cnht@gmail.com
lgtm
lgtm
lgtm lgtm
lgtm lgtm
lgtm
lgtm lgtm
lgtm lgtm
lgtm
lgtm lgtm
lgtm lgtm
lgtm lgtm
lgtm
lgtm
lgtm lgtm
lgtm lgtm lgtm
lgtm lgtm lgtm
lgtm lgtm lgtm
lgtm lgtm lgtm
lgtm lgtm lgtm lgtm
lgtm lgtm lgtm lgtm
lgtm
lgtm lgtm
lgtm lgtm lgtm
lgtm lgtm lgtm lgtm
lgtm lgtm lgtm lgtm lgtm
lgtm lgtm lgtm lgtm lgtm lgtm
lgtm lgtm lgtm lgtm lgtm lgtm lgtm
lgtm lgtm lgtm lgtm lgtm lgtm lgtm
lgtm lgtm lgtm lgtm lgtm lgtm lgtm
On 2017/02/21 13:38:36, vasilii wrote: > The CQ bit was checked by mailto:vasilii@chromium.org to run a CQ dry run
On 2017/02/24 14:05:45, nsphu.cnht wrote: > On 2017/02/21 13:38:36, vasilii wrote: > > The CQ bit was checked by mailto:vasilii@chromium.org to run a CQ dry run
On 2017/02/24 14:22:17, nsphu.cnht wrote: > On 2017/02/24 14:05:45, nsphu.cnht wrote: > > On 2017/02/21 13:38:36, vasilii wrote: > > > The CQ bit was checked by mailto:vasilii@chromium.org to run a CQ dry run 690920
On 2017/02/24 14:28:31, nsphu.cnht wrote: > On 2017/02/24 14:22:17, nsphu.cnht wrote: > > On 2017/02/24 14:05:45, nsphu.cnht wrote: > > > On 2017/02/21 13:38:36, vasilii wrote: > > > > The CQ bit was checked by mailto:vasilii@chromium.org to run a CQ dry run > > 690920
On 2017/02/24 14:05:45, nsphu.cnht wrote: > On 2017/02/21 13:38:36, vasilii wrote: > > The CQ bit was checked by mailto:vasilii@chromium.org to run a CQ dry run
On 2017/02/24 14:56:31, nsphu.cnht wrote: > On 2017/02/24 14:05:45, nsphu.cnht wrote: > > On 2017/02/21 13:38:36, vasilii wrote: > > > The CQ bit was checked by mailto:vasilii@chromium.org to run a CQ dry run
lgtm https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... File chrome/browser/ui/cocoa/passwords/credential_item_button.h (right): https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.h:27: - (NSView*)enableIcon:(NSString*)tooltip; On 2017/02/23 00:22:49, groby wrote: > Shouldn't this be called something like "addInfoIcon:"? It's modifying the > dialog, not just enabling something. Done. https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... File chrome/browser/ui/cocoa/passwords/credential_item_button.mm (right): https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.mm:136: iconController_.reset([[AutofillTooltipController alloc] On 2017/02/23 00:22:49, groby wrote: > Is this supposed to be called multiple times? If not, could you DCHECK > |iconController_|? https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.mm:142: [self addSubview:[iconController_ view]]; On 2017/02/23 00:22:49, groby wrote: > This means self already takes ownership - do you really need a member variable > to keep a reference? Acknowledged. https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.mm:142: [self addSubview:[iconController_ view]]; On 2017/02/23 00:22:49, groby wrote: > This means self already takes ownership - do you really need a member variable > to keep a reference? Done. https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... File components/resources/autofill_scaled_resources.grdp (right): https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... components/resources/autofill_scaled_resources.grdp:40: <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file="autofill/autofill_tooltip_icon.png" /> On 2017/02/23 00:22:49, groby wrote: > Any chance to make this an SVG resource? Acknowledged. https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... components/resources/autofill_scaled_resources.grdp:40: <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file="autofill/autofill_tooltip_icon.png" /> On 2017/02/23 00:22:49, groby wrote: > Any chance to make this an SVG resource? Acknowledged. https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... components/resources/autofill_scaled_resources.grdp:40: <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file="autofill/autofill_tooltip_icon.png" /> On 2017/02/23 00:22:49, groby wrote: > Any chance to make this an SVG resource? >690920 Done.
690920
The CQ bit was checked by vasilii@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
vasilii@chromium.org changed reviewers: - nsphu.cnht@gmail.com
https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... File chrome/browser/ui/cocoa/passwords/credential_item_button.h (right): https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.h:27: - (NSView*)enableIcon:(NSString*)tooltip; On 2017/02/23 00:22:49, groby wrote: > Shouldn't this be called something like "addInfoIcon:"? It's modifying the > dialog, not just enabling something. Done. https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... File chrome/browser/ui/cocoa/passwords/credential_item_button.mm (right): https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.mm:136: iconController_.reset([[AutofillTooltipController alloc] On 2017/02/23 00:22:49, groby wrote: > Is this supposed to be called multiple times? If not, could you DCHECK > |iconController_|? Done. https://codereview.chromium.org/2703253007/diff/1/chrome/browser/ui/cocoa/pas... chrome/browser/ui/cocoa/passwords/credential_item_button.mm:142: [self addSubview:[iconController_ view]]; On 2017/02/23 00:22:49, groby wrote: > This means self already takes ownership - do you really need a member variable > to keep a reference? But I own the controller. If I understand correctly the view doesn't hold a string reference to its controller but the other way around. https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... File components/resources/autofill_scaled_resources.grdp (right): https://codereview.chromium.org/2703253007/diff/1/components/resources/autofi... components/resources/autofill_scaled_resources.grdp:40: <structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file="autofill/autofill_tooltip_icon.png" /> On 2017/02/23 00:22:49, groby wrote: > Any chance to make this an SVG resource? Currently vector_icons/ isn't compiled on iOS. Thus, not in this CL. In general I can ask the Bling folks if you want.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The comments are addressed. Ignore the spammer.
On 2017/02/27 11:59:36, vasilii wrote: > The comments are addressed. Ignore the spammer. grdp file lgtm
Rachel?
vasilii@chromium.org changed reviewers: + avi@chromium.org
Hi Avi, could you review?
LGTM
The CQ bit was checked by vasilii@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nsphu.cnht@gmail.com Link to the patchset: https://codereview.chromium.org/2703253007/#ps20001 (title: "comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
nsphu.cnht@gmail.com changed reviewers: + nsphu.cnht@gmail.com
lgtm
The CQ bit was checked by vasilii@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from avi@chromium.org, nsphu.cnht@gmail.com, estade@chromium.org Link to the patchset: https://codereview.chromium.org/2703253007/#ps40001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1488389544269320,
"parent_rev": "e4115eb7314d12ffa24ae0be0d192f2712693cf0", "commit_rev":
"64229f842420145f8cc6ba4c35298f45b27d282d"}
Message was sent while issue was closed.
Description was changed from ========== Use (i) icon and the same tooltip for the credit cards dialog and account chooser on Mac. BUG=690920 ========== to ========== Use (i) icon and the same tooltip for the credit cards dialog and account chooser on Mac. BUG=690920 Review-Url: https://codereview.chromium.org/2703253007 Cr-Commit-Position: refs/heads/master@{#453972} Committed: https://chromium.googlesource.com/chromium/src/+/64229f842420145f8cc6ba4c3529... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/64229f842420145f8cc6ba4c3529... |
