Add pre-macOS 10.15 support for the eye dropper.
This CL adds eye dropper support for pre-macOS 10.15 due to NSColorSampler not being supported. The pre-macOS 10.15 support is added by splitting the current aura specific implementation. Since the eye dropper can currently be opened from the color picker which is a popup[1], there is a need to add Mac specific support for: - moving the view to the front of the screen list within the popup level - event monitor since the popup had already installed one to be able to close when the user clicked outside of its bounds [1]: https://source.chromium.org/chromium/chromium/src/+/master:content/app_shim_remote_cocoa/popup_window_mac.mm Bug: 992297 Change-Id: I5de7b21845ef8a4e45243d257fa7a8a9af4a193f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2405302 Commit-Queue: Ionel Popescu <iopopesc@microsoft.com> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#806368}
Showing
This diff is collapsed.
Please register or sign in to comment