Index: android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
index 9bd8eddfc6937ea0167d821e371868c8effbecfc..7e03d4fa394cc0231ab85b57dede02a6532eab46 100644 |
--- a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
+++ b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
@@ -44,6 +44,10 @@ public class AwTestRunnerActivity extends Activity { |
setContentView(mLinearLayout); |
} |
+ public int getRootLayoutWidth() { |
+ return mLinearLayout.getWidth(); |
+ } |
+ |
/** |
* Adds a view to the main linear layout. |
*/ |