diff options
Diffstat (limited to 'WebKitTools/DumpRenderTree/mac/DumpRenderTreeMac.h')
-rw-r--r-- | WebKitTools/DumpRenderTree/mac/DumpRenderTreeMac.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/WebKitTools/DumpRenderTree/mac/DumpRenderTreeMac.h b/WebKitTools/DumpRenderTree/mac/DumpRenderTreeMac.h index c4c7573..03d354d 100644 --- a/WebKitTools/DumpRenderTree/mac/DumpRenderTreeMac.h +++ b/WebKitTools/DumpRenderTree/mac/DumpRenderTreeMac.h @@ -32,6 +32,12 @@ // FIXME: we should add a config.h file for DumpRenderTree. #define WTF_PLATFORM_CF 1 +#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4 +#define BUILDING_ON_TIGER 1 +#elif MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5 +#define BUILDING_ON_LEOPARD 1 +#endif + @class DumpRenderTreeDraggingInfo; @class NavigationController; @class PolicyDelegate; @@ -45,7 +51,7 @@ extern CFMutableSetRef disallowedURLs; extern WebFrame* mainFrame; extern WebFrame* topLoadingFrame; extern DumpRenderTreeDraggingInfo *draggingInfo; -extern NavigationController* navigationController; +extern NavigationController* gNavigationController; extern PolicyDelegate* policyDelegate; extern const unsigned maxViewHeight; |