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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h

Issue 12385074: Remove WebCompositorSupport::initialize/shutdown dependency from webkit_support::CreateLayerTreeView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test_webkit_platform_support 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 8b9c24ceadf85eb8017fafd3dd9318aaafb9ea96..f17a6d236905c852e27e91c111d713a6f32afb6c 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
@@ -22,13 +22,8 @@ class WebLayer;
class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView,
public cc::LayerTreeHostClient {
public:
- enum RenderingType {
- FAKE_CONTEXT,
- SOFTWARE_CONTEXT,
- MESA_CONTEXT
- };
WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerTreeViewImplForTesting(
- RenderingType type,
+ webkit_support::LayerTreeViewType type,
webkit_support::DRTLayerTreeViewClient* client);
virtual ~WebLayerTreeViewImplForTesting();
@@ -87,7 +82,7 @@ class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView,
OffscreenContextProviderForCompositorThread() OVERRIDE;
private:
- RenderingType type_;
+ webkit_support::LayerTreeViewType type_;
webkit_support::DRTLayerTreeViewClient* 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