Reviewed by John Sullivan.
Removing use of SPI in favor of Carbon API to enable and disable secure event input.
* WebCore.exp: Removed wkSecureEventInput and wkSetSecureEventInput.
* platform/mac/WebCoreSystemInterface.h: ditto.
* platform/mac/WebCoreSystemInterface.mm: ditto.
* bridge/mac/FrameMac.mm:
(WebCore::FrameMac::setSecureKeyboardEntry): Uses EnableSecureEventInput and DisableSecureEventInput.
(WebCore::FrameMac::secureKeyboardEntry): Uses IsSecureEventInputEnabled.
WebKit:
Reviewed by John Sullivan.
Removed wkSecureEventInput and wkSetSecureEventInput, since this can be done with API.
* WebCoreSupport/WebSystemInterface.m: (InitWebCoreSystemInterface):
WebKitLibraries:
Reviewed by John Sullivan.
Removed wkSecureEventInput and wkSetSecureEventInput, since this can be done with API.
* WebKitSystemInterface.h:
* libWebKitSystemInterface.a:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16145
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-31 Adele Peterson <adele@apple.com>
+
+ Reviewed by John Sullivan.
+
+ Removing use of SPI in favor of Carbon API to enable and disable secure event input.
+
+ * WebCore.exp: Removed wkSecureEventInput and wkSetSecureEventInput.
+ * platform/mac/WebCoreSystemInterface.h: ditto.
+ * platform/mac/WebCoreSystemInterface.mm: ditto.
+
+ * bridge/mac/FrameMac.mm:
+ (WebCore::FrameMac::setSecureKeyboardEntry): Uses EnableSecureEventInput and DisableSecureEventInput.
+ (WebCore::FrameMac::secureKeyboardEntry): Uses IsSecureEventInputEnabled.
+
2006-08-30 Brady Eidson <beidson@apple.com>
Reviewed by "common sense" (and Maciej)
_wkPathFromFont
_wkPopupMenu
_wkReleaseStyleGroup
-_wkSecureEventInput
_wkSetCGFontRenderingMode
_wkSetDragImage
_wkSetNSURLConnectionDefersCallbacks
_wkSetPatternPhaseInUserSpace
-_wkSetSecureEventInput
_wkSetUpFontCache
_wkSignalCFReadStreamEnd
_wkSignalCFReadStreamError
#import "kjs_window.h"
#import "visible_units.h"
#import "WebCoreSystemInterface.h"
+#import <Carbon/Carbon.h>
#import <JavaScriptCore/NP_jsobject.h>
#import <JavaScriptCore/npruntime_impl.h>
void FrameMac::setSecureKeyboardEntry(bool enable)
{
- wkSetSecureEventInput(enable);
+ if (enable)
+ EnableSecureEventInput();
+ else
+ DisableSecureEventInput();
}
bool FrameMac::secureKeyboardEntry()
{
- return wkSecureEventInput();
+ return IsSecureEventInputEnabled();
}
static DeprecatedValueList<MarkedTextUnderline> convertAttributesToUnderlines(const Range *markedTextRange, NSArray *attributes, NSArray *ranges)
extern NSString* (*wkPathFromFont)(NSFont*);
extern void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*);
extern void (*wkReleaseStyleGroup)(void* group);
-extern BOOL (*wkSecureEventInput)(void);
extern void (*wkSetCGFontRenderingMode)(CGContextRef, NSFont*);
extern void (*wkSetDragImage)(NSImage*, NSPoint offset);
extern void (*wkSetPatternPhaseInUserSpace)(CGContextRef, CGPoint point);
-extern void (*wkSetSecureEventInput)(BOOL);
extern void (*wkSetUpFontCache)(size_t);
extern void (*wkSignalCFReadStreamEnd)(CFReadStreamRef stream);
extern void (*wkSignalCFReadStreamHasBytes)(CFReadStreamRef stream);
NSString* (*wkPathFromFont)(NSFont*);
void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*);
void (*wkReleaseStyleGroup)(void* group);
-BOOL (*wkSecureEventInput)(void);
void (*wkSetCGFontRenderingMode)(CGContextRef, NSFont*);
void (*wkSetDragImage)(NSImage*, NSPoint offset);
void (*wkSetPatternPhaseInUserSpace)(CGContextRef, CGPoint point);
-void (*wkSetSecureEventInput)(BOOL);
void (*wkSetUpFontCache)(size_t);
void (*wkSignalCFReadStreamEnd)(CFReadStreamRef stream);
void (*wkSignalCFReadStreamHasBytes)(CFReadStreamRef stream);
+2006-08-31 Adele Peterson <adele@apple.com>
+
+ Reviewed by John Sullivan.
+
+ Removed wkSecureEventInput and wkSetSecureEventInput, since this can be done with API.
+
+ * WebCoreSupport/WebSystemInterface.m: (InitWebCoreSystemInterface):
+
2006-08-31 John Sullivan <sullivan@apple.com>
Reviewed by Tim Omernick
INIT(PathFromFont);
INIT(PopupMenu);
INIT(ReleaseStyleGroup);
- INIT(SecureEventInput);
INIT(SetCGFontRenderingMode);
INIT(SetDragImage);
INIT(SetPatternPhaseInUserSpace);
- INIT(SetSecureEventInput);
INIT(SetUpFontCache);
INIT(SignalCFReadStreamEnd);
INIT(SignalCFReadStreamHasBytes);
+2006-08-31 Adele Peterson <adele@apple.com>
+
+ Reviewed by John Sullivan.
+
+ Removed wkSecureEventInput and wkSetSecureEventInput, since this can be done with API.
+
+ * WebKitSystemInterface.h:
+ * libWebKitSystemInterface.a:
+
2006-08-30 Adele Peterson <adele@apple.com>
Reviewed by Hyatt.
void WKDisableCGDeferredUpdates(void);
-void WKSetSecureEventInput(BOOL enable);
-BOOL WKSecureEventInput(void);
-
Class WKNSURLProtocolClassForReqest(NSURLRequest *request);
unsigned WKGetNSAutoreleasePoolCount(void);