-
donnd authored
Refactor Contextual Search to use a Java Context linked to the native Context we've had for a while. Update the native context have only private data members. Also fix some minor bugs regarding the panel not updating when a retap is done, and expanding the selection when it's been changed. Additional refactoring includes changing the API to the native Contextual Search Manager to have StartSearchTermResolutionRequest not automatically gather surrounding text -- that call must now be done separately. Also use WebContents instead of ContentViewCore, and some other cleanup. BUG=692824,699305,693297 Review-Url: https://codereview.chromium.org/2706333002 Cr-Commit-Position: refs/heads/master@{#456087}
4740983c