- 06 Feb, 2009 12 commits
-
-
krit@webkit.org authored
Reviewed by Simon Hausmann. Fix bug in clearRect(). Use fillRect() instead of eraseRect() to get the context transparent. [QT] clearRect fill's a given rect with white https://bugs.webkit.org/show_bug.cgi?id=23728 * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::clearRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt https://bugs.webkit.org/show_bug.cgi?id=23781 When the document is attached and detached, and when it becomes active/inactive (e.g. coming out or going into the page cache) we need to call RenderView::didMoveOnscreen()/willMoveOffscreen() to hook and unhook the composited layers. Also, if Document::recalcStyle() does not do a layout, it needs to update the compositing layers. * dom/Document.cpp: (WebCore::Document::updateRendering): (WebCore::Document::updateLayout): (WebCore::Document::attach): (WebCore::Document::detach): (WebCore::Document::documentWillBecomeInactive): (WebCore::Document::documentDidBecomeActive): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon Hausmann. Doc - made 2 functions internal as they are not part of the API anymore (and this fixes 2 qdoc warnings) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
2009-02-06 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Tor Arne Vestbø. Added support for different ownership models for wrapped QObjects in the JavaScript environment. WebKit/qt: 2009-02-06 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Tor Arne Vestbø. Added an overload of QWebFrame::addToJavaScriptWindowObject that takes a QScriptEngine::ValueOwnership parameter. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
Reviewed by Alexey Proskuryakov. https://bugs.webkit.org/show_bug.cgi?id=23769 Do not use empty ResourceError errors. Rather create bogus but non-null errors, since some codepaths expect these. For example, see DocumentLoader::mainReceivedError. * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::cancelledError): (WebKit::FrameLoaderClient::blockedError): (WebKit::FrameLoaderClient::cannotShowURLError): (WebKit::FrameLoaderClient::interruptForPolicyChangeError): (WebKit::FrameLoaderClient::cannotShowMIMETypeError): (WebKit::FrameLoaderClient::fileDoesNotExistError): (WebKit::FrameLoaderClient::pluginWillHandleLoadError): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
Reviewed by Alexey Proskuryakov. https://bugs.webkit.org/show_bug.cgi?id=23761 Use two-arg KURL ctor. We are using the one-arg ctor currently, but: - It assumes the strings are already encoded, which is not necesarily the case for us. - The single-argument KURL ctors expect their input to already be the output of a previous KURL::parse call, so for the general case (ie, random user input) we need to use the two-arg ctor anyway. * webkit/webkitwebframe.cpp: * webkit/webkitwebview.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zecke@webkit.org authored
Reviewed by Holger Freyther. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::documentElementAvailable):) Fix compile error in Qt build introduced by the below change (r40694). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Rubber stamped by Dan Bernstein. - fix obvious problem in previous commit (|| used instead of &&) * WebHistoryItem.cpp: (WebHistoryItem::initFromDictionaryRepresentation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
2009-02-05 Maciej Stachowiak <mjs@apple.com> and Brady Eidson <beidson@apple.com> Reviewed by Dan Bernstein and Geoff Garen. - WebCore code to track per-day and per-week visit counts in history The basic idea is as follows: we track daily visits for up to 13 days, and weekly visits for up to 5 weeks past the end of the current daily visits. As soon as the number of daily counts goes over 13, we squish them down into weeks, and then prune the excess weeks. * history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): Remove bogus whitespace. (WebCore::timeToDay): Helper function: convert time to days from the epoch. (WebCore::HistoryItem::padDailyCountsForNewVisit): Insert 0 counts if a site is visited after a span of days. (WebCore::HistoryItem::collapseDailyVisitsToWeekly): Core day/week upgrade algorithm as described above. (WebCore::HistoryItem::recordVisitAtTime): Use above helpers to record all info about a visit to this history item. (WebCore::HistoryItem::setLastVisitedTime): Updated. (WebCore::HistoryItem::visited): Updated. (WebCore::HistoryItem::recordInitialVisit): New function to handle recording data about the very first visit, replacing the prior practice of explicitly setting visit count to 1. (WebCore::HistoryItem::adoptVisitCounts): Take ownership of daily and weekly visit count vectors. (WebCore::HistoryItem::mergeAutoCompleteHints): Added a comment noting that this function doesn't work properly now (though this shouldn't matter much in practice.) * history/HistoryItem.h: (WebCore::HistoryItem::dailyVisitCounts): Accessor for daily counts. (WebCore::HistoryItem::weeklyVisitCounts): Ditto for weekly counts. * WebCore.base.exp: Add new symbols and sort. WebKit/win: 2009-02-05 Maciej Stachowiak <mjs@apple.com> and Brady Eidson <beidson@apple.com> Reviewed by Dan Bernstein and Geoff Garen.. - WebKit code to track per-day and per-week visit counts in history For now this data is only exposed via SPI for performance reasons. * Interfaces/IWebHistoryItemPrivate.idl: Added new interface. * WebHistory.cpp: (WebHistory::visitedURL): Use new recordInitialVisit method. * WebHistoryItem.cpp: (WebHistoryItem::initFromDictionaryRepresentation): Add parsing support for new data. (WebHistoryItem::dictionaryRepresentation): Add saving support for new data. (WebHistoryItem::getDailyVisitCounts): SPI accessor. (WebHistoryItem::getWeeklyVisitCounts): SPI accessor. (WebHistoryItem::recordInitialVisit): Tell WebCore to record an initial visit. * WebHistoryItem.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Reviewed by Dan Bernstein and Geoff Garen. - WebKit code to track per-day and per-week visit counts in history For now this data is only exposed via SPI for performance reasons. * History/WebHistoryItem.mm: (-[WebHistoryItem initFromDictionaryRepresentation:]): Add parsing support for new data. (-[WebHistoryItem _recordInitialVisit]): Tell WebCore to record an initial visit. (-[WebHistoryItem dictionaryRepresentation]): Add saving support for new data. (-[WebHistoryItem _getDailyVisitCounts:]): SPI accessor. (-[WebHistoryItem _getWeeklyVisitCounts:]): SPI accessor. * History/WebHistoryItemInternal.h: Declare new methods. * History/WebHistoryItemPrivate.h: Ditto. * History/WebHistory.mm: (-[WebHistoryPrivate visitedURL:withTitle:]): For the initial visit, use the new _recordInitialVisit method instead of setting visit count to 1. * Misc/WebNSArrayExtras.h: * Misc/WebNSArrayExtras.m: (-[NSArray _webkit_numberAtIndex:]): Helper to retrieve an NSNumber or nil from an NSArray (-[NSArray _webkit_stringAtIndex:]): Helper to retrieve an NSString of nil from an NSArray git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
<rdar://problem/6438271> Improve backspace handling of accented characters Test: platform/mac/editing/deleting/backward-delete.html This change makes WebKit behave like AppKit on the Mac. Other platforms are not affected, because the current behavior matches their standards (tested on Windows, assumed elsewhere). * dom/Position.cpp: (WebCore::Position::previous): (WebCore::Position::next): (WebCore::Position::uncheckedPreviousOffsetForBackwardDeletion): * dom/Position.h: Added a new option for previous(), used to move to a next position for backward deletion. Renamed EUsingComposedCharacters to PositionMoveType. * editing/TypingCommand.cpp: (WebCore::TypingCommand::deleteKeyPressed): Use previous(BackwardDeletion) to find a proper range to delete. Also, simplified a check surrounding this code a little. * editing/htmlediting.cpp: (WebCore::nextVisuallyDistinctCandidate): (WebCore::previousVisuallyDistinctCandidate): Adjusted for renamed enum values. * rendering/RenderObject.cpp: * rendering/RenderObject.h: * rendering/RenderText.h: Added previousOffsetForBackwardDeletion(). * rendering/RenderText.cpp: (WebCore::RenderText::previousOffsetForBackwardDeletion): On PLATFORM(MAC), use an algorithm that matches the one AppKit has for backward deletion. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Feb, 2009 28 commits
-
-
aroben@apple.com authored
This was a regression caused by r40679 Reviewed by Dave Hyatt. Tested by many many tests. * rendering/RenderWidget.cpp: (WebCore::RenderWidget::destroy): Only deref the RenderWidget after we finish accessing its members. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Fix the #include file order, per review comments. * DumpRenderTree/mac/PixelDumpSupportMac.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dan Bernstein https://bugs.webkit.org/show_bug.cgi?id=23362 If the WebHTMLView uses accelerated compositing, we need for force the on-screen capture path and also force animations to start with -display since the DRT window has autodisplay disabled. * DumpRenderTree/mac/PixelDumpSupportMac.mm: (createBitmapContextFromWebView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Anders Carlsson getAnimatedStyleForRenderer() should not create a new CompositeAnimation if the object isn't already animating, and it should just fall back to returning renderer->style(). * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::getAnimatedStyleForRenderer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Rubberstamped by Sam Weinig. * wtf/TypeTraits.h: Include Platform.h, since this header uses macros defined there. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Fix build when ACCELERATED_COMPOSITING is turned on. Give RenderLayerBacking some love after the great RenderBoxModelObject split. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Fix build when ACCELERATED_COMPOSITING is turned on. writeIndent() needs to be static to avoid warnings on some OSes, and remove unused CAToTransform3D() method. * platform/graphics/GraphicsLayer.cpp: (WebCore::writeIndent): * platform/graphics/mac/GraphicsLayerCA.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Anders Carlsson Add some methods to the TransformOperation classes that are required by GraphicsLayer when ACCELERATED_COMPOSITING is turned on. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Minor clenaup: fix brace style in CompositeAnimationPrivate::updateTransitions(), and correct a usage of UNUSED_PARAM(). * page/animation/CompositeAnimation.cpp: (WebCore::CompositeAnimationPrivate::updateTransitions): * page/animation/ImplicitAnimation.cpp: (WebCore::ImplicitAnimation::startAnimation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Fix build when ACCELERATED_COMPOSITING is turned on. animationOfPropertyIsAccelerated() needs to be public because it is called from AnimationController. * page/animation/AnimationBase.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Anders Carlsson Fix mis-typed enum value which is hidden inside #ifdefs so didn't break the build. * page/FrameView.cpp: (WebCore::FrameView::updateCompositingLayers): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Sam Weinig. Build fix. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Geoffrey Garen. Fix missing checked toRenderBlock casts. * rendering/RenderBlock.cpp: (WebCore::RenderBlock::clearFloats): * rendering/RenderBox.cpp: (WebCore::RenderBox::availableHeightUsing): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Patch from Darin Adler. Reviewed by Sam Weinig. Fix case where we were casting to RenderView. No test case possible. * editing/mac/SelectionControllerMac.mm: (WebCore::SelectionController::notifyAccessibilityForSelectionChange): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
2009-02-05 Aaron Boodman <aa@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=23708 Adds documentElementAvailable() callback to FrameLoaderClient. * dom/XMLTokenizerLibxml2.cpp: (WebCore::XMLTokenizer::startElementNs): Add call to dispatchDocumentElementAvailable() * dom/XMLTokenizerQt.cpp: (WebCore::XMLTokenizer::parseStartElement): Ditto. * html/HTMLParser.cpp: (WebCore::HTMLParser::insertNode): Ditto. * loader/EmptyClients.h: (WebCore::EmptyFrameLoaderClient::documentElementAvailable): Stub out documentElementAvailable(). * loader/FrameLoader.cpp: documentElementAvailable() callback plumbing. * loader/FrameLoader.h: Ditto. * loader/FrameLoaderClient.h: Add new documentElementAvailable() callback. WebKit/gtk: 2009-02-05 Aaron Boodman <aa@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=23708 Adds documentElementAvailable() callback to FrameLoaderClient. * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::documentElementAvailable): Stub out documentElementAvailable() * WebCoreSupport/FrameLoaderClientGtk.h: Ditto. WebKit/mac: 2009-02-05 Aaron Boodman <aa@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=23708 Adds documentElementAvailable() callback to FrameLoaderClient. * WebCoreSupport/WebFrameLoaderClient.h: Stub out documentElementAvailable(). * WebCoreSupport/WebFrameLoaderClient.mm: Ditto. WebKit/qt: 2009-02-05 Aaron Boodman <aa@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=23708 Adds documentElementAvailable() callback to FrameLoaderClient. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClient::documentElementAvailable): Stub out documentElementAvailable(). * WebCoreSupport/FrameLoaderClientQt.h: Ditto. WebKit/win: 2009-02-05 Aaron Boodman <aa@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=23708 Adds documentElementAvailable() callback to FrameLoaderClient. * WebFrame.cpp: (WebFrame::documentElementAvailable): Stub out documentElementAvailable() * WebFrame.h: Ditto. WebKit/wx: 2009-02-05 Aaron Boodman <aa@chromium.org> Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=23708 Adds documentElementAvailable() callback to FrameLoaderClient. * WebKitSupport/FrameLoaderClientWx.cpp: (WebCore::FrameLoaderClientWx::documentElementAvailable): Stub out documentElementAvailable(). * WebKitSupport/FrameLoaderClientWx.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=23766 CanvasRenderingContext2D::setShadow needs else for other platforms. Implements the CMYK variant of CanvasRenderingContext2D::setShadow for other platforms using the CMYK color constructor. * html/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::setShadow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=23687 Wires up Skia'a ImageBuffer::toDataURL to support pngs. This helps Chromium pass a couple of layout tests. * platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::toDataURL): * platform/image-encoders: Added. * platform/image-encoders/skia: Added. * platform/image-encoders/skia/PNGImageEncoder.cpp: Added. (WebCore::): (WebCore::PngEncoderState::EncoderWriteCallback): (WebCore::PngEncoderState::ConvertBGRAtoRGB): (WebCore::PngEncoderState::PngWriteStructDestroyer::PngWriteStructDestroyer): (WebCore::PngEncoderState::PngWriteStructDestroyer::~PngWriteStructDestroyer): (WebCore::PNGImageEncoder::encode): * platform/image-encoders/skia/PNGImageEncoder.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Darin Adler. Fix missing checked cast. * rendering/RenderObject.cpp: (WebCore::RenderObject::containingBlock): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
FrameLoader::load() got an additional 'lockHistory' parameter, pass 'false'. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=23625 Additional fix: Skia platform doesn't render text to a canvas or support clipping to an image buffer Fixes three bugs in PlatformContextSkia: * When a new layer was started clipped to an image we used the assignment operator to copy the SkBitmap. If the SkBitmap owns it's pixels, this is not the right thing to do. Instead we need to create a copy of the image. * State holds an SkBitmap by value. State's copy constructor does a memcpy. This is confusing and subtle, I've converted to use a member initializer list which I think is clearer and less error prone. * When creating a new layer there is no need to copy the clip image. * platform/graphics/skia/PlatformContextSkia.cpp: (PlatformContextSkia::State::State): (PlatformContextSkia::save): (PlatformContextSkia::beginLayerClippedToImage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by George Staikos. https://bugs.webkit.org/show_bug.cgi?id=23462 Changes call from setFillColor to setStrokeColor. * html/CanvasStyle.cpp: (WebCore::CanvasStyle::applyStrokeColor): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=23767 Add custom V8 bindings for HTML5 database. * bindings/v8/custom/V8CustomSQLStatementCallback.cpp: Added. (WebCore::V8CustomSQLStatementCallback::V8CustomSQLStatementCallback): (WebCore::V8CustomSQLStatementCallback::~V8CustomSQLStatementCallback): (WebCore::V8CustomSQLStatementCallback::handleEvent): * bindings/v8/custom/V8CustomSQLStatementCallback.h: Added. (WebCore::V8CustomSQLStatementCallback::create): * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp: Added. (WebCore::V8CustomSQLStatementErrorCallback::V8CustomSQLStatementErrorCallback): (WebCore::V8CustomSQLStatementErrorCallback::~V8CustomSQLStatementErrorCallback): (WebCore::V8CustomSQLStatementErrorCallback::handleEvent): * bindings/v8/custom/V8CustomSQLStatementErrorCallback.h: Added. (WebCore::V8CustomSQLStatementErrorCallback::create): * bindings/v8/custom/V8CustomSQLTransactionCallback.cpp: Added. (WebCore::V8CustomSQLTransactionCallback::V8CustomSQLTransactionCallback): (WebCore::V8CustomSQLTransactionCallback::~V8CustomSQLTransactionCallback): (WebCore::V8CustomSQLTransactionCallback::handleEvent): * bindings/v8/custom/V8CustomSQLTransactionCallback.h: Added. (WebCore::V8CustomSQLTransactionCallback::create): * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp: Added. (WebCore::V8CustomSQLTransactionErrorCallback::V8CustomSQLTransactionErrorCallback): (WebCore::V8CustomSQLTransactionErrorCallback::~V8CustomSQLTransactionErrorCallback): (WebCore::V8CustomSQLTransactionErrorCallback::handleEvent): * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.h: Added. (WebCore::V8CustomSQLTransactionErrorCallback::create): * bindings/v8/custom/V8CustomVoidCallback.cpp: Added. (WebCore::V8CustomVoidCallback::V8CustomVoidCallback): (WebCore::V8CustomVoidCallback::~V8CustomVoidCallback): (WebCore::V8CustomVoidCallback::handleEvent): (WebCore::invokeCallback): * bindings/v8/custom/V8CustomVoidCallback.h: Added. (WebCore::V8CustomVoidCallback::create): * bindings/v8/custom/V8DatabaseCustom.cpp: Added. (WebCore::CALLBACK_FUNC_DECL): * bindings/v8/custom/V8SQLResultSetRowListCustom.cpp: Added. (WebCore::CALLBACK_FUNC_DECL): * bindings/v8/custom/V8SQLTransactionCustom.cpp: Added. (WebCore::CALLBACK_FUNC_DECL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
Fix crash on svg custom stop test. A virtual function didn't get patched properly. Reviewed by Sam Weinig * rendering/RenderObject.cpp: (WebCore::RenderObject::clippedOverflowRectForRepaint): * rendering/RenderSVGGradientStop.h: (WebCore::RenderSVGGradientStop::clippedOverflowRectForRepaint): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt https://bugs.webkit.org/show_bug.cgi?id=23765 Add toRenderBoxModelObject() so that we can cast objects that can have layers. Fix getComputedStyle to return the current value of style properties that are undergoing accelerated animations, by asking the AnimationController if the property has accelerated animations, and, if so, asking it to generate an appropriate style. Tightened up some type safety (CSSPropertyID), and code clarity (replace bool with enum). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
2009-02-05 Dimitri Glazkov <dglazkov@chromium.org> Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=23747 Add Chromium threading-related files. * wtf/MainThread.cpp: Added platform guard to initializeMainThread. * wtf/chromium/ChromiumThreading.h: Added. * wtf/chromium/MainThreadChromium.cpp: Added. (WTF::initializeMainThread): (WTF::scheduleDispatchFunctionsOnMainThread): WebCore: 2009-02-05 Dimitri Glazkov <dglazkov@chromium.org> Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=23747 Add Chromium threading-related files. * platform/chromium/TemporaryLinkStubs.cpp: Removed theading-related stubs. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* WebView/WebScriptDebugger.mm: (WebScriptDebugger::initGlobalCallFrame): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-