зеркало из https://github.com/mozilla/gecko-dev.git
Bug 790897 - Capture clicks on find in page bar to prevent them from leaking into TabsTray. r=mfinkle
This commit is contained in:
Родитель
c596790a8c
Коммит
c2a45528df
|
@ -35,6 +35,10 @@ public class FindInPageBar extends RelativeLayout implements TextWatcher, View.O
|
|||
content.findViewById(R.id.find_next).setOnClickListener(this);
|
||||
content.findViewById(R.id.find_close).setOnClickListener(this);
|
||||
|
||||
// Capture clicks on the rest of the view to prevent them from
|
||||
// leaking into other views positioned below.
|
||||
content.setOnClickListener(this);
|
||||
|
||||
mFindText = (CustomEditText) content.findViewById(R.id.find_text);
|
||||
mFindText.addTextChangedListener(this);
|
||||
mFindText.setOnKeyPreImeListener(new CustomEditText.OnKeyPreImeListener() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче