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

Unified Diff: content/public/common/renderer_preferences.cc

Issue 43503002: Remove fling curve profiles from renderer preferences assuming that be turn on Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/public/common/renderer_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/renderer_preferences.cc
diff --git a/content/public/common/renderer_preferences.cc b/content/public/common/renderer_preferences.cc
index 9d3d12f25f035fa19c0d3654bc9de0d6bd786be0..a22ad94eb6d3648f5a1ae1a8fc07d1f0bdacc863 100644
--- a/content/public/common/renderer_preferences.cc
+++ b/content/public/common/renderer_preferences.cc
@@ -6,16 +6,6 @@
#include "third_party/skia/include/core/SkColor.h"
-namespace {
-// The touchpad / touchscreen fling profiles are a matched set
-// determined via UX experimentation. Do not modify without
-// first discussing with rjkroege@chromium.org or
-// wjmaclean@chromium.org.
-const float kDefaultAlpha = -5.70762e+03f;
-const float kDefaultBeta = 1.72e+02f;
-const float kDefaultGamma = 3.7e+00f;
-}
-
namespace content {
RendererPreferences::RendererPreferences()
@@ -43,15 +33,9 @@ RendererPreferences::RendererPreferences()
enable_do_not_track(false),
default_zoom_level(0),
report_frame_name_changes(false),
- touchpad_fling_profile(3),
- touchscreen_fling_profile(3),
tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP),
disable_client_blocked_error_page(false),
plugin_fullscreen_allowed(true) {
- touchpad_fling_profile[0] = kDefaultAlpha;
- touchpad_fling_profile[1] = kDefaultBeta;
- touchpad_fling_profile[2] = kDefaultGamma;
- touchscreen_fling_profile = touchpad_fling_profile;
}
RendererPreferences::~RendererPreferences() { }
« no previous file with comments | « content/public/common/renderer_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698