Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1087)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java

Issue 1941473002: Regression test and clean up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set URL instead of loading it Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java
index e6a0feeca16eb7fb081e990b68c56bd90d7ff0d3..0ee47fa74f7a3f457b19a710a1bc9cecb712618a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java
@@ -158,13 +158,6 @@ public class UrlBar extends VerticallyFixedEditText {
Tab getCurrentTab();
/**
- * Called at the beginning of the focus change event before the underlying TextView
- * behavior is triggered.
- * @param gainFocus Whether the URL is gaining focus or not.
- */
- void onUrlPreFocusChanged(boolean gainFocus);
-
- /**
* Called when the text state has changed and the autocomplete suggestions should be
* refreshed.
*
@@ -435,7 +428,6 @@ public class UrlBar extends VerticallyFixedEditText {
@Override
protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) {
mFocused = focused;
- mUrlBarDelegate.onUrlPreFocusChanged(focused);
if (!focused) mAutocompleteSpan.clearSpan();
super.onFocusChanged(focused, direction, previouslyFocusedRect);

Powered by Google App Engine
This is Rietveld 408576698