tree: f5caf907be3cd76f151e57a7a720207540a9a934 [path history] [tgz]
  1. features/
  2. BUILD.gn
  3. caption_style.cc
  4. caption_style.h
  5. caption_style_mac.mm
  6. caption_style_win.cc
  7. caption_style_win_unittest.cc
  8. DEPS
  9. mock_os_settings_provider.cc
  10. mock_os_settings_provider.h
  11. native_theme.cc
  12. native_theme.h
  13. native_theme_aura.cc
  14. native_theme_aura.h
  15. native_theme_base.cc
  16. native_theme_base.h
  17. native_theme_base_unittest.cc
  18. native_theme_fluent.cc
  19. native_theme_fluent.h
  20. native_theme_fluent_unittest.cc
  21. native_theme_mac.h
  22. native_theme_mac.mm
  23. native_theme_mac_unittest.mm
  24. native_theme_mobile.cc
  25. native_theme_mobile.h
  26. native_theme_observer.cc
  27. native_theme_observer.h
  28. native_theme_unittest.cc
  29. native_theme_win.cc
  30. native_theme_win.h
  31. os_settings_provider.cc
  32. os_settings_provider.h
  33. os_settings_provider_android.cc
  34. os_settings_provider_android.h
  35. os_settings_provider_ash.cc
  36. os_settings_provider_ash.h
  37. os_settings_provider_mac.h
  38. os_settings_provider_mac.mm
  39. os_settings_provider_unittest.cc
  40. os_settings_provider_win.cc
  41. os_settings_provider_win.h
  42. overlay_scrollbar_constants.cc
  43. overlay_scrollbar_constants.h
  44. OWNERS
  45. README.md
  46. scrollbar_animator_mac.cc
  47. scrollbar_animator_mac.h
  48. scrollbar_animator_mac_unittest.cc
ui/native_theme/README.md

Native Theme Rendering for UI

This directory contains source needed to draw UI elements in a native fashion, either by actually calling native APIs or by emulating/reimplementing native behavior. The primary class is NativeTheme, which provides a cross-platform API for things like “is the system in dark mode” and “how do I draw/color various bits of UI”.