summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebPreferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebPreferences.h')
-rw-r--r--WebKit/win/WebPreferences.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/WebKit/win/WebPreferences.h b/WebKit/win/WebPreferences.h
index 46df0a2..6ab3dcb 100644
--- a/WebKit/win/WebPreferences.h
+++ b/WebKit/win/WebPreferences.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -308,6 +308,18 @@ public:
virtual HRESULT STDMETHODCALLTYPE offlineWebApplicationCacheEnabled(
/* [retval][out] */ BOOL *enabled);
+ virtual HRESULT STDMETHODCALLTYPE setDatabasesEnabled(
+ /* [in] */ BOOL enabled);
+
+ virtual HRESULT STDMETHODCALLTYPE databasesEnabled(
+ /* [retval][out] */ BOOL *enabled);
+
+ virtual HRESULT STDMETHODCALLTYPE setLocalStorageEnabled(
+ /* [in] */ BOOL enabled);
+
+ virtual HRESULT STDMETHODCALLTYPE localStorageEnabled(
+ /* [retval][out] */ BOOL *enabled);
+
virtual HRESULT STDMETHODCALLTYPE localStorageDatabasePath(
/* [out, retval] */ BSTR* location);
@@ -320,6 +332,18 @@ public:
virtual HRESULT STDMETHODCALLTYPE shouldPaintNativeControls(
/* [retval][out] */ BOOL *shouldPaint);
+ virtual HRESULT STDMETHODCALLTYPE setZoomsTextOnly(
+ /* [retval][out] */ BOOL zoomsTextOnly);
+
+ virtual HRESULT STDMETHODCALLTYPE zoomsTextOnly(
+ /* [retval][out] */ BOOL *zoomsTextOnly);
+
+ virtual HRESULT STDMETHODCALLTYPE fontSmoothingContrast(
+ /* [retval][out] */ float* contrast);
+
+ virtual HRESULT STDMETHODCALLTYPE setFontSmoothingContrast(
+ /* [in] */ float contrast);
+
// WebPreferences
// This method accesses a different preference key than developerExtrasEnabled.
@@ -355,6 +379,7 @@ protected:
void setStringValue(CFStringRef key, LPCTSTR value);
void setIntegerValue(CFStringRef key, int value);
void setBoolValue(CFStringRef key, BOOL value);
+ void setFloatValue(CFStringRef key, float value);
void setLongLongValue(CFStringRef key, LONGLONG value);
static WebPreferences* getInstanceForIdentifier(BSTR identifier);
static void initializeDefaultSettings();