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
Родитель e09ba24cde
Коммит 0eaebd881a
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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>

Просмотреть файл

@ -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