0

ui: make a couple of TODOs into bug links

Bug: None
Change-Id: I51f1fa9bce8eb0fe1e5245756e6ed4f1b147c69c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3101330
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#913100}
This commit is contained in:
Elly Fong-Jones
2021-08-18 19:16:05 +00:00
committed by Chromium LUCI CQ
parent 7d31934c61
commit 005ac407a6
2 changed files with 2 additions and 4 deletions
ui/base/cocoa/controls

@ -14,8 +14,7 @@ COMPONENT_EXPORT(UI_BASE)
// These methods are a polyfill for convenience constructors that exist on
// NSButton in macOS 10.12+.
// TODO(ellyjones): once we target only 10.12+, delete these and migrate callers
// over to NSButton directly.
// TODO(https://crbug.com/1241080): once we target only 10.12+, delete these.
+ (NSButton*)buttonWithTitle:(NSString*)title
action:(SEL)action
target:(id)target;

@ -13,8 +13,7 @@ COMPONENT_EXPORT(UI_BASE)
@interface TextFieldUtils : NSObject
// This method is a polyfill for a method on NSTextField on macOS 10.12+.
// TODO(ellyjones): Once we target only 10.12+, delete this and convert uses
// over to NSTextField.
// TODO(https://crbug.com/1241080): Once we only support 10.12+, delete this.
+ (NSTextField*)labelWithString:(NSString*)text;
@end