diff options
author | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-04-12 16:02:38 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-04-12 16:02:38 +0200 |
commit | 50a8b8782ab3dab6446cca9a5528d6287df9d7d1 (patch) | |
tree | 1d53792f2fa08423bc8145cf5c2f7dc3d09f50cf /src/3rdparty/webkit/WebCore/page | |
parent | 0d288fa2112a00ecd8e160dd6ff70ba2e54153ee (diff) | |
download | qt4-tools-50a8b8782ab3dab6446cca9a5528d6287df9d7d1.tar.gz |
Update src/3rdparty/webkit from trunk.
Imported from 862268aeb7150d3795d05bfc05f661bb5c598a27
in branch qtwebkit-2.0 of repository
git://gitorious.org/+qtwebkit-developers/webkit/qtwebkit.git
Reviewed-by: TrustMe
Diffstat (limited to 'src/3rdparty/webkit/WebCore/page')
-rw-r--r-- | src/3rdparty/webkit/WebCore/page/DOMWindow.idl | 14 | ||||
-rw-r--r-- | src/3rdparty/webkit/WebCore/page/Frame.cpp | 5 | ||||
-rw-r--r-- | src/3rdparty/webkit/WebCore/page/Frame.h | 3 |
3 files changed, 10 insertions, 12 deletions
diff --git a/src/3rdparty/webkit/WebCore/page/DOMWindow.idl b/src/3rdparty/webkit/WebCore/page/DOMWindow.idl index d457bdcc1b..31e4d4fee8 100644 --- a/src/3rdparty/webkit/WebCore/page/DOMWindow.idl +++ b/src/3rdparty/webkit/WebCore/page/DOMWindow.idl @@ -293,12 +293,10 @@ module window { #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS attribute EventListener onorientationchange; #endif - #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS - attribute [DontEnum] EventListener ontouchstart; - attribute [DontEnum] EventListener ontouchmove; - attribute [DontEnum] EventListener ontouchend; - attribute [DontEnum] EventListener ontouchcancel; - #endif + attribute [DontEnum,Conditional=TOUCH_EVENTS] EventListener ontouchstart; + attribute [DontEnum,Conditional=TOUCH_EVENTS] EventListener ontouchmove; + attribute [DontEnum,Conditional=TOUCH_EVENTS] EventListener ontouchend; + attribute [DontEnum,Conditional=TOUCH_EVENTS] EventListener ontouchcancel; // EventTarget interface [Custom] void addEventListener(in DOMString type, @@ -712,9 +710,7 @@ module window { #endif #endif -#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS - attribute TouchEventConstructor TouchEvent; -#endif + attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent; attribute DOMFormDataConstructor FormData; diff --git a/src/3rdparty/webkit/WebCore/page/Frame.cpp b/src/3rdparty/webkit/WebCore/page/Frame.cpp index 614bbb9f10..6dbca69246 100644 --- a/src/3rdparty/webkit/WebCore/page/Frame.cpp +++ b/src/3rdparty/webkit/WebCore/page/Frame.cpp @@ -1770,7 +1770,8 @@ Document* Frame::documentAtPoint(const IntPoint& point) void Frame::createView(const IntSize& viewportSize, const Color& backgroundColor, bool transparent, const IntSize& fixedLayoutSize, bool useFixedLayout, - ScrollbarMode horizontalScrollbarMode, ScrollbarMode verticalScrollbarMode) + ScrollbarMode horizontalScrollbarMode, bool horizontalLock, + ScrollbarMode verticalScrollbarMode, bool verticalLock) { ASSERT(this); ASSERT(m_page); @@ -1790,7 +1791,7 @@ void Frame::createView(const IntSize& viewportSize, } else frameView = FrameView::create(this); - frameView->setScrollbarModes(horizontalScrollbarMode, verticalScrollbarMode); + frameView->setScrollbarModes(horizontalScrollbarMode, verticalScrollbarMode, horizontalLock, verticalLock); setView(frameView); diff --git a/src/3rdparty/webkit/WebCore/page/Frame.h b/src/3rdparty/webkit/WebCore/page/Frame.h index 65bdeb0326..67761f9475 100644 --- a/src/3rdparty/webkit/WebCore/page/Frame.h +++ b/src/3rdparty/webkit/WebCore/page/Frame.h @@ -119,7 +119,8 @@ namespace WebCore { void setExcludeFromTextSearch(bool); void createView(const IntSize&, const Color&, bool, const IntSize &, bool, - ScrollbarMode = ScrollbarAuto, ScrollbarMode = ScrollbarAuto); + ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, + ScrollbarMode = ScrollbarAuto, bool verticalLock = false); void injectUserScripts(UserScriptInjectionTime); |