summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authordtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 01:47:14 +0000
committerdtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 01:47:14 +0000
commite3806df6c8c07d29a50ee5493f4c0e81f63e9837 (patch)
tree60ed612ccf0328fd06cc13fa6b78244bb4fdddcf /content/public
parentc6f2e67ab4098aa6be7a16612d4c47e9a78cac72 (diff)
downloadchromium_src-e3806df6c8c07d29a50ee5493f4c0e81f63e9837.zip
chromium_src-e3806df6c8c07d29a50ee5493f4c0e81f63e9837.tar.gz
chromium_src-e3806df6c8c07d29a50ee5493f4c0e81f63e9837.tar.bz2
Expose the RWHVA's WebLayer.
When we have a prerenderer RWHV the delegate is not set so we never get the AttachLayer call, this means we need to expose a method to query the current layer when we swap out our TabContents and therefore our RWHVA instances. BUG=http://crbug.com/159763 Review URL: https://chromiumcodereview.appspot.com/11293260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/browser/android/content_view_core.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h
index 7be47e9..5a97fdf 100644
--- a/content/public/browser/android/content_view_core.h
+++ b/content/public/browser/android/content_view_core.h
@@ -18,6 +18,10 @@ namespace ui {
class WindowAndroid;
}
+namespace WebKit {
+class WebLayer;
+}
+
namespace content {
class WebContents;
@@ -40,7 +44,7 @@ class ContentViewCore {
virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) = 0;
virtual void ShowPastePopup(int x, int y) = 0;
virtual unsigned int GetScaledContentTexture(const gfx::Size& size) = 0;
-
+ virtual WebKit::WebLayer* GetWebLayer() = 0;
protected:
virtual ~ContentViewCore() {};
};