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

Unified Diff: chrome/browser/about_flags.cc

Issue 7067041: Add disable-gpu-vsync to about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 7 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/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 44b3f4cf17aa4ec0654d8845eb293f75e5f84ca9..a1291e33a6ae295cd32913f49a59c3a90255cf01 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -23,6 +23,7 @@
#include "content/browser/user_metrics.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
+#include "ui/gfx/gl/gl_switches.h"
namespace about_flags {
@@ -160,6 +161,13 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kShowFPSCounter)
},
+ {
+ "disable-gpu-vsync",
+ IDS_FLAGS_DISABLE_GPU_VSYNC_NAME,
+ IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION,
+ kOsAll,
+ SINGLE_VALUE_TYPE(switches::kDisableGpuVsync)
+ },
#if !defined(GOOGLE_CHROME_BUILD)
// Only expose this for Chromium builds where users may not have the PDF
// plugin. Do not give Google Chrome users the option to disable it here.
« 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