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

Unified Diff: chrome/browser/about_flags.cc

Issue 7034052: Linux/CrOS smooth scrolling support - behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 6 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') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | 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 b5137f2589d0bf8fb4cc9cb1f1ebd7021b02c88e..75f9d662ed26961524a9e55fb969ab03f4a0999c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -364,6 +364,18 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableSyncTypedUrls)
},
+ {
+ "enable-smooth-scrolling", // FLAGS:RECORD_UMA
+ IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME,
+ IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION,
+ // Can't expose the switch unless the code is compiled in.
+#if defined(ENABLE_SMOOTH_SCROLLING)
+ kOsAll,
+#else
+ 0,
+#endif
+ SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
+ },
};
const Experiment* experiments = kExperiments;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698