Changeset 94705 in webkit
- Timestamp:
- Sep 7, 2011, 1:13:34 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 25 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r94586 r94705 1 2011-09-07 Alexei Svitkine <asvitkine@chromium.org> 2 3 Add test infrastructure to test rubber-banding overhang drawing along with layout tests for existing Chromium Mac overhang drawing in the non-gpu path. 4 https://bugs.webkit.org/show_bug.cgi?id=67511 5 6 Reviewed by Dimitri Glazkov. 7 8 * Source/autotools/symbols.filter: 9 1 10 2011-09-06 Ryosuke Niwa <rniwa@webkit.org> 2 11 -
trunk/LayoutTests/ChangeLog
r94703 r94705 1 2011-09-07 Alexei Svitkine <asvitkine@chromium.org> 2 3 Add test infrastructure to test rubber-banding overhang drawing along with layout tests for existing Chromium Mac overhang drawing in the non-gpu path. 4 https://bugs.webkit.org/show_bug.cgi?id=67511 5 6 Reviewed by Dimitri Glazkov. 7 8 * platform/chromium-mac/rubberbanding: Added. 9 * platform/chromium-mac/rubberbanding/overhang-e-expected.png: Added. 10 * platform/chromium-mac/rubberbanding/overhang-e-expected.txt: Added. 11 * platform/chromium-mac/rubberbanding/overhang-e.html: Added. 12 * platform/chromium-mac/rubberbanding/overhang-n-expected.png: Added. 13 * platform/chromium-mac/rubberbanding/overhang-n-expected.txt: Added. 14 * platform/chromium-mac/rubberbanding/overhang-n.html: Added. 15 * platform/chromium-mac/rubberbanding/overhang-ne-expected.png: Added. 16 * platform/chromium-mac/rubberbanding/overhang-ne-expected.txt: Added. 17 * platform/chromium-mac/rubberbanding/overhang-ne.html: Added. 18 * platform/chromium-mac/rubberbanding/overhang-nw-expected.png: Added. 19 * platform/chromium-mac/rubberbanding/overhang-nw-expected.txt: Added. 20 * platform/chromium-mac/rubberbanding/overhang-nw.html: Added. 21 * platform/chromium-mac/rubberbanding/overhang-s-expected.png: Added. 22 * platform/chromium-mac/rubberbanding/overhang-s-expected.txt: Added. 23 * platform/chromium-mac/rubberbanding/overhang-s.html: Added. 24 * platform/chromium-mac/rubberbanding/overhang-se-expected.png: Added. 25 * platform/chromium-mac/rubberbanding/overhang-se-expected.txt: Added. 26 * platform/chromium-mac/rubberbanding/overhang-se.html: Added. 27 * platform/chromium-mac/rubberbanding/overhang-sw-expected.png: Added. 28 * platform/chromium-mac/rubberbanding/overhang-sw-expected.txt: Added. 29 * platform/chromium-mac/rubberbanding/overhang-sw.html: Added. 30 * platform/chromium-mac/rubberbanding/overhang-w-expected.png: Added. 31 * platform/chromium-mac/rubberbanding/overhang-w-expected.txt: Added. 32 * platform/chromium-mac/rubberbanding/overhang-w.html: Added. 33 1 34 2011-09-07 David Reveman <reveman@chromium.org> 2 35 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r94703 r94705 463 463 // throw. V8 follows the spec. 464 464 WONTFIX SKIP : fast/js/reparsing-semicolon-insertion.html = FAIL 465 466 // Rubber-banding is currently a Mac only feature. 467 WONTFIX WIN LINUX : platform/chromium/rubberbanding = IMAGE 465 468 466 469 // ----------------------------------------------------------------- -
trunk/Source/WebCore/ChangeLog
r94703 r94705 1 2011-09-07 Alexei Svitkine <asvitkine@chromium.org> 2 3 Add test infrastructure to test rubber-banding overhang drawing along with layout tests for existing Chromium Mac overhang drawing in the non-gpu path. 4 https://bugs.webkit.org/show_bug.cgi?id=67511 5 6 Reviewed by Dimitri Glazkov. 7 8 Tests: platform/chromium-mac/rubberbanding/overhang-e.html 9 platform/chromium-mac/rubberbanding/overhang-n.html 10 platform/chromium-mac/rubberbanding/overhang-ne.html 11 platform/chromium-mac/rubberbanding/overhang-nw.html 12 platform/chromium-mac/rubberbanding/overhang-s.html 13 platform/chromium-mac/rubberbanding/overhang-se.html 14 platform/chromium-mac/rubberbanding/overhang-sw.html 15 platform/chromium-mac/rubberbanding/overhang-w.html 16 17 * WebCore.exp.in: 18 * platform/ScrollableArea.h: 19 * testing/Internals.cpp: 20 (WebCore::Internals::setScrollViewPosition): 21 * testing/Internals.h: 22 * testing/Internals.idl: 23 1 24 2011-09-07 David Reveman <reveman@chromium.org> 2 25 -
trunk/Source/WebCore/WebCore.exp.in
r94644 r94705 373 373 __ZN7WebCore14ScrollableArea17willEndLiveResizeEv 374 374 __ZN7WebCore14ScrollableArea19willStartLiveResizeEv 375 __ZN7WebCore14ScrollableArea28setScrollOffsetFromInternalsERKNS_8IntPointE 375 376 __ZN7WebCore14ScrollbarTheme11nativeThemeEv 377 __ZN7WebCore10ScrollView23setScrollbarsSuppressedEbb 376 378 __ZN7WebCore14SecurityOrigin14threadsafeCopyEv 377 379 __ZN7WebCore14SecurityOrigin16createFromStringERKN3WTF6StringE … … 1321 1323 __ZNK7WebCore8Document6loaderEv 1322 1324 __ZNK7WebCore8Document8settingsEv 1325 __ZNK7WebCore8Document4viewEv 1323 1326 __ZNK7WebCore8IntPointcv7CGPointEv 1324 1327 __ZNK7WebCore8IntPointcv8_NSPointEv -
trunk/Source/WebCore/platform/ScrollableArea.cpp
r91735 r94705 136 136 #endif 137 137 138 // NOTE: Only called from Internals for testing. 139 void ScrollableArea::setScrollOffsetFromInternals(const IntPoint& offset) 140 { 141 setScrollOffsetFromAnimation(offset); 142 } 143 138 144 void ScrollableArea::setScrollOffsetFromAnimation(const IntPoint& offset) 139 145 { -
trunk/Source/WebCore/platform/ScrollableArea.h
r91735 r94705 159 159 virtual bool scrollAnimatorEnabled() const { return false; } 160 160 161 // NOTE: Only called from Internals for testing. 162 void setScrollOffsetFromInternals(const IntPoint&); 163 161 164 private: 162 165 // NOTE: Only called from the ScrollAnimator. 163 166 friend class ScrollAnimator; 164 167 void setScrollOffsetFromAnimation(const IntPoint&); 165 168 166 169 mutable OwnPtr<ScrollAnimator> m_scrollAnimator; 167 170 bool m_constrainsScrollingToContentEdge; -
trunk/Source/WebCore/testing/Internals.cpp
r94633 r94705 33 33 #include "Element.h" 34 34 #include "ExceptionCode.h" 35 #include "FrameView.h" 35 36 #include "HTMLInputElement.h" 36 37 #include "HTMLNames.h" … … 271 272 } 272 273 274 void Internals::setScrollViewPosition(Document* document, long x, long y, ExceptionCode& ec) 275 { 276 if (!document || !document->view()) { 277 ec = INVALID_ACCESS_ERR; 278 return; 279 } 280 281 FrameView* frameView = document->view(); 282 bool constrainsScrollingToContentEdgeOldValue = frameView->constrainsScrollingToContentEdge(); 283 bool scrollbarsSuppressedOldValue = frameView->scrollbarsSuppressed(); 284 285 frameView->setConstrainsScrollingToContentEdge(false); 286 frameView->setScrollbarsSuppressed(false); 287 frameView->setScrollOffsetFromInternals(IntPoint(x, y)); 288 frameView->setScrollbarsSuppressed(scrollbarsSuppressedOldValue); 289 frameView->setConstrainsScrollingToContentEdge(constrainsScrollingToContentEdgeOldValue); 290 } 291 273 292 void Internals::reset(Document* document) 274 293 { -
trunk/Source/WebCore/testing/Internals.h
r94586 r94705 82 82 void setPasswordEchoDurationInSeconds(Document*, double durationInSeconds, ExceptionCode&); 83 83 84 void setScrollViewPosition(Document*, long x, long y, ExceptionCode&); 85 84 86 bool wasLastChangeUserEdit(Element* textField, ExceptionCode&); 85 87 String suggestedValue(Element* inputElement, ExceptionCode&); -
trunk/Source/WebCore/testing/Internals.idl
r94586 r94705 56 56 void setPasswordEchoDurationInSeconds(in Document document, in double durationInSeconds) raises(DOMException); 57 57 58 void setScrollViewPosition(in Document document, in long x, in long y) raises(DOMException); 59 58 60 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException); 59 61 DOMString suggestedValue(in Element inputElement) raises (DOMException); -
trunk/Source/WebKit2/ChangeLog
r94701 r94705 1 2011-09-07 Alexei Svitkine <asvitkine@chromium.org> 2 3 Add test infrastructure to test rubber-banding overhang drawing along with layout tests for existing Chromium Mac overhang drawing in the non-gpu path. 4 https://bugs.webkit.org/show_bug.cgi?id=67511 5 6 Reviewed by Dimitri Glazkov. 7 8 * win/WebKit2.def: 9 * win/WebKit2CFLite.def: 10 1 11 2011-09-06 Oliver Hunt <oliver@apple.com> 2 12 -
trunk/Source/WebKit2/win/WebKit2.def
r94633 r94705 166 166 ?setDOMException@WebCore@@YAXPAVExecState@JSC@@H@Z 167 167 ?setResourcesDataSizeLimitsFromInternals@InspectorController@WebCore@@QAEXHH@Z 168 ?setScrollbarsSuppressed@ScrollView@WebCore@@QAEX_N0@Z 169 ?setScrollOffsetFromInternals@ScrollableArea@WebCore@@QAEXABVIntPoint@2@@Z 168 170 ?setSuggestedValue@HTMLInputElement@WebCore@@QAEXABVString@WTF@@@Z 169 171 ?settings@Document@WebCore@@QBEPAVSettings@2@XZ … … 176 178 ?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVRange@1@@Z 177 179 ?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QAEXXZ 180 ?view@Document@WebCore@@QBEPAVFrameView@2@XZ 178 181 ?virtualFunctionToPreventWeakVtable@JSDOMWrapper@WebCore@@MAEXXZ -
trunk/Source/WebKit2/win/WebKit2CFLite.def
r94633 r94705 160 160 ?setDOMException@WebCore@@YAXPAVExecState@JSC@@H@Z 161 161 ?setResourcesDataSizeLimitsFromInternals@InspectorController@WebCore@@QAEXHH@Z 162 ?setScrollbarsSuppressed@ScrollView@WebCore@@QAEX_N0@Z 163 ?setScrollOffsetFromInternals@ScrollableArea@WebCore@@QAEXABVIntPoint@2@@Z 162 164 ?setSuggestedValue@HTMLInputElement@WebCore@@QAEXABVString@WTF@@@Z 163 165 ?settings@Document@WebCore@@QBEPAVSettings@2@XZ … … 169 171 ?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVRange@1@@Z 170 172 ?toNode@WebCore@@YAPAVNode@1@VJSValue@JSC@@@Z 173 ?view@Document@WebCore@@QBEPAVFrameView@2@XZ 171 174 ?virtualFunctionToPreventWeakVtable@JSDOMWrapper@WebCore@@MAEXXZ -
trunk/Source/autotools/symbols.filter
r94586 r94705 73 73 _ZNK7WebCore8Document4pageEv; 74 74 _ZNK7WebCore8Document8settingsEv; 75 _ZNK7WebCore8Document4viewEv; 75 76 _ZNK7WebCore9TreeScope14getElementByIdERKN3WTF12AtomicStringE; 77 _ZN7WebCore14ScrollableArea28setScrollOffsetFromInternalsERKNS_8IntPointE; 78 _ZN7WebCore10ScrollView23setScrollbarsSuppressedEbb; 76 79 local: 77 80 _Z*;
Note:
See TracChangeset
for help on using the changeset viewer.