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

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: 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 ac817cceffd19474ebdf33b78f9d9c866287affe..314ba91c6ea9e291dda5c68214fc16246e6889cf 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;
@@ -422,6 +428,10 @@ class CONTENT_EXPORT WebContentsDelegate {
const MediaStreamRequest* request,
const MediaResponseCallback& callback) {}
+ virtual void AttachLayer(WebContents* web_contents,
+ WebKit::WebLayer& layer) {}
klobag.chromium 2012/08/22 07:01:19 const WebLayer&?
+ virtual void RemoveLayer(WebContents* web_contents,
+ WebKit::WebLayer& layer) {}
protected:
virtual ~WebContentsDelegate();

Powered by Google App Engine
This is Rietveld 408576698