| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 // Set to false to not send referrers. | 95 // Set to false to not send referrers. |
| 96 bool enable_referrers; | 96 bool enable_referrers; |
| 97 | 97 |
| 98 // Default page zoom level. | 98 // Default page zoom level. |
| 99 double default_zoom_level; | 99 double default_zoom_level; |
| 100 | 100 |
| 101 // The user agent given to WebKit when it requests one and the user agent is | 101 // The user agent given to WebKit when it requests one and the user agent is |
| 102 // being overridden for the current navigation. | 102 // being overridden for the current navigation. |
| 103 std::string user_agent_override; | 103 std::string user_agent_override; |
| 104 |
| 105 // Disable input throttling in the renderer. |
| 106 bool disable_input_throttle; |
| 104 }; | 107 }; |
| 105 | 108 |
| 106 } // namespace content | 109 } // namespace content |
| 107 | 110 |
| 108 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 111 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |