| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // the image URL. A cached image will still be rendered if requested. | 118 // the image URL. A cached image will still be rendered if requested. |
| 119 void setLoadsImagesAutomatically(bool); | 119 void setLoadsImagesAutomatically(bool); |
| 120 bool loadsImagesAutomatically() const { return m_loadsImagesAutomaticall
y; } | 120 bool loadsImagesAutomatically() const { return m_loadsImagesAutomaticall
y; } |
| 121 | 121 |
| 122 // Clients that execute script should call ScriptController::canExecuteS
cripts() | 122 // Clients that execute script should call ScriptController::canExecuteS
cripts() |
| 123 // instead of this function. ScriptController::canExecuteScripts() check
s the | 123 // instead of this function. ScriptController::canExecuteScripts() check
s the |
| 124 // HTML sandbox, plug-in sandboxing, and other important details. | 124 // HTML sandbox, plug-in sandboxing, and other important details. |
| 125 bool isScriptEnabled() const { return m_isScriptEnabled; } | 125 bool isScriptEnabled() const { return m_isScriptEnabled; } |
| 126 void setScriptEnabled(bool); | 126 void setScriptEnabled(bool); |
| 127 | 127 |
| 128 // NB: This define is generated by a script. To add a new setting, you |
| 129 // need to modify the script's input, Settings.in. |
| 128 SETTINGS_GETTERS_AND_SETTERS | 130 SETTINGS_GETTERS_AND_SETTERS |
| 129 | 131 |
| 130 void setJavaEnabled(bool); | 132 void setJavaEnabled(bool); |
| 131 bool isJavaEnabled() const { return m_isJavaEnabled; } | 133 bool isJavaEnabled() const { return m_isJavaEnabled; } |
| 132 | 134 |
| 133 // This settings is only consulted if isJavaEnabled() returns true; | 135 // This settings is only consulted if isJavaEnabled() returns true; |
| 134 void setJavaEnabledForLocalFiles(bool); | 136 void setJavaEnabledForLocalFiles(bool); |
| 135 bool isJavaEnabledForLocalFiles() const { return m_isJavaEnabledForLocal
Files; } | 137 bool isJavaEnabledForLocalFiles() const { return m_isJavaEnabledForLocal
Files; } |
| 136 | 138 |
| 137 void setImagesEnabled(bool); | 139 void setImagesEnabled(bool); |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 #if USE(JSC) | 362 #if USE(JSC) |
| 361 static bool gShouldRespectPriorityInCSSAttributeSetters; | 363 static bool gShouldRespectPriorityInCSSAttributeSetters; |
| 362 #endif | 364 #endif |
| 363 | 365 |
| 364 static double gHiddenPageDOMTimerAlignmentInterval; | 366 static double gHiddenPageDOMTimerAlignmentInterval; |
| 365 }; | 367 }; |
| 366 | 368 |
| 367 } // namespace WebCore | 369 } // namespace WebCore |
| 368 | 370 |
| 369 #endif // Settings_h | 371 #endif // Settings_h |
| OLD | NEW |