Skip to content

Commit b2babf0

Browse files
AlexeyBarabashcdesouza-chromium
authored andcommitted
[cr144][Android] LocationBarMediator.shouldShowDeleteButton renamed to isUrlBarFocusedWithUserInput
Chromium change: https://source.chromium.org/chromium/chromium/src/+/a5e634447ab638ff4b5b85d955d9d2b4a1bb49a9 Wire up the `Go` fusebox button Bug: 452128478 Change-Id: I4eafbad70a6224ed2e855ba33a7e7cec0d549e91 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7108462
1 parent a3ee87e commit b2babf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/java/org/chromium/chrome/browser/omnibox/BraveLocationBarMediator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private boolean shouldShowQRButton() {
164164
if (mIsTablet) {
165165
return mUrlHasFocus || mIsUrlFocusChangeInProgress;
166166
} else {
167-
return !shouldShowDeleteButton()
167+
return !isUrlBarFocusedWithUserInput()
168168
&& (mUrlHasFocus
169169
|| mIsUrlFocusChangeInProgress
170170
|| mIsLocationBarFocusedFromNtpScroll);

0 commit comments

Comments
 (0)