Index: webkit/pending/Settings.h |
=================================================================== |
--- webkit/pending/Settings.h (revision 2301) |
+++ webkit/pending/Settings.h (working copy) |
@@ -153,6 +153,9 @@ |
void setNeedsSiteSpecificQuirks(bool); |
bool needsSiteSpecificQuirks() const { return m_needsSiteSpecificQuirks; } |
+ void setAllowScriptsToCloseWindows(bool); |
+ bool allowScriptsToCloseWindows() const { return m_allow_scripts_to_close_windows; } |
+ |
private: |
Page* m_page; |
@@ -191,6 +194,7 @@ |
bool m_needsSiteSpecificQuirks : 1; |
unsigned m_fontRenderingMode : 1; |
bool m_usesEncodingDetector : 1; |
+ bool m_allow_scripts_to_close_windows : 1; |
}; |
} // namespace WebCore |