Index: content/shell/android/java/src/org/chromium/content_shell/Shell.java |
diff --git a/content/shell/android/java/src/org/chromium/content_shell/Shell.java b/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
index a928a02093f4de0c577213036feda0b76f06fa4f..cdb8658edf5e7223d44a5bdb28f7c98e510164a5 100644 |
--- a/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
+++ b/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
@@ -334,6 +334,13 @@ public class Shell extends LinearLayout { |
return mContentViewCore; |
} |
+ /** |
+ * @return The {@link WebContents} currently managing the content shown by this Shell. |
+ */ |
+ public WebContents getWebContents() { |
+ return mWebContents; |
+ } |
+ |
private void setKeyboardVisibilityForUrl(boolean visible) { |
InputMethodManager imm = (InputMethodManager) getContext().getSystemService( |
Context.INPUT_METHOD_SERVICE); |