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

Unified Diff: content/shell/renderer/test_runner/web_test_delegate.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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 | « content/shell/renderer/test_runner/test_plugin.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/web_test_delegate.h
diff --git a/content/shell/renderer/test_runner/web_test_delegate.h b/content/shell/renderer/test_runner/web_test_delegate.h
index 3a6e56f9a9743d5205a6cfbf9fd60ba294794e01..0d7c5f3436798eeeb7a371a2f2bf5e7e4b5b688d 100644
--- a/content/shell/renderer/test_runner/web_test_delegate.h
+++ b/content/shell/renderer/test_runner/web_test_delegate.h
@@ -34,6 +34,7 @@ struct WebURLError;
namespace cc {
class TextureLayer;
+class TextureLayerClient;
class SharedBitmapManager;
}
@@ -221,6 +222,10 @@ class WebTestDelegate {
// Clear all the permissions set via SetPermission().
virtual void ResetPermissions() = 0;
+ // Creates cc::TextureLayer for TestPlugin.
+ virtual scoped_refptr<cc::TextureLayer> CreateTextureLayerForMailbox(
+ cc::TextureLayerClient* client) = 0;
+
// Instantiates WebLayerImpl for TestPlugin.
virtual blink::WebLayer* InstantiateWebLayer(
scoped_refptr<cc::TextureLayer> layer) = 0;
« no previous file with comments | « content/shell/renderer/test_runner/test_plugin.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698