DescriptionOmnibox: don't assume omnibox has focus in OnAfterPossibleChange().
On Linux, right clicking in the omnibox does not give it focus, so
right-clicking and pasting can change the contents without focus in
the omnibox. Take out the DCHECK that assumes this cannot happen.
Also, change the focus_source_ to assume the source was OMNIBOX in these cases.
BUG=271462
R=pkasting@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217062
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add comment. #Messages
Total messages: 7 (0 generated)
|