| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 bool report_frame_name_changes; | 130 bool report_frame_name_changes; |
| 131 | 131 |
| 132 // Controls deacceleration of touchpad-initiated flings. | 132 // Controls deacceleration of touchpad-initiated flings. |
| 133 std::vector<float> touchpad_fling_profile; | 133 std::vector<float> touchpad_fling_profile; |
| 134 | 134 |
| 135 // Controls deacceleration of touchscreen-initiated flings. | 135 // Controls deacceleration of touchscreen-initiated flings. |
| 136 std::vector<float> touchscreen_fling_profile; | 136 std::vector<float> touchscreen_fling_profile; |
| 137 | 137 |
| 138 // How to handle a tap gesture touching multiple targets | 138 // How to handle a tap gesture touching multiple targets |
| 139 TapMultipleTargetsStrategy tap_multiple_targets_strategy; | 139 TapMultipleTargetsStrategy tap_multiple_targets_strategy; |
| 140 |
| 141 // Disables rendering default error page when client choses to block a page. |
| 142 // Corresponds to net::ERR_BLOCKED_BY_CLIENT. |
| 143 bool disable_client_blocked_error_page; |
| 140 }; | 144 }; |
| 141 | 145 |
| 142 } // namespace content | 146 } // namespace content |
| 143 | 147 |
| 144 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 148 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |