Home | History | Annotate | Download | only in WebView

Lines Matching full:self

187     while ([[self class] _getInstanceForIdentifier:fakeIdentifier]){
191 return [self initWithIdentifier:fakeIdentifier];
196 self = [super init];
197 if (!self)
203 WebPreferences *instance = [[self class] _getInstanceForIdentifier:anIdentifier];
205 [self release];
213 [[self class] _setInstance:self forIdentifier:_private->identifier];
215 [self _postPreferencesChangesNotification];
217 return self;
222 self = [super init];
223 if (!self)
252 [self release];
258 WebPreferences *instance = [[self class] _getInstanceForIdentifier:_private->identifier];
260 [self release];
261 self = [instance retain];
263 [[self class] _setInstance:self forIdentifier:_private->identifier];
266 return self;
392 id s = [self _valueForKey:key];
398 if ([[self _stringValueForKey:key] isEqualToString:value])
404 [self _postPreferencesChangesNotification];
409 id o = [self _valueForKey:key];
415 if ([self _integerValueForKey:key] == value)
421 [self _postPreferencesChangesNotification];
426 id o = [self _valueForKey:key];
432 if ([self _floatValueForKey:key] == value)
438 [self _postPreferencesChangesNotification];
443 return [self _integerValueForKey:key] != 0;
448 if ([self _boolValueForKey:key] == value)
454 [self _postPreferencesChangesNotification];
459 id o = [self _valueForKey:key];
465 if ([self _unsignedLongLongValueForKey:key] == value)
471 [self _postPreferencesChangesNotification];
476 return [self _stringValueForKey: WebKitStandardFontPreferenceKey];
481 [self _setStringValue: family forKey: WebKitStandardFontPreferenceKey];
486 return [self _stringValueForKey: WebKitFixedFontPreferenceKey];
491 [self _setStringValue: family forKey: WebKitFixedFontPreferenceKey];
496 return [self _stringValueForKey: WebKitSerifFontPreferenceKey];
501 [self _setStringValue: family forKey: WebKitSerifFontPreferenceKey];
506 return [self _stringValueForKey: WebKitSansSerifFontPreferenceKey];
511 [self _setStringValue: family forKey: WebKitSansSerifFontPreferenceKey];
516 return [self _stringValueForKey: WebKitCursiveFontPreferenceKey];
521 [self _setStringValue: family forKey: WebKitCursiveFontPreferenceKey];
526 return [self _stringValueForKey: WebKitFantasyFontPreferenceKey];
531 [self _setStringValue: family forKey: WebKitFantasyFontPreferenceKey];
536 return [self _integerValueForKey: WebKitDefaultFontSizePreferenceKey];
541 [self _setIntegerValue: size forKey: WebKitDefaultFontSizePreferenceKey];
546 return [self _integerValueForKey: WebKitDefaultFixedFontSizePreferenceKey];
551 [self _setIntegerValue: size forKey: WebKitDefaultFixedFontSizePreferenceKey];
556 return [self _integerValueForKey: WebKitMinimumFontSizePreferenceKey];
561 [self _setIntegerValue: size forKey: WebKitMinimumFontSizePreferenceKey];
566 return [self _integerValueForKey: WebKitMinimumLogicalFontSizePreferenceKey];
571 [self _setIntegerValue: size forKey: WebKitMinimumLogicalFontSizePreferenceKey];
576 return [self _stringValueForKey: WebKitDefaultTextEncodingNamePreferenceKey];
581 [self _setStringValue: encoding forKey: WebKitDefaultTextEncodingNamePreferenceKey];
586 return [self _boolValueForKey: WebKitUserStyleSheetEnabledPreferenceKey];
591 [self _setBoolValue: flag forKey: WebKitUserStyleSheetEnabledPreferenceKey];
596 NSString *locationString = [self _stringValueForKey: WebKitUserStyleSheetLocationPreferenceKey];
616 [self _setStringValue:locationString forKey: WebKitUserStyleSheetLocationPreferenceKey];
621 return [self _boolValueForKey: WebKitShouldPrintBackgroundsPreferenceKey];
626 [self _setBoolValue: flag forKey: WebKitShouldPrintBackgroundsPreferenceKey];
631 return [self _boolValueForKey: WebKitJavaEnabledPreferenceKey];
636 [self _setBoolValue: flag forKey: WebKitJavaEnabledPreferenceKey];
641 return [self _boolValueForKey: WebKitJavaScriptEnabledPreferenceKey];
646 [self _setBoolValue: flag forKey: WebKitJavaScriptEnabledPreferenceKey];
651 return [self _boolValueForKey: WebKitJavaScriptCanOpenWindowsAutomaticallyPreferenceKey];
656 [self _setBoolValue: flag forKey: WebKitJavaScriptCanOpenWindowsAutomaticallyPreferenceKey];
661 return [self _boolValueForKey: WebKitPluginsEnabledPreferenceKey];
666 [self _setBoolValue: flag forKey: WebKitPluginsEnabledPreferenceKey];
671 return [self _boolValueForKey: WebKitAllowAnimatedImagesPreferenceKey];
676 [self _setBoolValue: flag forKey: WebKitAllowAnimatedImagesPreferenceKey];
681 return [self _boolValueForKey: WebKitAllowAnimatedImageLoopingPreferenceKey];
686 [self _setBoolValue: flag forKey: WebKitAllowAnimatedImageLoopingPreferenceKey];
691 [self _setBoolValue: flag forKey: WebKitDisplayImagesKey];
696 return [self _boolValueForKey: WebKitDisplayImagesKey];
711 [self _setBoolValue: flag forKey: WebKitTabToLinksPreferenceKey];
716 return [self _boolValueForKey:WebKitTabToLinksPreferenceKey];
721 [self _setBoolValue:flag forKey:WebKitPrivateBrowsingEnabledPreferenceKey];
726 return [self _boolValueForKey:WebKitPrivateBrowsingEnabledPreferenceKey];
731 [self _setBoolValue:usesPageCache forKey:WebKitUsesPageCachePreferenceKey];
736 return [self _boolValueForKey:WebKitUsesPageCachePreferenceKey];
741 [self _setIntegerValue:cacheModel forKey:WebKitCacheModelPreferenceKey];
742 [self setAutomaticallyDetectsCacheModel:NO];
747 return [self _integerValueForKey:WebKitCacheModelPreferenceKey];
762 return [self _boolValueForKey:WebKitDeveloperExtrasEnabledPreferenceKey];
770 [self _setBoolValue:flag forKey:WebKitDeveloperExtrasEnabledPreferenceKey];
775 return [self _boolValueForKey:WebKitAuthorAndUserStylesEnabledPreferenceKey];
780 [self _setBoolValue:flag forKey:WebKitAuthorAndUserStylesEnabledPreferenceKey];
785 return [self _boolValueForKey:WebKitApplicationChromeModeEnabledPreferenceKey];
790 [self _setBoolValue:flag forKey:WebKitApplicationChromeModeEnabledPreferenceKey];
795 return [self _boolValueForKey:WebKitWebArchiveDebugModeEnabledPreferenceKey];
800 [self _setBoolValue:flag forKey:WebKitWebArchiveDebugModeEnabledPreferenceKey];
805 return [self _boolValueForKey:WebKitLocalFileContentSniffingEnabledPreferenceKey];
810 [self _setBoolValue:flag forKey:WebKitLocalFileContentSniffingEnabledPreferenceKey];
815 return [self _boolValueForKey:WebKitOfflineWebApplicationCacheEnabledPreferenceKey];
820 [self _setBoolValue:flag forKey:WebKitOfflineWebApplicationCacheEnabledPreferenceKey];
825 return [self _boolValueForKey:WebKitZoomsTextOnlyPreferenceKey];
830 [self _setBoolValue:flag forKey:WebKitZoomsTextOnlyPreferenceKey];
835 return [self _boolValueForKey:WebKitXSSAuditorEnabledPreferenceKey];
840 [self _setBoolValue:flag forKey:WebKitXSSAuditorEnabledPreferenceKey];
845 return [self _boolValueForKey:WebKitRespectStandardStyleKeyEquivalentsPreferenceKey];
850 [self _setBoolValue:flag forKey:WebKitRespectStandardStyleKeyEquivalentsPreferenceKey];
855 return [self _boolValueForKey:WebKitShowsURLsInToolTipsPreferenceKey];
860 [self _setBoolValue:flag forKey:WebKitShowsURLsInToolTipsPreferenceKey];
865 return [self _boolValueForKey: WebKitTextAreasAreResizablePreferenceKey];
870 [self _setBoolValue: flag forKey: WebKitTextAreasAreResizablePreferenceKey];
875 return [self _boolValueForKey:WebKitShrinksStandaloneImagesToFitPreferenceKey];
880 [self _setBoolValue:flag forKey:WebKitShrinksStandaloneImagesToFitPreferenceKey];
895 return [self _boolValueForKey: WebKitUsesEncodingDetectorPreferenceKey];
900 [self _setBoolValue: flag forKey: WebKitUsesEncodingDetectorPreferenceKey];
905 return [self _boolValueForKey: WebKitWebSecurityEnabledPreferenceKey];
910 [self _setBoolValue: flag forKey: WebKitWebSecurityEnabledPreferenceKey];
915 return [self _boolValueForKey: WebKitAllowUniversalAccessFromFileURLsPreferenceKey];
920 [self _setBoolValue: flag forKey: WebKitAllowUniversalAccessFromFileURLsPreferenceKey];
925 // FIXME: There's probably no good reason to read from the standard user defaults instead of self.
931 return [self _floatValueForKey:WebKitPDFScaleFactorPreferenceKey];
936 [self _setFloatValue:factor forKey:WebKitPDFScaleFactorPreferenceKey];
941 PDFDisplayMode value = [self _integerValueForKey:WebKitPDFDisplayModePreferenceKey];
951 [self _setIntegerValue:mode forKey:WebKitPDFDisplayModePreferenceKey];
956 WebKitEditableLinkBehavior value = static_cast<WebKitEditableLinkBehavior> ([self _integerValueForKey:WebKitEditableLinkBehaviorPreferenceKey]);
971 [self _setIntegerValue:behavior forKey:WebKitEditableLinkBehaviorPreferenceKey];
976 WebTextDirectionSubmenuInclusionBehavior value = static_cast<WebTextDirectionSubmenuInclusionBehavior>([self _integerValueForKey:WebKitTextDirectionSubmenuInclusionBehaviorPreferenceKey]);
988 [self _setIntegerValue:behavior forKey:WebKitTextDirectionSubmenuInclusionBehaviorPreferenceKey];
993 return [self _boolValueForKey:WebKitUseSiteSpecificSpoofingPreferenceKey];
998 [self _setBoolValue:newValue forKey:WebKitUseSiteSpecificSpoofingPreferenceKey];
1003 return [self _boolValueForKey:WebKitDatabasesEnabledPreferenceKey];
1008 [self _setBoolValue:databasesEnabled forKey:WebKitDatabasesEnabledPreferenceKey];
1013 return [self _boolValueForKey:WebKitLocalStorageEnabledPreferenceKey];
1018 [self _setBoolValue:localStorageEnabled forKey:WebKitLocalStorageEnabledPreferenceKey];
1023 return [self _boolValueForKey:WebKitExperimentalNotificationsEnabledPreferenceKey];
1028 [self _setBoolValue:experimentalNotificationsEnabled forKey:WebKitExperimentalNotificationsEnabledPreferenceKey];
1038 WebPreferences *instance = [webPreferencesInstances objectForKey:[self _concatenateKeyWithIBCreatorID:ident]];
1048 [webPreferencesInstances setObject:instance forKey:[self _concatenateKeyWithIBCreatorID:ident]];
1049 LOG(Encoding, "recording %p for %@\n", instance, [self _concatenateKeyWithIBCreatorID:ident]);
1065 [self performSelector:@selector(_checkLastReferenceForIdentifier:) withObject:[self _concatenateKeyWithIBCreatorID:ident] afterDelay:0.1];
1071 [self performSelectorOnMainThread:_cmd withObject:nil waitUntilDone:NO];
1076 postNotificationName:WebPreferencesChangedNotification object:self
1087 NSString *systemEncodingName = (NSString *)CFStringConvertEncodingToIANACharSetName([self _systemCFStringEncoding]);
1110 return [self _boolValueForKey:WebKitDOMPasteAllowedPreferenceKey];
1115 [self _setBoolValue:DOMPasteAllowed forKey:WebKitDOMPasteAllowedPreferenceKey];
1120 return [[self _stringValueForKey:WebKitLocalStorageDatabasePathPreferenceKey] stringByStandardizingPath];
1125 [self _setStringValue:[path stringByStandardizingPath] forKey:WebKitLocalStorageDatabasePathPreferenceKey];
1130 return [[self _stringValueForKey:WebKitFTPDirectoryTemplatePath] stringByStandardizingPath];
1135 [self _setStringValue:[path stringByStandardizingPath] forKey:WebKitFTPDirectoryTemplatePath];
1140 return [self _boolValueForKey:WebKitForceFTPDirectoryListings];
1145 [self _setBoolValue:force forKey:WebKitForceFTPDirectoryListings];
1150 return [self _boolValueForKey:WebKitAcceleratedCompositingEnabledPreferenceKey];
1155 [self _setBoolValue:enabled forKey:WebKitAcceleratedCompositingEnabledPreferenceKey];
1160 return [self _boolValueForKey:WebKitShowDebugBordersPreferenceKey];
1165 [self _setBoolValue:enabled forKey:WebKitShowDebugBordersPreferenceKey];
1170 return [self _boolValueForKey:WebKitShowRepaintCounterPreferenceKey];
1175 [self _setBoolValue:enabled forKey:WebKitShowRepaintCounterPreferenceKey];
1180 return [self _boolValueForKey:WebKitWebGLEnabledPreferenceKey];
1185 [self _setBoolValue:enabled forKey:WebKitWebGLEnabledPreferenceKey];
1190 return [self _boolValueForKey:WebKitUsesProxiedOpenPanelPreferenceKey];
1195 [self _setBoolValue:enabled forKey:WebKitUsesProxiedOpenPanelPreferenceKey];
1200 return [self _integerValueForKey:WebKitPluginAllowedRunTimePreferenceKey];
1205 return [self _setIntegerValue:allowedRunTime forKey:WebKitPluginAllowedRunTimePreferenceKey];
1210 return [self _boolValueForKey:WebKitFrameSetFlatteningEnabledPreferenceKey];
1215 [self _setBoolValue:flag forKey:WebKitFrameSetFlatteningEnabledPreferenceKey];
1224 object:self
1235 [self _setStringValue:value forKey:key];