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 ae37620f30144e4efbc4693e7fa93bb826c38db5..5fac115058e51cc9e1147b987b403d8230f34183 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 |
@@ -233,6 +233,14 @@ public class CustomTabToolbar extends ToolbarLayout implements LocationBar, |
return mCustomActionButton; |
} |
+ /** |
+ * @return The close button. For test purpose only. |
+ */ |
+ @VisibleForTesting |
+ public ImageButton getCloseButtonForTest() { |
+ return mCloseButton; |
+ } |
+ |
@Override |
public int getTabStripHeight() { |
return 0; |