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

Unified Diff: Source/testing/runner/TestPlugin.h

Issue 23440025: TestRunner library classes should be marked as NonCopyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 | « Source/testing/runner/TestInterfaces.h ('k') | Source/testing/runner/WebPermissions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/testing/runner/TestPlugin.h
diff --git a/Source/testing/runner/TestPlugin.h b/Source/testing/runner/TestPlugin.h
index a71350adcbc925fd9dc626ef4af274dc55151c2b..66642393fc8c587da56140027cdc0e7556b2061b 100644
--- a/Source/testing/runner/TestPlugin.h
+++ b/Source/testing/runner/TestPlugin.h
@@ -29,6 +29,7 @@
#include "public/platform/WebExternalTextureLayer.h"
#include "public/platform/WebExternalTextureLayerClient.h"
#include "public/platform/WebExternalTextureMailbox.h"
+#include "public/platform/WebNonCopyable.h"
#include "public/web/WebPlugin.h"
#include "public/web/WebPluginContainer.h"
#include <memory>
@@ -50,7 +51,7 @@ class WebTestDelegate;
//
// Whether the plugin accepts touch events or not can be customized using the
// 'accepts-touch' plugin parameter (defaults to false).
-class TestPlugin : public WebKit::WebPlugin, public WebKit::WebExternalTextureLayerClient {
+class TestPlugin : public WebKit::WebPlugin, public WebKit::WebExternalTextureLayerClient, public WebKit::WebNonCopyable {
public:
static TestPlugin* create(WebKit::WebFrame*, const WebKit::WebPluginParams&, WebTestDelegate*);
virtual ~TestPlugin();
« no previous file with comments | « Source/testing/runner/TestInterfaces.h ('k') | Source/testing/runner/WebPermissions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698