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

Unified Diff: chrome/browser/labs.cc

Issue 3698003: Lab strings for accelerated compositor, canvas 2d, and WebGL added. Canvas Lab exposed. (Closed)
Patch Set: Restricted to Linux and Win only (good catch). Created 10 years, 2 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 | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/labs.cc
diff --git a/chrome/browser/labs.cc b/chrome/browser/labs.cc
index ec29df5cb56d9b8cdddbd222de5308727272e0cb..4e664ff7dbd4f273398e3ed4892dc9a0f6d0d423 100644
--- a/chrome/browser/labs.cc
+++ b/chrome/browser/labs.cc
@@ -130,7 +130,32 @@ const Experiment kExperiments[] = {
kOsWin,
#endif
switches::kEnableCloudPrintProxy
+ },
+ // FIXME(scheib): Add Labs entry for accelerated Compositing,
+ // or pull it and the strings in generated_resources.grd by Dec 2010
+ //{
+ // "gpu-compositing", // Do not change; see above
+ // IDS_LABS_ACCELERATED_COMPOSITING_NAME,
+ // IDS_LABS_ACCELERATED_COMPOSITING_DESCRIPTION,
+ // kOsAll,
+ // switches::kDisableAcceleratedCompositing
+ //},
+ {
+ "gpu-canvas-2d", // Do not change; see above
+ IDS_LABS_ACCELERATED_CANVAS_2D_NAME,
+ IDS_LABS_ACCELERATED_CANVAS_2D_DESCRIPTION,
+ kOsWin | kOsLinux,
+ switches::kEnableAccelerated2dCanvas
}
+ // FIXME(scheib): Add Labs entry for WebGL,
+ // or pull it and the strings in generated_resources.grd by Dec 2010
+ //{
+ // "webgl", // Do not change; see above
+ // IDS_LABS_WEBGL_NAME,
+ // IDS_LABS_WEBGL_DESCRIPTION,
+ // kOsAll,
+ // switches::kDisableExperimentalWebGL
+ //}
};
// Extracts the list of enabled lab experiments from preferences and stores them
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698