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

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

Issue 586933003: fling: Remove a bunch of code for configuring fling curves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 6 years, 3 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_thread_impl.h » ('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 584b2e82fa79ffe817c74883e740b93f8669de48..a43b94398bbc4daaeef07d18165c5b001531307d 100644
--- a/content/public/common/renderer_preferences.cc
+++ b/content/public/common/renderer_preferences.cc
@@ -7,16 +7,6 @@
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/font_render_params.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,16 +33,10 @@ 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),
use_video_overlay_for_embedded_encrypted_video(false) {
- 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_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698