diff options
author | jdduke <jdduke@chromium.org> | 2014-09-09 19:43:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-10 02:46:27 +0000 |
commit | 6a4d1490ab6b5146a3dedd469d49a52045ce9194 (patch) | |
tree | b619d8502eb0ad75d2129f3897c56a3900841649 /chrome/browser/chromeos/chrome_browser_main_chromeos.cc | |
parent | 1c5668ece2d095df3f33d0fe8c63a5fce45d3573 (diff) | |
download | chromium_src-6a4d1490ab6b5146a3dedd469d49a52045ce9194.zip chromium_src-6a4d1490ab6b5146a3dedd469d49a52045ce9194.tar.gz chromium_src-6a4d1490ab6b5146a3dedd469d49a52045ce9194.tar.bz2 |
[Android] Preserve selection on hide/detach
Previously, the selection was cleared and the handles dismissed if
Chrome was backgrounded (via home or task switcher buttons) or the
screen was locked. This breaks any kind of multitasking with an
active selection. Instead, in such cases preserve the selection,
hiding the action bar and restoring as necessary when the view is
reattached or is reshown.
Also expose a programmatic way for preserving the selection when the
view loses focus, which is typically undesirable (tapping omnibox or
switching tabs), but not always.
BUG=406925
Review URL: https://codereview.chromium.org/516523003
Cr-Commit-Position: refs/heads/master@{#294082}
Diffstat (limited to 'chrome/browser/chromeos/chrome_browser_main_chromeos.cc')
0 files changed, 0 insertions, 0 deletions