Changeset 72631 in webkit
- Timestamp:
- Nov 23, 2010 2:54:45 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r72630 r72631 1 2010-11-23 Shimeng (Simon) Wang <swang@google.com> 2 3 Reviewed by Steve Block. 4 5 Use platform bridge to set scroll position. 6 https://bugs.webkit.org/show_bug.cgi?id=49550 7 8 Refactoring only. Existing tests shall suffice. 9 10 * platform/android/PlatformBridge.h: 11 * platform/android/ScrollViewAndroid.cpp: 12 (WebCore::ScrollView::platformSetScrollPosition): 13 1 14 2010-11-23 Andreas Kling <kling@webkit.org> 2 15 -
trunk/WebCore/platform/android/PlatformBridge.h
r71639 r72631 82 82 namespace WebCore { 83 83 84 class ScrollView; 84 85 class Widget; 85 86 … … 105 106 // Plugin 106 107 static NPObject* pluginScriptableObject(Widget*); 108 109 static void setScrollPosition(ScrollView*, int x, int y); 110 107 111 // Language 108 112 static String computeDefaultLanguage(); -
trunk/WebCore/platform/android/ScrollViewAndroid.cpp
r50971 r72631 71 71 if (parent()) // don't attempt to scroll subframes; they're fully visible 72 72 return; 73 android::WebViewCore::getWebViewCore(this)->scrollTo(pt.x(), pt.y());73 PlatformBridge::setScrollPosition(this, pt.x(), pt.y()); 74 74 } 75 75
Note: See TracChangeset
for help on using the changeset viewer.