[Contextual Search] Trigger translation on long-press.
Adds translation one-box triggering when the user selects using long-press. This currently requires server-side auto-detection of the source language, but it should not over-trigger due to a feature of the one-box (suppressed when the source and target text ends up matching). Adds a separate flag to control disabling this feature, currently default-enabled. BUG=413717 Review URL: https://codereview.chromium.org/1463583004 Cr-Commit-Position: refs/heads/master@{#361231}
Showing
Please register or sign in to comment