Link capturing: Add new default link capturing behavior for ARC apps

This CL changes the behavior (behind a flag) of ARC apps so that they do
not capture links clicked in the browser by default. This works by
ignoring certain link capturing updates from the ARC side, deliberately
allowing the ARC-side preference and the Ash-side preference to diverge.
Any changes made to the preference on either side will still take effect
and will put the two settings back in sync.

Change-Id: I7d525cfdad721c15747c3ff920f9564f11eec510
Bug: 1269526
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3291111
Commit-Queue: Tim Sergeant <tsergeant@chromium.org>
Auto-Submit: Tim Sergeant <tsergeant@chromium.org>
Reviewed-by: Yuichiro Hanada <yhanada@chromium.org>
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Reviewed-by: Maggie Cai <mxcai@chromium.org>
Cr-Commit-Position: refs/heads/main@{#945159}
NOKEYCHECK=True
GitOrigin-RevId: b9a2bc20db97a2b55c6862a8e074057ddbe3abe1
1 file changed
tree: 41f8755bd4709122a74186809a74b943269fa2fa
  1. accessibility_helper.mojom
  2. adbd.mojom
  3. anr.mojom
  4. app.mojom
  5. app_mojom_traits.h
  6. app_permissions.mojom
  7. appfuse.mojom
  8. arc_bridge.mojom
  9. arc_gfx_mojom_traits.cc
  10. arc_gfx_mojom_traits.h
  11. ARC_SECURITY_OWNERS
  12. audio.mojom
  13. auth.mojom
  14. backup_settings.mojom
  15. bitmap.mojom
  16. bluetooth.mojom
  17. boot_phase_monitor.mojom
  18. BUILD.gn
  19. camera.mojom
  20. camera_intent.mojom
  21. cast_receiver.mojom
  22. cert_store.mojom
  23. clipboard.mojom
  24. compatibility_mode.mojom
  25. crash_collector.mojom
  26. dark_theme.mojom
  27. digital_goods.mojom
  28. disk_quota.mojom
  29. enterprise_reporting.mojom
  30. file_system.mojom
  31. gfx.mojom
  32. iio_sensor.mojom
  33. ime.mojom
  34. ime_mojom_traits.cc
  35. ime_mojom_traits.h
  36. ime_mojom_traits_unittest.cc
  37. input_method_manager.mojom
  38. intent_common.mojom
  39. intent_helper.mojom
  40. keyboard_shortcut.mojom
  41. keymaster.mojom
  42. kiosk.mojom
  43. lock_screen.mojom
  44. media_session.mojom
  45. memory.mojom
  46. metrics.mojom
  47. midis.mojom
  48. nearby_share.mojom
  49. net.mojom
  50. notifications.mojom
  51. obb_mounter.mojom
  52. oemcrypto.mojom
  53. OWNERS
  54. payment_app.mojom
  55. pip.mojom
  56. policy.mojom
  57. power.mojom
  58. print_common.mojom
  59. print_mojom_traits.cc
  60. print_mojom_traits.h
  61. print_spooler.mojom
  62. process.mojom
  63. property.mojom
  64. protected_buffer_manager.mojom
  65. rotation_lock.mojom
  66. scale_factor.mojom
  67. screen_capture.mojom
  68. sensor.mojom
  69. sensor_service.mojom
  70. sharesheet.mojom
  71. storage_manager.mojom
  72. timer.mojom
  73. tracing.mojom
  74. tts.mojom
  75. usb_host.mojom
  76. video.mojom
  77. video_accelerator_mojom_traits.cc
  78. video_accelerator_mojom_traits.h
  79. video_accelerator_mojom_traits_unittest.cc
  80. video_common.mojom
  81. video_decode_accelerator.mojom
  82. video_encode_accelerator.mojom
  83. video_encode_accelerator_mojom_traits.cc
  84. video_encode_accelerator_mojom_traits.h
  85. video_protected_buffer_allocator.mojom
  86. volume_mounter.mojom
  87. wake_lock.mojom
  88. wallpaper.mojom
  89. webapk.mojom