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

Unified Diff: cc/test/test_web_graphics_context_3d.h

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: add unittest and move implementation around Created 3 years, 10 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
Index: cc/test/test_web_graphics_context_3d.h
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index b2c030d779f4968298ef62e2e887c318fe343ac5..c16db55be94626b7946ef93046ca9f487e2d9fcd 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -347,6 +347,9 @@ class TestWebGraphicsContext3D {
void set_gpu_rasterization(bool gpu_rasterization) {
test_capabilities_.gpu_rasterization = gpu_rasterization;
}
+ void set_support_set_draw_rectangle(bool support) {
+ test_capabilities_.set_draw_rectangle = support;
+ }
// When this context is lost, all contexts in its share group are also lost.
void add_share_group_context(TestWebGraphicsContext3D* context3d) {

Powered by Google App Engine
This is Rietveld 408576698