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

Unified Diff: ui/gl/gl_switches.h

Issue 19925003: WIP - command line experiment Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/compositor/compositor_switches.h ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_switches.h
diff --git a/ui/gl/gl_switches.h b/ui/gl/gl_switches.h
index 57590d7bd8776ceaf938a3ab0dfb8424663bf633..a9979360a2ee444dce92473699f264ed51d0d895 100644
--- a/ui/gl/gl_switches.h
+++ b/ui/gl/gl_switches.h
@@ -7,6 +7,7 @@
// Defines all the command-line switches used by ui/gl.
+#include "base/basictypes.h"
#include "ui/gl/gl_export.h"
namespace gfx {
@@ -21,6 +22,14 @@ extern const char kGLImplementationMockName[];
} // namespace gfx
+#ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES
+
+namespace {
+#include "ui/gl/gl_switches.cc"
+}
+
+#else
+
namespace switches {
GL_EXPORT extern const char kEnableD3D11[];
@@ -50,4 +59,5 @@ GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
} // namespace switches
+#endif // ENABLE_FAST_COMMAND_LINE_SWITCHES
#endif // UI_GL_GL_SWITCHES_H_
« no previous file with comments | « ui/compositor/compositor_switches.h ('k') | ui/gl/gl_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698