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

Unified Diff: chrome/test/android/javatests/src/org/chromium/chrome/test/util/InfoBarUtil.java

Issue 2908253002: Create automation test for the new translate infobar (Closed)
Patch Set: rename functions Created 3 years, 7 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/test/android/javatests/src/org/chromium/chrome/test/util/InfoBarUtil.java
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/InfoBarUtil.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/InfoBarUtil.java
index f1524a4f6f88b8488b0beb6d4106d27f516b222b..6b0f84245deab3f2dc1f2f01ad3d8a08749be328 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/InfoBarUtil.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/InfoBarUtil.java
@@ -22,7 +22,7 @@ public class InfoBarUtil {
* Finds, and optionally clicks, the button with the specified ID in the given InfoBar.
* @return True if the View was found.
*/
- private static boolean findButton(InfoBar infoBar, int buttonId, boolean click) {
+ public static boolean findButton(InfoBar infoBar, int buttonId, boolean click) {
final View button = infoBar.getView().findViewById(buttonId);
if (button == null) return false;
if (click) {

Powered by Google App Engine
This is Rietveld 408576698