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

Unified Diff: ui/gl/gl_surface.h

Issue 175093004: ui: Allow individual test suites to opt-out of the TestCompositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nulldrawdisable: ui:: Created 6 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
« no previous file with comments | « ui/gl/gl_implementation.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index f7a02f042834247f9e125dc263db6d221029423b..e8ef8dd505038f3295bf9779c5999b00acb08ad0 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -75,7 +75,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
// Unit tests should call these instead of InitializeOneOff() to set up
// GL bindings appropriate for tests.
- static void InitializeOneOffForTests();
+ // TODO(danakj): Once all callers pass true, remove the argument.
+ static void InitializeOneOffForTests(bool disable_drawing = false);
static void InitializeOneOffWithMockBindingsForTests();
static void InitializeDynamicMockBindingsForTests(GLContext* context);
« no previous file with comments | « ui/gl/gl_implementation.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698