Add disable-gpu-vsync to about:flags
Review URL: http://codereview.chromium.org/7067041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86544 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 44b3f4c..a1291e3 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 @@
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.