Oops, these constants can't live in the header. (Fix mac build bustage). b=353503

This commit is contained in:
hwaara%gmail.com 2006-09-27 13:24:51 +00:00
parent 436cd0b706
commit 852a86e393
2 changed files with 5 additions and 5 deletions

View File

@ -42,11 +42,6 @@
#import "mozAccessibleProtocol.h"
// These constants are only defined in OS X SDK 10.4, so we define them in order
// to be able to use for earlier OS versions.
const NSString *kInstanceDescriptionAttribute = @"AXDescription"; // NSAccessibilityDescriptionAttribute
const NSString *kTopLevelUIElementAttribute = @"AXTopLevelUIElement"; // NSAccessibilityTopLevelUIElementAttribute
@class mozRootAccessible;
@interface mozAccessible : NSObject <mozAccessible>

View File

@ -47,6 +47,11 @@
#include "nsIAccessible.h"
// These constants are only defined in OS X SDK 10.4, so we define them in order
// to be able to use for earlier OS versions.
const NSString *kInstanceDescriptionAttribute = @"AXDescription"; // NSAccessibilityDescriptionAttribute
const NSString *kTopLevelUIElementAttribute = @"AXTopLevelUIElement"; // NSAccessibilityTopLevelUIElementAttribute
// converts a screen-global point in the cocoa coordinate system (with origo in the bottom-left corner
// of the screen), into a top-left screen point, that gecko can use.
static inline void