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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h

Issue 12330184: Use different client interface for WebLayerTreeViewForTesting to decouple from WebLayerTreeViewClie… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h b/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h
index 2b360bc2312dd8b88e02e0e3a09c726399cc21e2..5adc67018a71ddc8b27f154d4c4552cd98204555 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h
@@ -9,6 +9,7 @@
#include "cc/layer_tree_host_client.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h"
#include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
+#include "webkit/support/webkit_support.h"
namespace cc {
class LayerTreeHost;
@@ -30,6 +31,9 @@ class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView,
};
WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerTreeViewImplForTesting(
RenderingType type,
+ webkit_support::DRTLayerTreeViewClient* client);
+ WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerTreeViewImplForTesting(
+ RenderingType type,
WebKit::WebLayerTreeViewClient* client);
virtual ~WebLayerTreeViewImplForTesting();
@@ -89,6 +93,7 @@ class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView,
private:
RenderingType type_;
+ webkit_support::DRTLayerTreeViewClient* drt_client_;
WebKit::WebLayerTreeViewClient* client_;
scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
« no previous file with comments | « no previous file | webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698