tree: 9e71d231e2c29120d4706bf99d1e9809331a6bea [path history] [tgz]
  1. BUILD.gn
  2. chrome_webloc_file.h
  3. chrome_webloc_file.mm
  4. chrome_webloc_file_unittest.mm
  5. create_shortcut_for_current_web_contents_task.cc
  6. create_shortcut_for_current_web_contents_task.h
  7. DIR_METADATA
  8. document_icon_fetcher_browsertest.cc
  9. document_icon_fetcher_task.cc
  10. document_icon_fetcher_task.h
  11. fake_linux_xdg_wrapper.cc
  12. fake_linux_xdg_wrapper.h
  13. icon_badging.cc
  14. icon_badging.h
  15. icon_badging_unittest.cc
  16. image_test_utils.cc
  17. image_test_utils.h
  18. linux_xdg_wrapper.h
  19. linux_xdg_wrapper_impl.cc
  20. linux_xdg_wrapper_impl.h
  21. OWNERS
  22. platform_util_mac.h
  23. platform_util_mac.mm
  24. platform_util_mac_unittest.mm
  25. platform_util_win.cc
  26. platform_util_win.h
  27. README.md
  28. shortcut_creation_browsertest.cc
  29. shortcut_creation_test_support.h
  30. shortcut_creation_test_support_linux.cc
  31. shortcut_creation_test_support_linux.h
  32. shortcut_creation_test_support_linux_unittest.cc
  33. shortcut_creation_test_support_mac.mm
  34. shortcut_creation_test_support_win.cc
  35. shortcut_creator.cc
  36. shortcut_creator.h
  37. shortcut_creator_linux.cc
  38. shortcut_creator_linux.h
  39. shortcut_creator_linux_unittest.cc
  40. shortcut_creator_mac.mm
  41. shortcut_creator_mac_unittest.mm
  42. shortcut_creator_win.cc
  43. shortcut_creator_win_unittest.cc
  44. shortcut_icon_generator.cc
  45. shortcut_icon_generator.h
  46. shortcut_icon_generator_unittest.cc
  47. shortcut_launch_browsertest.cc
chrome/browser/shortcuts/README.md

Shortcuts

This folder implements the logic behind the Create Shortcut flow that is seen in the three dot menu in Chrome. This folder contains:

  • Core business logic behind downloading metadata from a site required to create a shortcut and icon manipulation techniques to badge icons.
  • Platform-specific implementations to integrate these shortcuts in the respective operating systems it is triggered on as well as ensuring that they work on Chrome. This is not used on ChromeOS.