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

Unified Diff: ppapi/tests/test_graphics_2d.h

Issue 11053003: Migrate Graphics2D to new design. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 1 month 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/proxy/resource_creation_proxy.cc ('k') | ppapi/tests/test_graphics_2d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_graphics_2d.h
diff --git a/ppapi/tests/test_graphics_2d.h b/ppapi/tests/test_graphics_2d.h
index 193aa446ecea6941f1c3a8b37cfa33535df471cf..6d350767d6a2936f5d0eaf977732a7d5e3c1efb9 100644
--- a/ppapi/tests/test_graphics_2d.h
+++ b/ppapi/tests/test_graphics_2d.h
@@ -66,6 +66,10 @@ class TestGraphics2D : public TestCase {
// Validates that the given device context is filled with the given color.
bool IsDCUniformColor(const pp::Graphics2D& dc, uint32_t color) const;
+ // Returns true if Graphics2D resource is created correctly.
+ bool ResourceHealthCheck(pp::Instance* instance, pp::Graphics2D* context);
+ bool ResourceHealthCheckForC(pp::Instance* instance, PP_Resource graphics_2d);
+
// Issues a flush on the given device context and blocks until the flush
// has issued its callback. Returns true on success.
bool FlushAndWaitForDone(pp::Graphics2D* context);
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | ppapi/tests/test_graphics_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698