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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java

Issue 1207523003: Make urlbar in custom tabs not focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one nit Created 5 years, 6 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
index bc0ab8127870cceefd8326b08ad9803e8975849c..6809b1662288e65abbe6691d8ed68e6b56731cd4 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
@@ -82,6 +82,7 @@ public class CustomTabToolbar extends ToolbarLayout implements LocationBar {
mUrlBar.setHint("");
mUrlBar.setDelegate(this);
mUrlBar.setEnabled(false);
+ mUrlBar.setAllowFocus(false);
mTitleBar = (TextView) findViewById(R.id.title_bar);
mUrlInfoContainer = findViewById(R.id.url_info_container);
mSecurityButton = (ImageButton) findViewById(R.id.security_button);
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/omnibox/UrlBar.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698