[Autofill Assistant] Extract touchable area from AssistantOverlayState.

This CLs split the AssistantOverlayState into a enum (HIDDEN, FULL or
PARTIAL) and a touchable area (list of rectangles, only valid in PARTIAL
state). This allows updating the touchable area without modifying the
state.

Before this change, scrolling and zooming was available in states that
need full overlay mode, such as while running scripts, so users could
break scripts by scrolling at an unexpected time.

With this change, scrolling and zooming is only available when in the
PROMPT state.

Change-Id: Ie25432d0a2a9d1b063067d84cc5599b1a6c20cd3
Reviewed-on: https://chromium-review.googlesource.com/c/1442714
Commit-Queue: Jordan Demeulenaere <jdemeulenaere@chromium.org>
Reviewed-by: Stephane Zermatten <szermatt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628717}
17 files changed