fix: update traffic lights position for macOS 11 (#30263)

This commit is contained in:
Cheng Zhao 2021-07-27 01:22:21 +09:00 committed by GitHub
parent 385d0f590f
commit d2989de5d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

View file

@ -22,6 +22,8 @@
base::scoped_nsobject<NSTrackingArea> tracking_area_;
}
+ (gfx::Point)defaultMargin;
+ (gfx::Point)hiddenInsetMargin;
- (id)initWithMargin:(const absl::optional<gfx::Point>&)margin;
- (void)setMargin:(const absl::optional<gfx::Point>&)margin;
- (void)setShowOnHover:(BOOL)yes;