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

Unified Diff: ppapi/tests/test_graphics_2d.h

Issue 11414171: Migrate Graphics2D to new design. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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..4107504d7c75b0dbb11d98306594207a6fb88fd3 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);
@@ -99,6 +103,7 @@ class TestGraphics2D : public TestCase {
std::string TestFlushOffscreenUpdate();
std::string TestDev();
std::string TestReplaceContentsCaching();
+ std::string TestBindNull();
// Used by the tests that access the C API directly.
const PPB_Graphics2D* graphics_2d_interface_;
« 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