tree: a03dc00f7c2ae9fc1dbe5adff92f523fa20b173f
  1. build.gni
  2. DIR_METADATA
  3. navigation_phase.h
  4. navigation_preposition.h
  5. navigation_state.cc
  6. navigation_state.h
  7. OWNERS
  8. README.md
  9. route.cc
  10. route.h
  11. route.idl
  12. route_event.h
  13. route_event.idl
  14. route_map.cc
  15. route_map.h
  16. route_map.idl
  17. route_map_test.cc
third_party/blink/renderer/core/route_matching/README.md

Route Matching

This directory contains code for matching URLs against a set of routes.

The code here is responsible for parsing a set of routing rules defined in a JSON format, storing them, and matching them against URLs.

Active routes can be matched against an @route CSS rule, allowing different styles to be applied based on the current route(s).

The active routes will be exposed through the navigator.routes JavaScript API (exact naming TBD).

Tracking bug: https://issues.chromium.org/issues/436805487