Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: webkit/pending/Settings.h

Issue 2915: Add a new switch: --allow-scripts-to-close-windows.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/pending/DOMWindow.cpp ('k') | webkit/pending/Settings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webkit/pending/DOMWindow.cpp ('k') | webkit/pending/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698