- 07 Jan, 2011 40 commits
-
-
mrobinson@webkit.org authored
Reviewed by Mihai Parparita. fast/dom/Window/window-postmessage-clone-frames.html has some timing issues https://bugs.webkit.org/show_bug.cgi?id=52032 Fix the timing issue in fast/dom/Window/window-postmessage-clone-frames.html and move the output console div beyond the file input control, so that output text does not push it outside the viewport. * fast/dom/Window/window-postmessage-clone-frames-expected.txt: Updated results to reflect div movement. * fast/dom/Window/window-postmessage-clone-frames.html: Fix the timing and layout issues with this test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Build fix for GTK+. * GNUmakefile.am: Add RenderFullScreen.cpp to the sources list. * rendering/RenderFullScreen.cpp: (RenderFullScreen::setAnimating): Guard the call to contentChanged with ENABLED(ACCELERATED_COMPOSITING). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ojan@chromium.org authored
Reviewed by Adam Barth. side-by-side diffs in the code review tool https://bugs.webkit.org/show_bug.cgi?id=52019 Support for conversion from the formatted diff to a side-by-side diff. Maintains comments and new comments can be added. The main architectural change is that Line elements are no longer necessarily siblings. Each physical line is now in a LineContainer and LineContainers are siblings. Each Line corresponds to a Line in the unified diff and has an id (e.g. line12). A Line can be a LineContainer or a child of a LineContainer. In this way, converting to side-by-side and, in the future, back to unified is non-lossy. * PrettyPatch/PrettyPatch.rb: * code-review.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Unreviewed; speculative fix for Windows debug build. * bindings/js/JSBindingsAllInOne.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Reviewed by Ojan Vafai. Adopting an iframe to a child frame results in stack overflow https://bugs.webkit.org/show_bug.cgi?id=52018 Throws an exception when a document adopts an iframe that is an ancestor of the document in the frame hierarchy. New behavior matches that of Firefox. Test: fast/html/adopt-parent-frame.html * dom/Document.cpp: (WebCore::Document::adoptNode): 2011-01-07 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Ojan Vafai. Adopting an iframe to a child frame results in stack overflow https://bugs.webkit.org/show_bug.cgi?id=52018 Added a test to ensure calling adoptNode with an iframe throws an exception if the adoptee is an ancestor of the document adopting the node in the frame hierarchy. * fast/html/adopt-parent-frame-expected.txt: Added. * fast/html/adopt-parent-frame.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mihaip@chromium.org authored
Reviewed by Darin Fisher. [Chromium] Scrollbar code cleanup https://bugs.webkit.org/show_bug.cgi?id=52073 Scrollbar code cleanup: - Remove ScrollbarThemeMac.{mm|h} from the mac sources list, we use ScrollbarThemeChromiumMac.{mm|h} - Remove USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define now that switch to WebThemeEngine is permanent - Fix typo in Linux scrollbar enum name No new tests (compiles). * WebCore.gypi: * platform/chromium/ChromiumBridge.h: * platform/chromium/ScrollbarThemeChromiumLinux.cpp: (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece): * platform/chromium/ScrollbarThemeChromiumMac.mm: (WebCore::scrollbarStateToThemeState): (WebCore::ScrollbarThemeChromiumMac::paint): 2011-01-07 Mihai Parparita <mihaip@chromium.org> Reviewed by Darin Fisher. [Chromium] Scrollbar code cleanup https://bugs.webkit.org/show_bug.cgi?id=52073 Scrollbar code cleanup: - Fix typo in Linux scrollbar enum name * public/linux/WebThemeEngine.h: * src/ChromiumBridge.cpp: (WebCore::WebThemePart): (WebCore::GetWebThemeExtraParams): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Reviewed by Sam Weinig. Make WebKitTestRunner rest between loads more robust to avoid test crashes https://bugs.webkit.org/show_bug.cgi?id=52086 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::didReceiveMessage): * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::notifyDone): * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues): (WTR::TestController::run): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
be protected both by ENABLE(FULLSCREEN_API) && USE(ACCELERATED_COMPOSITING) * page/FrameView.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Bug 26276 - Need a mechanism to determine stack extent on WINDOWS, SOLARIS, OPENBSD, SYMBIAN, HAIKU, WINCE platforms Reviewed by Geoff Garen. Fix for win32. The base of the stack is stored in the "deallocation stack" field of the Thread Information Block - see: http://en.wikipedia.org/wiki/Win32_Thread_Information_Block for more information! * wtf/StackBounds.cpp: (WTF::StackBounds::initialize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
changable in 32-bit. * WebView/WebFullScreenController.mm: (-[WebFullScreenController exitFullscreen]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Eric Seidel. Cleanup: Fold shadowParentNode into shadowHost https://bugs.webkit.org/show_bug.cgi?id=51059 Replaces all uses of shadowParentNode. No new tests because no behavior has changed. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::initForStyleResolve): * dom/Node.cpp: (WebCore::Node::shadowHost): (WebCore::Node::shadowAncestorNode): (WebCore::eventTargetRespectingSVGTargetRules): (WebCore::Node::getEventAncestors): * dom/Node.h: * editing/Editor.cpp: (WebCore::Editor::findString): * page/DragController.cpp: (WebCore::asFileInput): * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent): (WebCore::instanceAssociatedWithShadowTreeElement): (WebCore::EventHandler::dispatchMouseEvent): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::hasLineIfEmpty): * rendering/RenderSVGShadowTreeRootContainer.cpp: (WebCore::RenderSVGShadowTreeRootContainer::updateFromElement): * svg/SVGStyledElement.cpp: (WebCore::SVGStyledElement::title): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Add a platform-specific baseline for GTK+ after r75257. * platform/gtk/fast/text/emphasis-avoid-ruby-expected.checksum: Added. * platform/gtk/fast/text/emphasis-avoid-ruby-expected.png: Added. * platform/gtk/fast/text/emphasis-avoid-ruby-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
with Leopard equivalents. * WebView/WebFullScreenController.mm: (+[CATransaction setDisableActions:]): (+[CATransaction setAnimationDuration:]): (-[WebFullScreenController _animationDuration]): (-[WebFullscreenWindow initWithContentRect:styleMask:backing:defer:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. I mistakenly included a Windows only file in a cross platform file. * platform/graphics/ca/GraphicsLayerCA.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Get rid of include of <QuartzCore/QuartzCore.h> * platform/graphics/ca/GraphicsLayerCA.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
the implementation of requiresCompositingfForFullScreen. * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::requiresCompositingForFullScreen): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
a warning in Release builds. * dom/Document.cpp: (WebCore::Document::webkitDidExitFullScreenForElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Use new wkCACFLayerGetContextUserData function * platform/graphics/ca/win/PlatformCALayerWin.cpp: 2011-01-07 Chris Marrin <cmarrin@apple.com> Unreviewed. Minor change to check for null context * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jberlin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=52083 Reviewed by Dan Bernstein. * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: (WKBundleFrameCopyProvisionalURL): * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::provisionalURL): Grab the URL from the provisional document loader. * WebProcess/WebPage/WebFrame.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
Fix compile bustage due to bad merge in 75276. * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17 Reviewed by Simon Fraser. Mark for export all those WebCore functions needed by WebFullscreenController. * WebCore.exp.in: WebCore: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17 Reviewed by Simon Fraser. screenRect is useful for more than just HTMLMediaElements. Promote it into Element. * dom/Element.cpp: Moved into Element from HTMLMediaElement. * dom/Element.h: Ditto. * dom/Node.cpp: * html/HTMLMediaElement.cpp: Moved screenRect into Element. * html/HTMLMediaElement.h: Ditto. * WebCore.exp.in: Modify the exports list to reflect the new symbol name. WebCore: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17 Reviewed by Simon Fraser. The RenderFullScreen is intended to be used by clients of that API to allow a DOM subtree to be rendered outside its original Frame. Because of this, there are a few areas of the rendering code which need to be special cased: RenderFullScreen layers should not be clipped to the viewport, as they will almost always be rendering outside the viewport area; RenderFullScreen graphics layers should not be reparented by the RenderLayerCompositor, as the client will likely want to reparent the platformLayer into their own fullscreen platform window; the FrameView must update the RenderFullScreen graphics layer tree separately from the root layer, as the two trees are disconnected. * page/FrameView.cpp: (WebCore::FrameView::updateCompositingLayers): Special treatment for fullscreen renderer. (WebCore::FrameView::syncCompositingStateRecursive): Ditto. (WebCore::FrameView::paintContents): Ditto. * rendering/RenderLayer.h: Add a new ContentChangeType enum entry for FullScreen. * rendering/RenderLayer.cpp: (WebCore::RenderLayer::contentChanged): Add support for above. * rendering/RenderLayerBacking.cpp: (WebCore::layerOrAncestorIsFullScreen): New function. (WebCore::RenderLayerBacking::updateCompositedBounds): Do not clip if the layerOrAncestorIsFullScreen. * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree): Special treatment for fullscreen renderer. (WebCore::RenderLayerCompositor::requiresCompositingLayer): Ditto. (WebCore::RenderLayerCompositor::requiresCompositingForFullScreen): Ditto. * rendering/RenderLayerCompositor.h: WebCore: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17 Reviewed by Simon Fraser. Implemented non-accelerated fullscreen support. The Document will now vend a RenderFullScreen object for clients to use to relocate the fullscreen element subtree. * css/CSSStyleSelector.cpp: (WebCore::loadFullScreenRulesIfNeeded): Change webkitFullScreen -> webkitIsFullScreen. (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Ditto. * dom/Document.cpp: (WebCore::Document::Document): Initialize m_fullScreenRenderer. (WebCore::Document::detach): Call setFullScreenRenderer(0). (WebCore::Document::nodeWillBeRemoved): Replicate the logic in webkitWillEnterFullScreenForElement. (WebCore::Document::webkitWillEnterFullScreenForElement): Detach the fullscreen element to cause a new RenderFullScreen renderer to be created with the new fullscreen element. (WebCore::Document::webkitDidEnterFullScreenForElement): Notify clients of a fullscreen change here, rather in "willEnter", to avoid reentrancy problems when clients remove nodes in response to webkitfullscreenchange events. (WebCore::Document::webkitWillExitFullScreenForElement): Recalculate the fullscreen element's style. (WebCore::Document::webkitDidExitFullScreenForElement): Ditto. (WebCore::Document::setFullScreenRenderer): Accessor for m_fullScreenRenderer. (WebCore::Document::setFullScreenRendererSize): Set the style on the m_fullScreenRenderer with a new size; this keeps clients from having to access the renderer's style directly. (WebCore::Document::setFullScreenRendererBackgroundColor): Ditto. * dom/Document.h: (WebCore::Document::webkitIsFullScreen): Change webkitFullScreen -> webkitIsFullScreen. (WebCore::Document::fullScreenRenderer): Accessor. * dom/Document.idl: * dom/Node.cpp: (WebCore::Node::createRendererIfNeeded): If the document is in fullscreen mode, create a RenderFullScreen object to insert between the fullscreen element and its parent. * page/ChromeClient.h: (WebCore::ChromeClient::fullScreenRendererChanged): Added. * rendering/MediaControlElements.cpp: (WebCore::MediaControlFullscreenButtonElement::defaultEventHandler): Change webkitFullScreen -> webkitIsFullScreen. WebCore: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2010-12-17 Reviewed by Simon Fraser. This patch introduces a new RenderObject type: RenderFullScreen. The RenderFullScreen renderer will be used to implement new FullScreen APIs. Because the RenderFullScreen object will be the parent of the current fullscreen element, the style rules for fullscreen objects must change to match. * WebCore.xcodeproj/project.pbxproj: * rendering/RenderFullScreen.cpp: Added. (RenderFullScreen::setAnimating): Sets the m_isAnimating flag. (RenderFullScreen::createFullScreenStyle): Returns a new RenderStyle containing the default stye for RenderFullScreen objects. * rendering/RenderFullScreen.h: Added. (WebCore::RenderFullScreen::isRenderFullScreen): Added. Overrides the RenderObject version. * rendering/RenderObject.h: (WebCore::RenderObject::isRenderFullScreen): Added. Used for type-checking RenderFullScreen objects. * css/fullscreen.css: Modified the contained fullscreen styles. WebKit/mac: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2011-01-05 Reviewed by Simon Fraser. Support the new fullscreen Chrome client requests. WebView will pass through these requests to a WebFullscreenController. * WebCoreSupport/WebChromeClient.h: Add fullScreenRendererChanged(). * WebView/WebView.mm: (-[WebView _supportsFullScreenForElement:WebCore::]): Check to see if the fullscreen pref has been enabled. (-[WebView _enterFullScreenForElement:WebCore::]): Create a WebFullScreenController. (-[WebView _exitFullScreenForElement:WebCore::]): Request that the WebFullScreenController exit fullscreen. (-[WebView _fullScreenRendererChanged:WebCore::]): Notify the WebFullScreenController that its renderer has changed. * WebView/WebViewData.h: Add ivar newFullscreenController. Patch by Jer Noble <jer@kokode.apple.com> on 2011-01-05 Reviewed by Simon Fraser. This patch implements the FullScreen APIs using the new RenderFullScreen renderer and the new Document client APIs. The RenderFullScreen renderer's CALayer is hosted in a new, fullscreen window, and a custom CAAnimation animates that layer between the initial screen rect of the full screen element, to its final value. WebFullscreenController will swap the WebView out of its original window, and into the fullscreen window. The controller will replace the WebView with a placeholder view, so that if the placeholder moves or resized while the WebView is absent, the WebView will move back to the correct location when exiting fullscreen. * WebView/WebFullscreenController.h: Added. * WebView/WebFullscreenController.mm: Added. (-[WebFullscreenController windowDidExitFullscreen:]): Close the fullscreen window. (-[WebFullscreenController windowDidEnterFullscreen:]): Swap the webView back into the fullscreen window. (-[WebFullscreenController animationDidStop:finished:]): Call windowDid{Exit|Enter}FullScreen as appropriate. (-[WebFullscreenController applicationDidResignActive:]): (-[WebFullscreenController applicationDidChangeScreenParameters:]): Resize the fullscreen window to match the new screen parameters. (-[WebFullscreenController enterFullscreen:]): Set up the animation that will take the fullscreen element from its original screen rect into fullscreen. (-[WebFullscreenController exitFullscreen]): Swap the webView back into its original window. Set up the animation that will take the fullscreen element back into its original screen rect. (-[WebFullscreenController _updatePowerAssertions]): Now checks _isAnyMoviePlaying to determine whether to disable screensaver and sleep. (-[WebFullscreenController _isAnyMoviePlaying]): Walks through the sub-tree starting at the fullscreen element looking for HTMLVideoElements; returns whether any are found to be playing. (-[WebFullscreenController _animationDuration]): Returns the current animation duration, affected by control and shift keys. (-[WebFullscreenWindow canBecomeKeyWindow]): Allow the window to become key. (-[WebFullscreenWindow keyDown:]): Handle the 'Esc' key. (-[WebFullscreenWindow cancelOperation:]): Request to exit fullscreen. (-[WebFullscreenWindow rendererLayer]): Convenience accessor. (-[WebFullscreenWindow setRendererLayer:]): Ditto. (-[WebFullscreenWindow backgroundLayer]): Ditto. (-[WebFullscreenWindow animationView]): Ditto. (MediaEventListener::MediaEventListener): Implements the EventListener protocol. (MediaEventListener::handleEvent): Tells its delegate to _updatePowerAssertions. LayoutTests: Implement WebKit Full Screen support. https://bugs.webkit.org/show_bug.cgi?id=49481 rdar://problem/8247444 Patch by Jer Noble <jer@kokode.apple.com> on 2011-01-05 Reviewed by Simon Fraser. Update the tests with new API names and spec values. * fullscreen/full-screen-api-expected.txt: * fullscreen/full-screen-api.html: * fullscreen/full-screen-css.html: * fullscreen/full-screen-request-expected.txt: * fullscreen/full-screen-request.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
Revert "Implement mozilla's animationTime property" https://bugs.webkit.org/show_bug.cgi?id=51952 This approach isn't quite right. * animations/animation-time-expected.txt: Removed. * animations/animation-time.html: Removed. * animations/script-tests/animation-time.js: Removed. * fast/dom/Window/window-properties-expected.txt: * fast/dom/Window/window-property-descriptors-expected.txt: * platform/gtk/fast/dom/Window/window-properties-expected.txt: * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt: * platform/qt/fast/dom/Window/window-properties-expected.txt: * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: * platform/win/fast/dom/Window/window-property-descriptors-expected.txt: 2011-01-07 James Robinson <jamesr@chromium.org> Revert "Implement mozilla's animationTime property" https://bugs....
-
cmarrin@apple.com authored
Unreviewed. Added one more API to WKSI to get the user data out of the CACFContext. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
senorblanco@chromium.org authored
Unreviewed; test expectations update. * platform/chromium-gpu/test_expectations.txt: Removed some no-longer-failing tests; moved some lines around to match the CPU results. * platform/chromium/test_expectations.txt: Bug assignment and cleanup. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Andreas Kling. [Qt] Black text on black buttons using a dark theme https://bugs.webkit.org/show_bug.cgi?id=35024 Implement RenderThemeQt::systemColor to apply the correct colors from the current Qt style. * platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::systemColor): * platform/qt/RenderThemeQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
2011-01-07 Amruth Raj <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com> Reviewed by Martin Robinson. [GTK] WebKit2 GNUmakefile is out of date from trunk Adding new stub files for compiling on latest revision https://bugs.webkit.org/show_bug.cgi?id=51883 * UIProcess/gtk: Added. * UIProcess/gtk/TextCheckerGtk.cpp: Added. (WebKit::TextChecker::state): (WebKit::TextChecker::isContinuousSpellCheckingAllowed): (WebKit::TextChecker::setContinuousSpellCheckingEnabled): (WebKit::TextChecker::setGrammarCheckingEnabled): (WebKit::TextChecker::uniqueSpellDocumentTag): (WebKit::TextChecker::closeSpellDocumentWithTag): (WebKit::TextChecker::checkTextOfParagraph): (WebKit::TextChecker::updateSpellingUIWithMisspelledWord): (WebKit::TextChecker::getGuessesForWord): (WebKit::TextChecker::learnWord): (WebKit::TextChecker::ignoreWord): * UIProcess/gtk/WebInspectorGtk.cpp: Added. (WebKit::WebInspectorProxy::platformCreateInspectorPage): (WebKit::WebInspectorProxy::platformOpen): (WebKit::WebInspectorProxy::platformClose): (WebKit::WebInspectorProxy::inspectorPageURL): * UIProcess/gtk/WebPageProxyGtk.cpp: Added. (WebKit::WebPageProxy::standardUserAgent): * UIProcess/gtk/WebPreferencesGtk.cpp: Added. (WebKit::WebPreferences::platformInitializeStore): (WebKit::WebPreferences::platformUpdateStringValueForKey): (WebKit::WebPreferences::platformUpdateBoolValueForKey): (WebKit::WebPreferences::platformUpdateUInt32ValueForKey): * WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp: Added. (WebKit::WebContextMenuClient::lookUpInDictionary): (WebKit::WebContextMenuClient::isSpeaking): (WebKit::WebContextMenuClient::speak): (WebKit::WebContextMenuClient::stopSpeaking): * WebProcess/WebCoreSupport/gtk/WebDatabaseManagerGtk.cpp: Added. (WebKit::WebDatabaseManager::databaseDirectory): * WebProcess/WebCoreSupport/gtk/WebPopupMenuGtk.cpp: Added. (WebKit::WebPopupMenu::setUpPlatformData): * WebProcess/WebPage/gtk: Added. * WebProcess/WebPage/gtk/WebInspectorGtk.cpp: Added. (WebKit::WebInspector::localizedStringsURL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
Reviewed by Kenneth Russell. Add tests for WebGL's lost context events. https://bugs.webkit.org/show_bug.cgi?id=51492 * fast/canvas/webgl/context-lost-expected.txt: Added. * fast/canvas/webgl/context-lost-restored-expected.txt: Added. * fast/canvas/webgl/context-lost-restored.html: Added. * fast/canvas/webgl/context-lost.html: Added. 2011-01-05 Adrienne Walker <enne@google.com> Reviewed by Kenneth Russell. Add WEBKIT_lose_context WebGL extension. https://bugs.webkit.org/show_bug.cgi?id=51492 Tests: fast/canvas/webgl/context-lost-restored.html fast/canvas/webgl/context-lost.html * CMakeLists.txt: * DerivedSources.make: * GNUmakefile.am: * WebCore.gypi: * WebCore.pri: * WebCore.pro: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::toJS): (WebCore::JSWebGLRenderingContext::getSupportedExtensions): * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: (WebCore::toV8Object): (WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallback): * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::fired): (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): (WebCore::WebGLRenderingContext::forceLostContext): (WebCore::WebGLRenderingContext::onLostContext): (WebCore::WebGLRenderingContext::getNumberOfExtensions): (WebCore::WebGLRenderingContext::getExtensionNumber): * html/canvas/WebGLRenderingContext.h: * html/canvas/WebKitLoseContext.cpp: Copied from WebCore/html/canvas/WebGLExtension.h. (WebCore::WebKitLoseContext::WebKitLoseContext): (WebCore::WebKitLoseContext::~WebKitLoseContext): (WebCore::WebKitLoseContext::getName): (WebCore::WebKitLoseContext::create): (WebCore::WebKitLoseContext::loseContext): * html/canvas/WebKitLoseContext.h: Copied from WebCore/html/canvas/WebGLExtension.h. * html/canvas/WebKitLoseContext.idl: Copied from WebCore/html/canvas/WebGLExtension.h. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Build fix for Chromium. Missing include. * page/animation/AnimationBase.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Doing so makes the cursor disappear from the screen. Fixes <http://webkit.org/b/52024> Mouse cursor flashes when moving it around a WKView before the web process has finished launching Reviewed by Jon Honeycutt. * UIProcess/win/WebView.cpp: (WebKit::WebView::onSetCursor): If we don't have a cursor to set, just let Windows do its default thing (which is to set the cursor to the window class's cursor, which in our case is the arrow cursor). (WebKit::WebView::cursorToShow): Just return 0 when the page has crashed so that we'll show the default cursor (which is the arrow cursor). This change has no visible effect, but seems slightly better conceptually. (WebKit::WebView::updateNativeCursor): Don't do anything if we don't have a cursor to set. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Fixes <http://webkit.org/b/52023> WKView accumulates pixel garbage before web process has had a chance to draw anything (if Aero is disabled) Reviewed by Jon Honeycutt. * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::paint): * UIProcess/ChunkedUpdateDrawingAreaProxy.h: * UIProcess/DrawingAreaProxy.h: * UIProcess/LayerBackedDrawingAreaProxy.cpp: (WebKit::LayerBackedDrawingAreaProxy::paint): * UIProcess/LayerBackedDrawingAreaProxy.h: * UIProcess/TiledDrawingAreaProxy.cpp: (WebKit::TiledDrawingAreaProxy::paint): * UIProcess/TiledDrawingAreaProxy.h: * UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm: (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): * UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): * UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): * UIProcess/win/LayerBackedDrawingAreaProxyWin.cpp: (WebKit::LayerBackedDrawingAreaProxy::paint): Changed these functions to return a boolean indicating whether we actually painted anything. * UIProcess/win/WebView.cpp: (WebKit::WebView::onPaintEvent): Fill with white (and don't call didDraw) when the DrawingAreaProxy isn't able to paint. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Unreviewed. Build fix. * platform/graphics/ca/win/PlatformCALayerWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52051 Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2011-01-07 Reviewed by Martin Robinson. * wtf/gobject/GTypedefs.h: Add GtkStyleContext forward declaration. WebCore: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe Reviewed by Geoff Garen. The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's destructor early, in order to release wrappers once we know we no longer intend to use them. Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to lose any state stored on them) it is not okay to deregister the world from the JSGlobalData. A sequence of events that triggers the bug would look like this: (1) Create a DOMWrapperWorld. (2) Register a timer in the world. (3) Call unregisterWorld() on the world. (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document. (5) We attempt to ...
-
cmarrin@apple.com authored
Unreviewed. Adding updated WKSI files missed in http://trac.webkit.org/changeset/75262 * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
senorblanco@chromium.org authored
Unreviewed; new test baselines and updated chromium expectations. * platform/chromium-gpu/test_expectations.txt: * platform/chromium-linux/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added. * platform/chromium-linux/fast/gradients/css3-repeating-linear-gradients-expected.png: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
Rubber-stamped by Simon Fraser. Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations https://bugs.webkit.org/show_bug.cgi?id=49388 Final step in unifying GraphicsLayer logic across Win and Mac. This implements the Windows side classes for PlatformCALayer and supporting classes. Also changed MediaPlayer to use new PlatformCALayerClient so it can use PlatformCALayer directly rather than a dummy GraphicsLayer. WKCACFLayerRenderer now does the task of notifying animations of their start time. Also commented out an assert in AnimationBase because AnimationController's frame time is not in sync with the new AnimationTimeController. I've opened a new bug for that issue: https://bugs.webkit.org/show_bug.cgi?id=52037 This also includes the Mac side changes backed out in http://trac.webkit.org/changeset/75227. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
japhet@chromium.org authored
Reviewed by Darin Fisher. Let PingLoader send cookies if FrameLoaderClient permits it. https://bugs.webkit.org/show_bug.cgi?id=51898 Test: http/tests/navigation/ping-cookie.html * loader/PingLoader.cpp: (WebCore::PingLoader::PingLoader): Set m_shouldUseCredentialStorage at load start time, since we won't be able to call FrameLoaderClient::shouldUseCredentialStorage() later. * loader/PingLoader.h: (WebCore::PingLoader::shouldUseCredentialStorage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Unreviewed, rolling out r75256. http://trac.webkit.org/changeset/75256 https://bugs.webkit.org/show_bug.cgi?id=50869 Broke GTK+ canvas tests * platform/gtk/Skipped: 2011-01-07 Xan Lopez <xlopez@igalia.com> Unreviewed, rolling out r75256. http://trac.webkit.org/changeset/75256 https://bugs.webkit.org/show_bug.cgi?id=50869 Broke GTK+ canvas tests * platform/graphics/cairo/PathCairo.cpp: (WebCore::Path::addArc): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
carlosgc@webkit.org authored
Reviewed by Martin Robinson. [GTK] Port scrollbar painting to GtkStyleContext https://bugs.webkit.org/show_bug.cgi?id=52051 * wtf/gobject/GTypedefs.h: Add GtkStyleContext forward declaration. 2011-01-07 Carlos Garcia Campos <cgarcia@igalia.com> Reviewed by Martin Robinson. [GTK] Port scrollbar painting to GtkStyleContext https://bugs.webkit.org/show_bug.cgi?id=52051 Use GtkStyleContext API to paint scrollbars when building with GTK+ 3.x. No new tests. This should not change functionality. * platform/gtk/RenderThemeGtk.h: * platform/gtk/RenderThemeGtk3.cpp: (WebCore::RenderThemeGtk::gtkScrollbarStyle): * platform/gtk/ScrollbarThemeGtk.cpp: * platform/gtk/ScrollbarThemeGtk.h: * platform/gtk/ScrollbarThemeGtk2.cpp: (WebCore::gtkStyleSetCallback): (WebCore::ScrollbarThemeGtk::ScrollbarThemeGtk): * platform/gtk/ScrollbarThemeGtk3.cpp: (WebCore::gtkStyleChangedCallback): (WebCore::ScrollbarThemeGtk::ScrollbarThemeGtk): (WebCore::ScrollbarThemeGtk::updateThemeProperties): (WebCore::ScrollbarThemeGtk::paintTrackBackground): (WebCore::ScrollbarThemeGtk::paintScrollbarBackground): (WebCore::ScrollbarThemeGtk::paintThumb): (WebCore::ScrollbarThemeGtk::paintButton): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jberlin@webkit.org authored
http://trac.webkit.org/changeset/75205 https://bugs.webkit.org/show_bug.cgi?id=52026 https://bugs.webkit.org/show_bug.cgi?id=52028 https://bugs.webkit.org/show_bug.cgi?id=52029 The Windows 7 Release Test Bots are fixed. * platform/win/animations: Removed. * platform/win/animations/animation-time-expected.txt: Removed. * platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Removed. * platform/win/fast/css/css3-nth-tokens-script-expected.txt: Removed. * platform/win/fast/css/css3-nth-tokens-style-expected.txt: Removed. * platform/win/fast/dom/Window/window-property-descriptors-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-