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

Issue 2706743002: MacViews/a11y: Disable most text-specific attributes for protected textfields. (Closed)

Created:
3 years, 10 months ago by Patti Lor
Modified:
3 years, 9 months ago
Reviewers:
tapted, dmazzoni
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mac-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews/a11y: Disable most text-specific attributes for protected textfields. Cocoa doesn't support these attributes in NSSecureTextfields, so match that with MacViews. BUG=692380 Review-Url: https://codereview.chromium.org/2706743002 Cr-Commit-Position: refs/heads/master@{#453418} Committed: https://chromium.googlesource.com/chromium/src/+/54b3acd0692e87dc4d33aa2ffb66ae7697a16f79

Patch Set 1 #

Patch Set 2 : Return nil for attributes. #

Total comments: 4

Patch Set 3 : Review comments. #

Patch Set 4 : Make SCOPED_TRACE work. #

Patch Set 5 : Fix string problems. #

Total comments: 6

Patch Set 6 : Review comments. #

Total comments: 4

Patch Set 7 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -12 lines) Patch
M base/mac/sdk_forward_declarations.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 2 3 4 5 6 5 chunks +34 lines, -10 lines 0 comments Download
M ui/views/widget/native_widget_mac_accessibility_unittest.mm View 1 2 3 4 5 2 chunks +59 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (44 generated)
Patti Lor
PTAL, thanks!
3 years, 10 months ago (2017-02-21 04:19:09 UTC) #10
tapted
Is it possible to test? It's worth considering doing something similar to what's done in ...
3 years, 10 months ago (2017-02-21 04:28:46 UTC) #11
Patti Lor
Hi Trent, PTAL. I had originally thought we could test View vs Cocoa by checking ...
3 years, 10 months ago (2017-02-23 04:24:18 UTC) #22
tapted
https://codereview.chromium.org/2706743002/diff/80001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2706743002/diff/80001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode422 ui/accessibility/platform/ax_platform_node_mac.mm:422: else if (node_->GetData().HasStateFlag(ui::AX_STATE_PROTECTED)) nit: no else after return, also ...
3 years, 10 months ago (2017-02-23 06:20:34 UTC) #23
Patti Lor
https://codereview.chromium.org/2706743002/diff/80001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2706743002/diff/80001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode422 ui/accessibility/platform/ax_platform_node_mac.mm:422: else if (node_->GetData().HasStateFlag(ui::AX_STATE_PROTECTED)) On 2017/02/23 06:20:34, tapted wrote: > ...
3 years, 10 months ago (2017-02-24 04:36:14 UTC) #36
tapted
lgtm https://codereview.chromium.org/2706743002/diff/140001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/2706743002/diff/140001/base/mac/sdk_forward_declarations.h#newcode160 base/mac/sdk_forward_declarations.h:160: @interface NSView (Yosemite_2_SDK) I think the guards say ...
3 years, 10 months ago (2017-02-24 05:23:42 UTC) #39
Patti Lor
Thanks for the review! https://codereview.chromium.org/2706743002/diff/140001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/2706743002/diff/140001/base/mac/sdk_forward_declarations.h#newcode160 base/mac/sdk_forward_declarations.h:160: @interface NSView (Yosemite_2_SDK) On 2017/02/24 ...
3 years, 9 months ago (2017-02-26 23:16:37 UTC) #44
Patti Lor
Hi dmazzoni, PTAL, thanks!
3 years, 9 months ago (2017-02-26 23:18:33 UTC) #49
dmazzoni
lgtm
3 years, 9 months ago (2017-02-27 20:00:50 UTC) #50
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/2706743002/160001
3 years, 9 months ago (2017-02-27 23:43:47 UTC) #52
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 00:40:38 UTC) #55
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/54b3acd0692e87dc4d33aa2ffb66...

Powered by Google App Engine
This is Rietveld 408576698