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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |