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

Side by Side Diff: content/public/common/renderer_preferences.h

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 unified diff | Download patch
« no previous file with comments | « content/content_child.gypi ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A struct for managing browser's settings that apply to the renderer or its 5 // A struct for managing browser's settings that apply to the renderer or its
6 // webview. These differ from WebPreferences since they apply to Chromium's 6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit. 7 // glue layer rather than applying to just WebKit.
8 // 8 //
9 // Adding new values to this class probably involves updating 9 // Adding new values to this class probably involves updating
10 // common/view_messages.h, browser/browser.cc, etc. 10 // common/view_messages.h, browser/browser.cc, etc.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 std::string accept_languages; 106 std::string accept_languages;
107 107
108 // Specifies whether the renderer reports frame name changes to the browser 108 // Specifies whether the renderer reports frame name changes to the browser
109 // process. 109 // process.
110 // TODO(fsamuel): This is a short-term workaround to avoid regressing 110 // TODO(fsamuel): This is a short-term workaround to avoid regressing
111 // Sunspider. We need to find an efficient way to report changes to frame 111 // Sunspider. We need to find an efficient way to report changes to frame
112 // names to the browser process. See http://crbug.com/169110 for more 112 // names to the browser process. See http://crbug.com/169110 for more
113 // information. 113 // information.
114 bool report_frame_name_changes; 114 bool report_frame_name_changes;
115 115
116 // Controls deacceleration of touchpad-initiated flings.
117 std::vector<float> touchpad_fling_profile;
118
119 // Controls deacceleration of touchscreen-initiated flings.
120 std::vector<float> touchscreen_fling_profile;
121
122 // How to handle a tap gesture touching multiple targets 116 // How to handle a tap gesture touching multiple targets
123 TapMultipleTargetsStrategy tap_multiple_targets_strategy; 117 TapMultipleTargetsStrategy tap_multiple_targets_strategy;
124 118
125 // Disables rendering default error page when client choses to block a page. 119 // Disables rendering default error page when client choses to block a page.
126 // Corresponds to net::ERR_BLOCKED_BY_CLIENT. 120 // Corresponds to net::ERR_BLOCKED_BY_CLIENT.
127 bool disable_client_blocked_error_page; 121 bool disable_client_blocked_error_page;
128 122
129 // Determines whether plugins are allowed to enter fullscreen mode. 123 // Determines whether plugins are allowed to enter fullscreen mode.
130 bool plugin_fullscreen_allowed; 124 bool plugin_fullscreen_allowed;
131 125
132 // Whether video-overlay (hole-punching) should be used for the embedded 126 // Whether video-overlay (hole-punching) should be used for the embedded
133 // encrypted video. Currently only used by Android. 127 // encrypted video. Currently only used by Android.
134 bool use_video_overlay_for_embedded_encrypted_video; 128 bool use_video_overlay_for_embedded_encrypted_video;
135 }; 129 };
136 130
137 } // namespace content 131 } // namespace content
138 132
139 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 133 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698