OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |