diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebKit/mac/WebView/WebPreferencesPrivate.h | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebKit/mac/WebView/WebPreferencesPrivate.h')
-rw-r--r-- | WebKit/mac/WebView/WebPreferencesPrivate.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/WebKit/mac/WebView/WebPreferencesPrivate.h b/WebKit/mac/WebView/WebPreferencesPrivate.h index a6b5cb2..1981290 100644 --- a/WebKit/mac/WebView/WebPreferencesPrivate.h +++ b/WebKit/mac/WebView/WebPreferencesPrivate.h @@ -29,9 +29,8 @@ #import <WebKit/WebPreferences.h> #import <Quartz/Quartz.h> -// WebKitEditableLinkBehavior needs to match the EditableLinkBehavior enum in WebCore typedef enum { - WebKitEditableLinkDefaultBehavior = 0, + WebKitEditableLinkDefaultBehavior, WebKitEditableLinkAlwaysLive, WebKitEditableLinkOnlyLiveWithShiftKey, WebKitEditableLinkLiveWhenNotFocused, @@ -51,6 +50,9 @@ extern NSString *WebPreferencesRemovedNotification; - (BOOL)authorAndUserStylesEnabled; - (void)setAuthorAndUserStylesEnabled:(BOOL)flag; +- (BOOL)applicationChromeModeEnabled; +- (void)setApplicationChromeModeEnabled:(BOOL)flag; + - (BOOL)respectStandardStyleKeyEquivalents; - (void)setRespectStandardStyleKeyEquivalents:(BOOL)flag; @@ -69,6 +71,15 @@ extern NSString *WebPreferencesRemovedNotification; - (BOOL)automaticallyDetectsCacheModel; - (void)setAutomaticallyDetectsCacheModel:(BOOL)automaticallyDetectsCacheModel; +- (BOOL)webArchiveDebugModeEnabled; +- (void)setWebArchiveDebugModeEnabled:(BOOL)webArchiveDebugModeEnabled; + +- (BOOL)offlineWebApplicationCacheEnabled; +- (void)setOfflineWebApplicationCacheEnabled:(BOOL)offlineWebApplicationCacheEnabled; + +- (BOOL)zoomsTextOnly; +- (void)setZoomsTextOnly:(BOOL)zoomsTextOnly; + // zero means do AutoScale - (float)PDFScaleFactor; - (void)setPDFScaleFactor:(float)scale; @@ -90,6 +101,8 @@ extern NSString *WebPreferencesRemovedNotification; - (void)_setFTPDirectoryTemplatePath:(NSString *)path; - (void)_setForceFTPDirectoryListings:(BOOL)force; - (BOOL)_forceFTPDirectoryListings; +- (NSString *)_localStorageDatabasePath; +- (void)_setLocalStorageDatabasePath:(NSString *)path; // Other private methods - (void)_postPreferencesChangesNotification; @@ -105,4 +118,7 @@ extern NSString *WebPreferencesRemovedNotification; - (void)willAddToWebView; - (void)didRemoveFromWebView; +// Force document tear down at application quit +- (void)setFullDocumentTeardownEnabled:(BOOL)fullDocumentTeardownEnabled; +- (BOOL)fullDocumentTeardownEnabled; @end |