[Android] Implement app-wise direct share and share function in Browser Action menu.
This CL implements the app-wise direct share which different source apps
have different caches for their share options in Browser Actions. Chrome
also has its own share cache. It also implements the share and direct
share functions of Browser Actions context menu.
BUG=719080
Review-Url: https://codereview.chromium.org/2903563003
Cr-Commit-Position: refs/heads/master@{#482074}
diff --git a/chrome/android/java_sources.gni b/chrome/android/java_sources.gni
index 5cb4918..d2cf17f4 100644
--- a/chrome/android/java_sources.gni
+++ b/chrome/android/java_sources.gni
@@ -232,6 +232,7 @@
"java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuPagerAdapter.java",
"java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuViewPager.java",
"java/src/org/chromium/chrome/browser/contextmenu/PlatformContextMenuUi.java",
+ "java/src/org/chromium/chrome/browser/contextmenu/ShareContextMenuItem.java",
"java/src/org/chromium/chrome/browser/contextualsearch/BarOverlapTapSuppression.java",
"java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchContext.java",
"java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchFieldTrial.java",