Disable moving the omnibox if a floating action bar is being used.
commit4cfc36edc3015a3272fc5c4e2b791913f308e125
authortedchoc <tedchoc@chromium.org>
Mon, 8 Jun 2015 18:39:25 +0000 (8 11:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 8 Jun 2015 18:41:03 +0000 (8 18:41 +0000)
treef764d93a4e0881629fd66a022cde6a25caefc78f
parente3762546b1f84ec7d325daa4c77ac11e03d151ea
Disable moving the omnibox if a floating action bar is being used.

Fixes an issue where "Copy URL" showed up multiple times.  The documentation
implies items should be added in onPrepareActionMode, but that is called
more than once.  Move it to onCreateActionMode instead.

BUG=497240,405907

Review URL: https://codereview.chromium.org/1148723008

Cr-Commit-Position: refs/heads/master@{#333299}
chrome/android/java_staging/src/org/chromium/chrome/browser/CustomSelectionActionModeCallback.java
chrome/android/java_staging/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java