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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 10828356: Very basic Android browser-side compositing support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments, rebase Created 8 years, 4 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: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 5a339aec3d06e456acf4cd0e72c0c92ab85b4295..60e85e87b4666c942c4c6dd6a2cc9594bcf4afda 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -57,6 +57,12 @@ struct WebIntentData;
struct WebIntentServiceData;
}
+#if defined(OS_ANDROID)
+namespace WebKit {
+class WebLayer;
+}
+#endif
+
namespace content {
struct OpenURLParams;
@@ -428,6 +434,10 @@ class CONTENT_EXPORT WebContentsDelegate {
const MediaStreamRequest* request,
const MediaResponseCallback& callback) {}
+ virtual void AttachLayer(WebContents* web_contents,
+ WebKit::WebLayer* layer) {}
+ virtual void RemoveLayer(WebContents* web_contents,
+ WebKit::WebLayer* layer) {}
protected:
virtual ~WebContentsDelegate();

Powered by Google App Engine
This is Rietveld 408576698