2011-12-02 Simon Fraser Layers are flipped in WebKit1 views Reviewed by Sam Weinig. Host the compositing layers in an NSView which is flipped, which helps AppKit get the geometry right in some situations. * WebView/WebHTMLView.mm: (-[WebLayerHostingFlippedView isFlipped]): (-[WebHTMLView attachRootLayer:]): 2011-12-02 Hajime Morrita Unreviewed, rolling out r101751 and r101775. http://trac.webkit.org/changeset/101751 http://trac.webkit.org/changeset/101775 https://bugs.webkit.org/show_bug.cgi?id=73191 breaks Windows build * WebKitPrefix.h: 2011-12-01 Hajime Morrita JS_INLINE and WTF_INLINE should be visible from WebCore https://bugs.webkit.org/show_bug.cgi?id=73191 Reviewed by Kevin Ollivier. Removed macro definitions which is now provided by Platform.h * WebKitPrefix.h: 2011-11-30 Alexey Proskuryakov Remove an unneeded argument from FrameLoaderClient::download https://bugs.webkit.org/show_bug.cgi?id=73486 Reviewed by Andreas Kling. * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::download): Updated for the change. 2011-11-30 Dan Bernstein WebKit/mac part of: Allow the length of a page along the pagination axis to differ from the length of the view https://bugs.webkit.org/show_bug.cgi?id=73476 Reviewed by Anders Carlsson. * WebView/WebView.mm: (-[WebView _setPageLength:]): Added this accessor. (-[WebView _pageLength]): Ditto. * WebView/WebViewPrivate.h: 2011-11-30 Alexey Proskuryakov Download page URL should be set by WebCore https://bugs.webkit.org/show_bug.cgi?id=73358 Reviewed by Darin Adler. * WebCoreSupport/WebFrameLoaderClient.h: Removed setOriginalURLForDownload, which is now in WebCore. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::download): There is no need to set original URL post factum any more. (WebFrameLoaderClient::startDownload): Ditto. 2011-11-29 David Levin Add a way to revert a variable to its previous value after leaving a scope. https://bugs.webkit.org/show_bug.cgi?id=73371 Reviewed by Adam Barth. * ForwardingHeaders/wtf/TemporarilyChange.h: Added. 2011-11-29 Jessie Berlin WKKeyValueStorageManagerGetKeyValueStorageOrigins may not report the correct list of origins the first time it is called. https://bugs.webkit.org/show_bug.cgi?id=73374 () Reviewed by Brady Eidson. * Storage/WebStorageTrackerClient.h: * Storage/WebStorageTrackerClient.mm: (WebStorageTrackerClient::didFinishLoadingOrigins): 2011-11-15 Anders Carlsson DragClient::dragSourceActionMaskForPoint should use root view coordinates https://bugs.webkit.org/show_bug.cgi?id=72409 Reviewed by Sam Weinig. * WebCoreSupport/WebDragClient.mm: (WebDragClient::dragSourceActionMaskForPoint): Use -[WebView _convertPointFromRootView:] to convert the point to the web view coordinate system. 2011-11-15 Anders Carlsson EditorClient::showCorrectionPanel should pass the string bounding box in root view coordinates https://bugs.webkit.org/show_bug.cgi?id=72408 Reviewed by Sam Weinig. * WebCoreSupport/CorrectionPanel.mm: (CorrectionPanel::show): Convert the bounding rect to web view coordinates. * WebView/WebView.mm: (-[WebView _convertPointFromRootView:]): (-[WebView _convertRectFromRootView:]): * WebView/WebViewInternal.h: Add helper methods for converting from root view coordinates to web view coordinates. 2011-11-29 Roland Steiner