| Index: webkit/pending/Settings.cpp
|
| ===================================================================
|
| --- webkit/pending/Settings.cpp (revision 2301)
|
| +++ webkit/pending/Settings.cpp (working copy)
|
| @@ -72,6 +72,7 @@
|
| , m_needsSiteSpecificQuirks(false)
|
| , m_fontRenderingMode(0)
|
| , m_usesEncodingDetector(false)
|
| + , m_allow_scripts_to_close_windows(false)
|
| {
|
| // A Frame may not have been created yet, so we initialize the AtomicString
|
| // hash before trying to use it.
|
| @@ -329,4 +330,9 @@
|
| m_usesEncodingDetector = usesEncodingDetector;
|
| }
|
|
|
| +void Settings::setAllowScriptsToCloseWindows(bool allow_scripts_to_close_windows)
|
| +{
|
| + m_allow_scripts_to_close_windows = allow_scripts_to_close_windows;
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|