Add predefined items to Browser Actions fallback dialog

Add 3 predefined items to the Browser Actions fallback dialog includes:
1. Open in browser
2. Copy link
3. Share link: Android vanila text share, not Chrome customize share.

Also move the icons of custom items to align on the right and for
predefined items, no icon would shown.

Bug: 810971, 811575, 813926
Change-Id: I52ee0dfa9bb808cb5746889b9e10dff9aedcd6b9
Reviewed-on: https://chromium-review.googlesource.com/929593
Commit-Queue: Lei Tian <ltian@chromium.org>
Reviewed-by: Yusuf Ozuysal <yusufo@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
9 files changed
tree: 1ffbdcf75d86a3ca2b15676cb7c25d3ffacd8583
  1. Application/
  2. customtabs/
  3. demos/
  4. gradle/
  5. infra/
  6. shared/
  7. svgomg/
  8. .gitignore
  9. build.gradle
  10. codereview.settings
  11. CONTRIBUTING.md
  12. CREDITS
  13. gradlew
  14. gradlew.bat
  15. LICENSE
  16. OWNERS
  17. README.md
  18. settings.gradle
  19. Using.md
README.md

Chrome Custom Tabs - Examples and Documentation

Chrome Custom Tabs provides a way for an application to customize and interact with a Chrome Activity on Android. This makes the web content feel like being a part of the application, while retaining the full functionality and performance of a complete web browser.

Examples

Using Custom Tabs should be easy. This repository hosts examples and in-depth documentation. The examples are importable as projects into the Android Studio.

Bugs, Issues and Discussion

We want to hear your feedback! Please create bugs and start discussions using this template. Please use the template for any issues related to the Custom Tabs APIs, their implementation in Chrome, the examples in this repository, and related functionality of the Android Support Library.

Note: we know that the GitHub issue tracker is great! However, since Custom Tabs is mostly driven by Chrome developers, and we want to keep all bugs in one place, we prefer the Chromium issue tracker at the moment.

Contributing

We accept contributions to Custom Tabs examples and documentation. Please see our contributor's guide.