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

Unified Diff: ppapi/tests/testing_instance.h

Issue 10665007: ppapi: Add test for touch-event support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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 | « ppapi/tests/test_input_event.cc ('k') | ppapi/tests/testing_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/testing_instance.h
diff --git a/ppapi/tests/testing_instance.h b/ppapi/tests/testing_instance.h
index 8aeecfe8a02ee87a403eb8bb559a6eb74949b12f..1b2acbff2764946bcc34843b76eb976073f5ca2a 100644
--- a/ppapi/tests/testing_instance.h
+++ b/ppapi/tests/testing_instance.h
@@ -99,6 +99,9 @@ pp::InstancePrivate {
// evaluate to |true| or the test will fail.
void AddPostCondition(const std::string& script);
+ // See doc for |remove_plugin_|.
+ void set_remove_plugin(bool remove) { remove_plugin_ = remove; }
+
private:
void ExecuteTests(int32_t unused);
@@ -159,6 +162,11 @@ pp::InstancePrivate {
// WebSocket port.
int websocket_port_;
+
+ // At the end of each set of tests, the plugin is removed from the web-page.
+ // However, for some tests, it is desirable to not remove the plguin from the
+ // page.
+ bool remove_plugin_;
};
#endif // PPAPI_TESTS_TESTING_INSTANCE_H_
« no previous file with comments | « ppapi/tests/test_input_event.cc ('k') | ppapi/tests/testing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698