Index: webkit/support/webkit_support.h |
diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h |
index 1f391df625733d3db5c338b97f91361ccff83b11..03b1031b079ff840ef2a9c1fae6aed21a0af51d4 100644 |
--- a/webkit/support/webkit_support.h |
+++ b/webkit/support/webkit_support.h |
@@ -134,11 +134,23 @@ WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( |
const WebKit::WebGraphicsContext3D::Attributes& attributes, |
WebKit::WebView* web_view); |
+class DRTLayerTreeViewClient { |
+ public: |
+ virtual ~DRTLayerTreeViewClient() { } |
+ virtual void Layout() = 0; |
+ virtual void ScheduleComposite() = 0; |
+}; |
+ |
WebKit::WebLayerTreeView* CreateLayerTreeViewSoftware( |
WebKit::WebLayerTreeViewClient* client); |
WebKit::WebLayerTreeView* CreateLayerTreeView3d( |
WebKit::WebLayerTreeViewClient* client); |
+WebKit::WebLayerTreeView* CreateLayerTreeViewSoftware( |
+ DRTLayerTreeViewClient* client); |
+WebKit::WebLayerTreeView* CreateLayerTreeView3d( |
+ DRTLayerTreeViewClient* client); |
+ |
// ------- URL load mocking. |
// Registers the file at |file_path| to be served when |url| is requested. |
// |response| is the response provided with the contents. |