diff options
Diffstat (limited to 'WebKit/mac/WebView/WebFramePrivate.h')
-rw-r--r-- | WebKit/mac/WebView/WebFramePrivate.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/WebKit/mac/WebView/WebFramePrivate.h b/WebKit/mac/WebView/WebFramePrivate.h index 428c142..2ea686e 100644 --- a/WebKit/mac/WebView/WebFramePrivate.h +++ b/WebKit/mac/WebView/WebFramePrivate.h @@ -35,6 +35,7 @@ #define ENABLE_NETSCAPE_PLUGIN_API 1 #endif +@class DOMNode; @class WebIconFetcher; @class WebScriptObject; @@ -51,8 +52,9 @@ typedef enum { WebFrameLoadTypeReload, WebFrameLoadTypeReloadAllowingStaleData, WebFrameLoadTypeSame, // user loads same URL again (but not reload button) - WebFrameLoadTypeInternal, // maps to WebCore::FrameLoadTypeRedirectWithLockedHistory - WebFrameLoadTypeReplace + WebFrameLoadTypeInternal, // maps to WebCore::FrameLoadTypeRedirectWithLockedBackForwardList + WebFrameLoadTypeReplace, + WebFrameLoadTypeReloadFromOrigin } WebFrameLoadType; @interface WebFrame (WebPrivate) @@ -84,4 +86,13 @@ typedef enum { - (void)_recursive_pauseNullEventsForAllNetscapePlugins; #endif +// Pause a given CSS animation or transition on the target node at a specific time. +// If the animation or transition is already paused, it will update its pause time. +// This method is only intended to be used for testing the CSS animation and transition system. +- (BOOL)_pauseAnimation:(NSString*)name onNode:(DOMNode *)node atTime:(NSTimeInterval)time; +- (BOOL)_pauseTransitionOfProperty:(NSString*)name onNode:(DOMNode*)node atTime:(NSTimeInterval)time; + +// Returns the total number of currently running animations (includes both CSS transitions and CSS animations). +- (unsigned) _numberOfActiveAnimations; + @end |