commit | 770a3435cc0067fd11ce66fe6ed946b85be6dc1e | [log] [tgz] |
---|---|---|
author | David Black <dmblack@google.com> | Thu Mar 21 19:18:09 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 21 19:18:09 2019 |
tree | 1dd287fb565a5a991f6bfe8103142d47a4afa77a | |
parent | 74e3d09e3c9b316dacc69f99b3bcdffdde9e7469 [diff] |
Adds source to Assistant URLs. Assistant Reminders, Settings, etc. needs to be able to distinguish between being loaded in the browser and being embedded in Assistant UI. They need this information to fork behavior and UI treatments, such as deep links that should only be provided if embedded UI or top bars that should only be shown if in the browser. To indicate that we are in an embedded state, we will use a URL parameter: |source|. Note that we will default |source| to Assistant, and can support parameterizing this value later if need be. Bug: b:128863104 Change-Id: Ia76a53a5c68352313a0015154f5793fad0e8c9cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1529918 Commit-Queue: David Black <dmblack@google.com> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#643058}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .