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

Unified Diff: webkit/glue/webpreferences.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 | « no previous file | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.h
===================================================================
--- webkit/glue/webpreferences.h (revision 2301)
+++ webkit/glue/webpreferences.h (working copy)
@@ -37,6 +37,7 @@
bool text_areas_are_resizable;
bool dashboard_compatibility_mode;
bool java_enabled;
+ bool allow_scripts_to_close_windows;
// TODO(tc): User style sheets will not work in chrome because it tries to
// load the style sheet using a request without a frame.
@@ -71,7 +72,8 @@
text_areas_are_resizable(true),
dashboard_compatibility_mode(false),
java_enabled(true),
- user_style_sheet_enabled(false) {
+ user_style_sheet_enabled(false),
+ allow_scripts_to_close_windows(false) {
}
};
« no previous file with comments | « no previous file | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698