tree: 1522fcb35d2c3cce58297ed366c5237837d82a8f [path history] [tgz]
  1. BUILD.gn
  2. color_mixer.cc
  3. color_mixer.h
  4. DEPS
  5. DIR_METADATA
  6. eye_dropper_view.cc
  7. eye_dropper_view.h
  8. eye_dropper_view_aura.cc
  9. features.cc
  10. features.h
  11. OWNERS
  12. README.md
components/eye_dropper/README.md

Eye Dropper Component

Views implementation of JS EyeDropper for desktop OSes using Aura. The EyeDropper widget allows users to select any pixel on the screen.

Win, Linux X11, and ChromeoS Ash use this widget.

Mac uses a system NSColorSampler.

Linux Wayland is not supported since Wayland does not have support to detect the cursor position or to place the EyeDropper widget outside the browser window.

ChromeOS LaCrOS works around the Wayland restriction by using crosapi for Ash to display this widget.