commit | 709b4c5a253144a3a1cc0327645485cb04c79cbf | [log] [tgz] |
---|---|---|
author | Jeff Fisher <jeffish@microsoft.com> | Mon Jul 29 20:07:34 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 29 20:07:34 2019 |
tree | 8c630216ed92973044fe839b382adbe194c2ab14 | |
parent | bca0e8962961a2d49501ccfd9deca4d60e9cc68b [diff] |
Reland: Prepopulate find with selection Currently, the find box only considers its own history when opening, but sometimes the user has selected a term on the page and wishes to search for additional instances (especially when looking at source code.) To expedite this (and prevent needing to use the clipboard), this change considers the active text selection (if any) when the find widget is invoked. Improvements/changes since last land: * Text is selected in the find text box when opened. * Ctrl+G ignores selection (won't update.) * User modification of text box keeps selection from winning. Bug: 935157, 980637 Change-Id: I2479502fc7c56985a9d3bdb3ad9624ff3d7ff007 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688166 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Jeff Fisher <jeffish@microsoft.com> Cr-Commit-Position: refs/heads/master@{#681944}
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 .