Changeset 116729 in webkit
- Timestamp:
- May 10, 2012 10:31:35 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 46 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r116679 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 * Source/autotools/symbols.filter: Add a symbol filter for resumeAnimations. 9 1 10 2012-05-10 Zan Dobersek <zandobersek@gmail.com> 2 11 -
trunk/LayoutTests/ChangeLog
r116728 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Call resumeAnimations functions from internals, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 * animations/play-state-suspend.html: 12 * animations/stop-animation-on-suspend.html: 13 * animations/suspend-resume-animation-events.html: 14 * animations/suspend-resume-animation.html: 15 1 16 2012-05-10 Kent Tamura <tkent@chromium.org> 2 17 -
trunk/LayoutTests/animations/play-state-suspend.html
r116610 r116729 69 69 function resume() 70 70 { 71 if (window. layoutTestController)72 layoutTestController.resumeAnimations();71 if (window.internals) 72 internals.resumeAnimations(document); 73 73 } 74 74 -
trunk/LayoutTests/animations/stop-animation-on-suspend.html
r116610 r116729 47 47 function resume() 48 48 { 49 if (window. layoutTestController)50 layoutTestController.resumeAnimations();49 if (window.internals) 50 internals.resumeAnimations(document); 51 51 } 52 52 -
trunk/LayoutTests/animations/suspend-resume-animation-events.html
r116610 r116729 37 37 function resume() 38 38 { 39 if (window. layoutTestController)40 layoutTestController.resumeAnimations();39 if (window.internals) 40 internals.resumeAnimations(document); 41 41 } 42 42 -
trunk/LayoutTests/animations/suspend-resume-animation.html
r116610 r116729 36 36 function resume() 37 37 { 38 if (window. layoutTestController)39 layoutTestController.resumeAnimations();38 if (window.internals) 39 internals.resumeAnimations(document); 40 40 } 41 41 -
trunk/Source/WebCore/ChangeLog
r116727 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Add resumeAnimations functions, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 No new tests, since we are improving here the infra-structure for testing 12 a specific method. 13 14 * testing/Internals.cpp: 15 (WebCore::Internals::resumeAnimations): 16 (WebCore): 17 * testing/Internals.h: 18 (Internals): 19 * testing/Internals.idl: 20 1 21 2012-05-10 Min Qin <qinmin@google.com> 2 22 -
trunk/Source/WebCore/testing/Internals.cpp
r116650 r116729 1021 1021 } 1022 1022 1023 void Internals::resumeAnimations(Document* document, ExceptionCode& ec) const 1024 { 1025 if (!document || !document->frame()) { 1026 ec = INVALID_ACCESS_ERR; 1027 return; 1028 } 1029 1030 AnimationController* controller = document->frame()->animation(); 1031 if (!controller) 1032 return; 1033 1034 controller->resumeAnimations(); 1035 } 1036 1037 1023 1038 #if ENABLE(FULLSCREEN_API) 1024 1039 void Internals::webkitWillEnterFullScreenForElement(Document* document, Element* element) -
trunk/Source/WebCore/testing/Internals.h
r116610 r116729 165 165 166 166 void suspendAnimations(Document*, ExceptionCode&) const; 167 void resumeAnimations(Document*, ExceptionCode&) const; 167 168 168 169 #if ENABLE(INSPECTOR) -
trunk/Source/WebCore/testing/Internals.idl
r116610 r116729 134 134 135 135 void suspendAnimations(in Document document) raises (DOMException); 136 void resumeAnimations(in Document document) raises (DOMException); 136 137 137 138 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS -
trunk/Source/WebKit/efl/ChangeLog
r116726 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Remove resumeAnimations functions, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: 12 * WebCoreSupport/DumpRenderTreeSupportEfl.h: 13 1 14 2012-05-10 Kangil Han <kangil.han@samsung.com> 2 15 -
trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp
r116639 r116729 279 279 } 280 280 281 void DumpRenderTreeSupportEfl::resumeAnimations(Evas_Object* ewkFrame)282 {283 WebCore::Frame* frame = EWKPrivate::coreFrame(ewkFrame);284 285 if (!frame)286 return;287 288 WebCore::AnimationController *animationController = frame->animation();289 if (animationController)290 animationController->resumeAnimations();291 }292 293 281 WebCore::IntRect DumpRenderTreeSupportEfl::selectionRectangle(const Evas_Object* ewkFrame) 294 282 { -
trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h
r116639 r116729 63 63 static String renderTreeDump(Evas_Object* ewkFrame); 64 64 static String responseMimeType(const Evas_Object* ewkFrame); 65 static void resumeAnimations(Evas_Object* ewkFrame);66 65 static WebCore::IntRect selectionRectangle(const Evas_Object* ewkFrame); 67 66 static String suitableDRTFrameName(const Evas_Object* ewkFrame); -
trunk/Source/WebKit/gtk/ChangeLog
r116610 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Remove resumeAnimations functions, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: 12 * WebCoreSupport/DumpRenderTreeSupportGtk.h: 13 (DumpRenderTreeSupportGtk): 14 1 15 2012-05-09 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 16 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
r116610 r116729 364 364 } 365 365 366 void DumpRenderTreeSupportGtk::resumeAnimations(WebKitWebFrame* frame)367 {368 Frame* coreFrame = core(frame);369 if (!coreFrame)370 return;371 372 return coreFrame->animation()->resumeAnimations();373 }374 375 366 void DumpRenderTreeSupportGtk::clearMainFrameName(WebKitWebFrame* frame) 376 367 { -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
r116610 r116729 73 73 static WTF::CString markerTextForListItem(WebKitWebFrame*, JSContextRef, JSValueRef nodeObject); 74 74 static unsigned int numberOfActiveAnimations(WebKitWebFrame*); 75 static void resumeAnimations(WebKitWebFrame*);76 75 static void clearMainFrameName(WebKitWebFrame*); 77 76 static AtkObject* getFocusedAccessibleElement(WebKitWebFrame*); -
trunk/Source/WebKit/mac/ChangeLog
r116695 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Remove resumeAnimations functions, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 * WebKit.order: 12 * WebView/WebFrame.mm: 13 * WebView/WebFramePrivate.h: 14 1 15 2012-05-10 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/Source/WebKit/mac/WebKit.order
r116610 r116729 1222 1222 -[WebView(WebPrivate) setFrameSize:] 1223 1223 -[WebFrame(WebKitDebug) renderTreeAsExternalRepresentationForPrinting:] 1224 -[WebFrame(WebPrivate) _resumeAnimations]1225 1224 +[WebView(WebPrivate) _pointingHandCursor] 1226 1225 _WKGetCFURLResponseURL -
trunk/Source/WebKit/mac/WebView/WebFrame.mm
r116610 r116729 999 999 } 1000 1000 1001 - (void) _resumeAnimations1002 {1003 Frame* frame = core(self);1004 if (!frame)1005 return;1006 1007 frame->animation()->resumeAnimations();1008 }1009 1010 1001 - (void)_replaceSelectionWithFragment:(DOMDocumentFragment *)fragment selectReplacement:(BOOL)selectReplacement smartReplace:(BOOL)smartReplace matchStyle:(BOOL)matchStyle 1011 1002 { -
trunk/Source/WebKit/mac/WebView/WebFramePrivate.h
r116610 r116729 108 108 - (unsigned)_numberOfActiveAnimations; 109 109 110 // Suspend and resume animations (includes both CSS transitions and CSS animations).111 - (void)_resumeAnimations;112 113 110 - (void)_replaceSelectionWithFragment:(DOMDocumentFragment *)fragment selectReplacement:(BOOL)selectReplacement smartReplace:(BOOL)smartReplace matchStyle:(BOOL)matchStyle; 114 111 - (void)_replaceSelectionWithText:(NSString *)text selectReplacement:(BOOL)selectReplacement smartReplace:(BOOL)smartReplace; -
trunk/Source/WebKit/qt/ChangeLog
r116631 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Remove resumeAnimations functions, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: 12 * WebCoreSupport/DumpRenderTreeSupportQt.h: 13 1 14 2012-05-10 Marius Storm-Olsen <marius.storm-olsen@nokia.com> 2 15 -
trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp
r116610 r116729 385 385 } 386 386 387 void DumpRenderTreeSupportQt::resumeAnimations(QWebFrame *frame)388 {389 Frame* coreFrame = QWebFramePrivate::core(frame);390 if (!coreFrame)391 return;392 393 AnimationController* controller = coreFrame->animation();394 if (!controller)395 return;396 397 controller->resumeAnimations();398 }399 400 387 void DumpRenderTreeSupportQt::clearFrameName(QWebFrame* frame) 401 388 { -
trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h
r116610 r116729 142 142 static void overwritePluginDirectories(); 143 143 static int numberOfActiveAnimations(QWebFrame*); 144 static void resumeAnimations(QWebFrame*);145 144 static int numberOfPages(QWebFrame* frame, float width, float height); 146 145 static int pageNumberForElementById(QWebFrame* frame, const QString& id, float width, float height); -
trunk/Source/WebKit/win/ChangeLog
r116687 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Remove resumeAnimations functions, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 * Interfaces/IWebFramePrivate.idl: 12 * WebFrame.cpp: 13 * WebFrame.h: 14 1 15 2012-05-10 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/Source/WebKit/win/Interfaces/IWebFramePrivate.idl
r116610 r116729 111 111 HRESULT renderTreeAsExternalRepresentation([in] BOOL forPrinting, [out, retval] BSTR* result); 112 112 113 HRESULT resumeAnimations();114 115 113 HRESULT loadPlainTextString([in] BSTR string, [in] BSTR url); 116 114 -
trunk/Source/WebKit/win/WebFrame.cpp
r116610 r116729 1312 1312 } 1313 1313 1314 HRESULT WebFrame::resumeAnimations()1315 {1316 Frame* frame = core(this);1317 if (!frame)1318 return E_FAIL;1319 1320 frame->animation()->resumeAnimations();1321 return S_OK;1322 }1323 1324 1314 HRESULT WebFrame::isDisplayingStandaloneImage(BOOL* result) 1325 1315 { -
trunk/Source/WebKit/win/WebFrame.h
r116610 r116729 261 261 virtual HRESULT STDMETHODCALLTYPE pauseTransition(BSTR propertyName, IDOMNode*, double secondsFromNow, BOOL* transitionWasRunning); 262 262 virtual HRESULT STDMETHODCALLTYPE numberOfActiveAnimations(UINT*); 263 virtual HRESULT STDMETHODCALLTYPE resumeAnimations();264 263 virtual HRESULT STDMETHODCALLTYPE loadPlainTextString(BSTR string, BSTR url); 265 264 -
trunk/Source/WebKit2/ChangeLog
r116720 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 * win/WebKit2.def: Add a symbol filter for resumeAnimations. 9 1 10 2012-05-10 Anders Carlsson <andersca@apple.com> 2 11 -
trunk/Source/WebKit2/win/WebKit2.def
r116610 r116729 257 257 ?isPageBoxVisible@Document@WebCore@@QAE_NH@Z 258 258 ?suspendAnimations@AnimationController@WebCore@@QAEXXZ 259 ?resumeAnimations@AnimationController@WebCore@@QAEXXZ -
trunk/Source/autotools/symbols.filter
r116610 r116729 109 109 _ZN7WebCore8Document16isPageBoxVisibleEi; 110 110 _ZN7WebCore19AnimationController17suspendAnimationsEv; 111 _ZN7WebCore19AnimationController16resumeAnimationsEv; 111 112 _ZNK7WebCore19InspectorController12getHighlightEPNS_9HighlightE; 112 113 _ZN7WebCore24InspectorInstrumentation26instrumentingAgentsForPageEPNS_4PageE; -
trunk/Tools/ChangeLog
r116719 r116729 1 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Move resumeAnimations to use Internals interface 4 https://bugs.webkit.org/show_bug.cgi?id=86063 5 6 Reviewed by Alexey Proskuryakov. 7 8 Remove resumeAnimations functions, because it is able to work in the 9 cross-port way through the Internals interface. 10 11 * DumpRenderTree/LayoutTestController.cpp: 12 (LayoutTestController::staticFunctions): 13 * DumpRenderTree/LayoutTestController.h: 14 (LayoutTestController): 15 * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp: 16 * DumpRenderTree/chromium/LayoutTestController.cpp: 17 (LayoutTestController::LayoutTestController): 18 * DumpRenderTree/chromium/LayoutTestController.h: 19 (LayoutTestController): 20 * DumpRenderTree/efl/LayoutTestControllerEfl.cpp: 21 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 22 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 23 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 24 * DumpRenderTree/qt/LayoutTestControllerQt.h: 25 (LayoutTestController): 26 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 27 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 28 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: 29 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: 30 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: 31 (LayoutTestController): 32 1 33 2012-05-10 Alexey Proskuryakov <ap@apple.com> 2 34 -
trunk/Tools/DumpRenderTree/LayoutTestController.cpp
r116610 r116729 1860 1860 LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject)); 1861 1861 return JSValueMakeNumber(context, controller->numberOfActiveAnimations()); 1862 }1863 1864 static JSValueRef resumeAnimationsCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)1865 {1866 LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject));1867 controller->resumeAnimations();1868 return JSValueMakeUndefined(context);1869 1862 } 1870 1863 … … 2344 2337 { "notifyDone", notifyDoneCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2345 2338 { "numberOfActiveAnimations", numberOfActiveAnimationsCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2346 { "resumeAnimations", resumeAnimationsCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },2347 2339 { "overridePreference", overridePreferenceCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2348 2340 { "pageNumberForElementById", pageNumberForElementByIdCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, -
trunk/Tools/DumpRenderTree/LayoutTestController.h
r116610 r116729 291 291 bool pauseTransitionAtTimeOnElementWithId(JSStringRef propertyName, double time, JSStringRef elementId); 292 292 unsigned numberOfActiveAnimations() const; 293 void resumeAnimations() const;294 293 295 294 void addOriginAccessWhitelistEntry(JSStringRef sourceOrigin, JSStringRef destinationProtocol, JSStringRef destinationHost, bool allowDestinationSubdomains); -
trunk/Tools/DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp
r116610 r116729 706 706 } 707 707 708 void LayoutTestController::resumeAnimations() const709 {710 if (mainFrame && mainFrame->animation())711 mainFrame->animation()->resumeAnimations();712 }713 714 708 void LayoutTestController::setSerializeHTTPLoads(bool) 715 709 { -
trunk/Tools/DumpRenderTree/chromium/LayoutTestController.cpp
r116610 r116729 166 166 bindMethod("repaintSweepHorizontally", &LayoutTestController::repaintSweepHorizontally); 167 167 bindMethod("resetPageVisibility", &LayoutTestController::resetPageVisibility); 168 bindMethod("resumeAnimations", &LayoutTestController::resumeAnimations);169 168 bindMethod("setAcceptsEditing", &LayoutTestController::setAcceptsEditing); 170 169 bindMethod("setAllowDisplayOfInsecureContent", &LayoutTestController::setAllowDisplayOfInsecureContent); … … 1065 1064 } 1066 1065 1067 void LayoutTestController::resumeAnimations()1068 {1069 WebFrame* webFrame = m_shell->webView()->mainFrame();1070 if (!webFrame)1071 return;1072 1073 WebAnimationController* controller = webFrame->animationController();1074 if (!controller)1075 return;1076 1077 controller->resumeAnimations();1078 }1079 1080 1066 void LayoutTestController::pauseAnimationAtTimeOnElementWithId(const CppArgumentList& arguments, CppVariant* result) 1081 1067 { … … 1147 1133 { 1148 1134 result->set(numberOfActiveAnimations()); 1149 }1150 1151 void LayoutTestController::resumeAnimations(const CppArgumentList&, CppVariant* result)1152 {1153 resumeAnimations();1154 result->setNull();1155 1135 } 1156 1136 -
trunk/Tools/DumpRenderTree/chromium/LayoutTestController.h
r116610 r116729 244 244 void disableAutoResizeMode(const CppArgumentList&, CppVariant*); 245 245 void numberOfActiveAnimations(const CppArgumentList&, CppVariant*); 246 void resumeAnimations(const CppArgumentList&, CppVariant*);247 246 void disableImageLoading(const CppArgumentList&, CppVariant*); 248 247 void setIconDatabaseEnabled(const CppArgumentList&, CppVariant*); … … 574 573 bool elementDoesAutoCompleteForElementWithId(const WebKit::WebString&); 575 574 int numberOfActiveAnimations(); 576 void resumeAnimations();577 575 578 576 // Used for test timeouts. -
trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp
r116639 r116729 649 649 } 650 650 651 void LayoutTestController::resumeAnimations() const652 {653 DumpRenderTreeSupportEfl::resumeAnimations(browser->mainFrame());654 }655 656 651 static inline bool toBool(JSStringRef value) 657 652 { -
trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp
r116610 r116729 786 786 { 787 787 return DumpRenderTreeSupportGtk::numberOfActiveAnimations(mainFrame); 788 }789 790 void LayoutTestController::resumeAnimations() const791 {792 DumpRenderTreeSupportGtk::resumeAnimations(mainFrame);793 788 } 794 789 -
trunk/Tools/DumpRenderTree/mac/LayoutTestControllerMac.mm
r116610 r116729 845 845 } 846 846 847 void LayoutTestController::resumeAnimations() const848 {849 return [mainFrame _resumeAnimations];850 }851 852 847 void LayoutTestController::waitForPolicyDelegate() 853 848 { -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r116610 r116729 570 570 } 571 571 572 void LayoutTestController::resumeAnimations() const573 {574 QWebFrame* frame = m_drt->webPage()->mainFrame();575 Q_ASSERT(frame);576 DumpRenderTreeSupportQt::resumeAnimations(frame);577 }578 579 572 void LayoutTestController::disableImageLoading() 580 573 { -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.h
r116610 r116729 188 188 189 189 unsigned numberOfActiveAnimations() const; 190 void resumeAnimations() const;191 190 192 191 void addOriginAccessWhitelistEntry(const QString& sourceOrigin, const QString& destinationProtocol, const QString& destinationHost, bool allowDestinationSubdomains); -
trunk/Tools/DumpRenderTree/win/LayoutTestControllerWin.cpp
r116610 r116729 1123 1123 } 1124 1124 1125 void LayoutTestController::resumeAnimations() const1126 {1127 COMPtr<IWebFramePrivate> framePrivate(Query, frame);1128 if (!framePrivate)1129 return;1130 1131 framePrivate->resumeAnimations();1132 }1133 1134 1125 static _bstr_t bstrT(JSStringRef jsString) 1135 1126 { -
trunk/Tools/DumpRenderTree/wx/LayoutTestControllerWx.cpp
r116610 r116729 314 314 } 315 315 316 void LayoutTestController::resumeAnimations() const317 {318 // FIXME: implement319 }320 321 316 unsigned LayoutTestController::workerThreadCount() const 322 317 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl
r116338 r116729 92 92 boolean pauseTransitionAtTimeOnElementWithId(in DOMString propertyName, in double time, in DOMString elementId); 93 93 void suspendAnimations(); 94 void resumeAnimations();95 94 96 95 // UserContent testing. -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp
r116338 r116729 210 210 } 211 211 212 void LayoutTestController::resumeAnimations()213 {214 WKBundleFrameRef mainFrame = WKBundlePageGetMainFrame(InjectedBundle::shared().page()->page());215 WKBundleFrameResumeAnimations(mainFrame);216 }217 218 212 JSRetainPtr<JSStringRef> LayoutTestController::layerTreeAsText() const 219 213 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h
r116338 r116729 115 115 bool pauseTransitionAtTimeOnElementWithId(JSStringRef propertyName, double time, JSStringRef elementId); 116 116 void suspendAnimations(); 117 void resumeAnimations();118 117 119 118 // Compositing testing.
Note: See TracChangeset
for help on using the changeset viewer.