2 * Copyright (C) 2007, 2008, 2009 Holger Hans Peter Freyther
3 * Copyright (C) 2008 Jan Michael C. Alonzo
4 * Copyright (C) 2008 Collabora Ltd.
5 * Copyright (C) 2010 Igalia S.L.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
23 #ifndef webkitwebsettingsprivate_h
24 #define webkitwebsettingsprivate_h
27 #include "webkitwebsettings.h"
31 struct _WebKitWebSettingsPrivate {
32 CString defaultEncoding;
33 CString cursiveFontFamily;
34 CString defaultFontFamily;
35 CString fantasyFontFamily;
36 CString monospaceFontFamily;
37 CString sansSerifFontFamily;
38 CString serifFontFamily;
39 guint defaultFontSize;
40 guint defaultMonospaceFontSize;
41 guint minimumFontSize;
42 guint minimumLogicalFontSize;
43 gboolean enforce96DPI;
44 gboolean autoLoadImages;
45 gboolean autoShrinkImages;
46 gboolean printBackgrounds;
47 gboolean enableScripts;
48 gboolean enablePlugins;
49 gboolean resizableTextAreas;
50 CString userStylesheetURI;
52 gboolean enableDeveloperExtras;
53 gboolean enablePrivateBrowsing;
54 gboolean enableSpellChecking;
55 CString spellCheckingLanguages;
56 gboolean enableCaretBrowsing;
57 gboolean enableHTML5Database;
58 gboolean enableHTML5LocalStorage;
59 CString html5LocalStorageDatabasePath;
60 gboolean enableXSSAuditor;
61 gboolean enableSpatialNavigation;
62 gboolean enableFrameFlattening;
64 gboolean javascriptCanOpenWindowsAutomatically;
65 gboolean javascriptCanAccessClipboard;
66 gboolean enableOfflineWebApplicationCache;
67 WebKitEditingBehavior editingBehavior;
68 gboolean enableUniversalAccessFromFileURIs;
69 gboolean enableFileAccessFromFileURIs;
70 gboolean enableDOMPaste;
71 gboolean tabKeyCyclesThroughElements;
72 gboolean enableDefaultContextMenu;
73 gboolean enableSiteSpecificQuirks;
74 gboolean enablePageCache;
75 gboolean autoResizeWindow;
76 gboolean enableJavaApplet;
77 gboolean enableHyperlinkAuditing;
78 gboolean enableFullscreen;
79 gboolean enableDNSPrefetching;
83 WEBKIT_API void webkit_web_settings_add_extra_plugin_directory(WebKitWebView*, const gchar* directory);
85 WEBKIT_API char* webkitWebSettingsUserAgentForURI(WebKitWebSettings*, const gchar* uri);
87 GSList* webkitWebViewGetEnchantDicts(WebKitWebView*);