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

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

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, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « content/common/view_messages.h ('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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 std::string accept_languages; 122 std::string accept_languages;
123 123
124 // Specifies whether the renderer reports frame name changes to the browser 124 // Specifies whether the renderer reports frame name changes to the browser
125 // process. 125 // process.
126 // TODO(fsamuel): This is a short-term workaround to avoid regressing 126 // TODO(fsamuel): This is a short-term workaround to avoid regressing
127 // Sunspider. We need to find an efficient way to report changes to frame 127 // Sunspider. We need to find an efficient way to report changes to frame
128 // names to the browser process. See http://crbug.com/169110 for more 128 // names to the browser process. See http://crbug.com/169110 for more
129 // information. 129 // information.
130 bool report_frame_name_changes; 130 bool report_frame_name_changes;
131 131
132 // Controls deacceleration of touchpad-initiated flings.
133 std::vector<float> touchpad_fling_profile;
134
135 // Controls deacceleration of touchscreen-initiated flings.
136 std::vector<float> touchscreen_fling_profile;
137
138 // How to handle a tap gesture touching multiple targets 132 // How to handle a tap gesture touching multiple targets
139 TapMultipleTargetsStrategy tap_multiple_targets_strategy; 133 TapMultipleTargetsStrategy tap_multiple_targets_strategy;
140 134
141 // Disables rendering default error page when client choses to block a page. 135 // Disables rendering default error page when client choses to block a page.
142 // Corresponds to net::ERR_BLOCKED_BY_CLIENT. 136 // Corresponds to net::ERR_BLOCKED_BY_CLIENT.
143 bool disable_client_blocked_error_page; 137 bool disable_client_blocked_error_page;
144 138
145 // Determines whether plugins are allowed to enter fullscreen mode. 139 // Determines whether plugins are allowed to enter fullscreen mode.
146 bool plugin_fullscreen_allowed; 140 bool plugin_fullscreen_allowed;
147 }; 141 };
148 142
149 } // namespace content 143 } // namespace content
150 144
151 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 145 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698