2010-11-08 Alexey Proskuryakov Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=48685 Notify UI process about focused frame Added an empty implementation of the new ChromeClient method. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::focusedFrameChanged): * src/ChromeClientImpl.h: 2010-11-08 Andrey Kosyakov Reviewed by Yury Semikhatsky. Only call WebInspector_syncDispatch if it's actually a function. https://bugs.webkit.org/show_bug.cgi?id=49180 * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): * src/WebDevToolsFrontendImpl.h: 2010-11-07 Adam Barth Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * public/WebCache.h: * src/WebCache.cpp: (WebKit::ToResourceTypeStat): (WebKit::WebCache::setCapacities): (WebKit::WebCache::clear): (WebKit::WebCache::getUsageStats): (WebKit::WebCache::getResourceTypeStats): 2010-11-07 Jay Civelli Reviewed by Kent Tamura. Fixing a crasher with the select popup on Mac that happens when a page removes the select node when the select changes. https://bugs.webkit.org/show_bug.cgi?id=49108 * src/ExternalPopupMenu.cpp: (WebKit::ExternalPopupMenu::didAcceptIndex): (WebKit::ExternalPopupMenu::didCancel): 2010-11-06 Pavel Feldman Not reviewed. Chromium DevTools: disable filesystem inspection until polished. https://bugs.webkit.org/show_bug.cgi?id=48963 * src/js/DevTools.js: 2010-11-05 Ilya Sherman Reviewed by Simon Fraser. Querying selection start and end should be const https://bugs.webkit.org/show_bug.cgi?id=48786 * public/WebInputElement.h: * src/WebInputElement.cpp: (WebKit::WebInputElement::selectionStart): (WebKit::WebInputElement::selectionEnd): 2010-11-05 Chris Marrin Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 * src/WebAnimationControllerImpl.cpp: (WebKit::WebAnimationControllerImpl::suspendAnimations): (WebKit::WebAnimationControllerImpl::resumeAnimations): 2010-11-04 Zhenyao Mo Reviewed by Kenneth Russell. Need to simulate DEPTH_STENCIL in framebufferRenderbuffer / getFramebufferAttachmentParameter https://bugs.webkit.org/show_bug.cgi?id=49020 * src/WebGraphicsContext3DDefaultImpl.cpp: Remove DEPTH_STENCIL_ATTACHMENT emulation at this level. 2010-11-05 Darin Fisher Pull chromium@65229 to fix the build. * DEPS: 2010-11-05 Darin Fisher Reviewed by Nate Chapin. Replace deprecated TargetIsSub{Frame,Resource} with TargetIsSub{frame,resource}. https://bugs.webkit.org/show_bug.cgi?id=49074 * public/WebURLRequest.h: * src/FrameLoaderClientImpl.cpp: 2010-11-05 Charlie Reis Reviewed by Darin Fisher. WebFrame::previousHistoryItem() should return last committed item. https://bugs.webkit.org/show_bug.cgi?id=48809 * src/WebFrameImpl.cpp: 2010-10-27 Jeremy Orlow Reviewed by Steve Block. Clean up IDBTransactionBackend/Coordinator https://bugs.webkit.org/show_bug.cgi?id=48425 Remove obsolete ::id() method. * public/WebIDBTransaction.h: * src/IDBTransactionBackendProxy.cpp: * src/IDBTransactionBackendProxy.h: * src/WebIDBTransactionImpl.cpp: * src/WebIDBTransactionImpl.h: 2010-11-04 usaini Reviewed by Antonio Gomes. WebWindowFeatures has a faulty constructor for WebCore::WindowFeatures https://bugs.webkit.org/show_bug.cgi?id=48035 * public/WebWindowFeatures.h: (WebKit::WebWindowFeatures::WebWindowFeatures): updated the constructor that takes in a WebCore::WindowFeature and had it copy all the variables over properly so that after calling the constructor WebWindowFeatures is always in a valid state. Before, the x,y,width,height booleans may be true, but the corresponding int values would not be updated. 2010-11-04 Zhenyao Mo Reviewed by Kenneth Russell. Remove IMPLEMENTATION_COLOR_READ_FORMAT and TYPE https://bugs.webkit.org/show_bug.cgi?id=48938 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): 2010-11-04 Kavita Kanetkar Reviewed by Adam Barth. Web Inspector: Enable files ystem UI for chromium https://bugs.webkit.org/show_bug.cgi?id=48963 * src/js/DevTools.js: 2010-11-03 Adam Barth Roll Chromium DEPS https://bugs.webkit.org/show_bug.cgi?id=48978 * DEPS: 2010-11-03 Vincent Scheib Reviewed by James Robinson. [chromium] GraphicsContext3D creation attributes include canRecoverFromContextLoss option https://bugs.webkit.org/show_bug.cgi?id=48850 Implementations of GraphicsContext3D may respect the creation attribute canRecoverFromContextLoss being false, and then only succeeding initialization if the context can satisfy that request of never being lost. DX9 on XP can not satisfy such a request. Test by use of accelerated canvas 2d in Chromium with ANGLE on XP machines. * public/WebGraphicsContext3D.h: (WebKit::WebGraphicsContext3D::Attributes::Attributes): * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::initialize): 2010-11-03 Jenn Braithwaite Reviewed by Dmitry Titov. Chromium: Update resource tracking when moving a frame between documents https://bugs.webkit.org/show_bug.cgi?id=48363 * public/WebFrameClient.h: (WebKit::WebFrameClient::removeIdentifierForRequest): Added * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage): Notify current WebFrameClient of the resource and remove from former WebFrameClient. 2010-11-03 Adam Barth Roll Chromium DEPs https://bugs.webkit.org/show_bug.cgi?id=48959 * DEPS: 2010-11-03 Kenneth Russell Reviewed by Chris Marrin. Redesign extension mechanism in GraphicsContext3D https://bugs.webkit.org/show_bug.cgi?id=46894 Upon request, factored out extension support from GraphicsContext3D into a new Extensions3D class. (The plural was chosen because the class and subclasses hold multiple extensions.) Unlike GraphicsContext3D, Extensions3D contains only pure virtual methods. This was done because Extensions3D's inheritance diagram and usage pattern is very different from that of GraphicsContext3D, and the concrete subclasses need to decide how to implement the various entry points. Requiring them to be placed at the Extensions3D level will cause implementation details to leak into the base class, which is highly undesirable. Any virtual call overhead to these entry points will be negligible. Changed call sites utilizing these extensions to call through the Extensions3D object or its subclasses. Tested: - Chromium on Linux with accelerated 2D canvas and HTML5 video - Chromium on Mac OS X with WebGL and CSS 3D content - Safari on Mac OS X with WebGL and CSS 3D content No new tests. Covered by existing tests. * WebKit.gyp: * public/WebGraphicsContext3D.h: * src/Extensions3DChromium.cpp: Added. (WebCore::Extensions3DChromium::Extensions3DChromium): (WebCore::Extensions3DChromium::~Extensions3DChromium): (WebCore::Extensions3DChromium::supports): (WebCore::Extensions3DChromium::getGraphicsResetStatusARB): (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM): (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM): (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM): (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM): (WebCore::Extensions3DChromium::copyTextureToParentTextureCHROMIUM): * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::getExtensions): (WebCore::GraphicsContext3DInternal::supportsExtension): * src/GraphicsContext3DInternal.h: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::getString): * src/WebGraphicsContext3DDefaultImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::composite): 2010-11-03 Daniel Bates For unnamed frames, window.name returns a generated name https://bugs.webkit.org/show_bug.cgi?id=6751 Part 1 of 2. Substitute FrameTree::uniqueName() for FrameTree::name() in the Chromium port. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::name): 2010-11-02 Al Patrick Reviewed by Kenneth Russell. [chromium] Plugin instances can propagate the ID of the OpenGL texture they render to. https://bugs.webkit.org/show_bug.cgi?id=48032 * public/WebPlugin.h: (WebKit::WebPlugin::getBackingTextureId): * public/WebPluginContainer.h: (WebKit::WebPluginContainer::commitBackingTexture): * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::commitBackingTexture): (WebKit::WebPluginContainerImpl::platformLayer): (WebKit::WebPluginContainerImpl::WebPluginContainerImpl): * src/WebPluginContainerImpl.h: 2010-11-02 Kavita Kanetkar Reviewed by Dumitru Daniliuc. [FileSystem] Support not creating directories when queried by inspector. https://bugs.webkit.org/show_bug.cgi?id=48169 * src/LocalFileSystemChromium.cpp: (WebCore::LocalFileSystem::readFileSystem): (WebCore::LocalFileSystem::requestFileSystem): 2010-11-02 Chris Guillory Reviewed by Chris Fleizach. Chromium: Propagate a document value changed notification on scroll. https://bugs.webkit.org/show_bug.cgi?id=48817 * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::boundingBoxRect): 2010-10-29 John Abd-El-Malek Reviewed by Darin Fisher. [chromium]: Allow plugins to use optimized scrolling https://bugs.webkit.org/show_bug.cgi?id=48660 * public/WebPluginContainer.h: * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::scrollRect): * src/WebPluginContainerImpl.h: 2010-11-02 Marc-Antoine Ruel Reviewed by Dimitri Glazkov. Disable incremental linking for webkit_unit_test and DumpRenderTRee on x86 Windows on chromium build. https://bugs.webkit.org/show_bug.cgi?id=48836 It fails to link otherwise due to lack of virtual address space. * WebKit.gyp: 2010-11-02 Ilya Sherman Reviewed by Kent Tamura. Expose the sendChangeEvent parameter in WebInputElement::setValue() API, primarily so that chromium form autofill can fire the onChange event. https://bugs.webkit.org/show_bug.cgi?id=48177 * public/WebInputElement.h: * src/WebInputElement.cpp: (WebKit::WebInputElement::setValue): 2010-11-02 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: make properties and event listeners look consistent with the styles section. https://bugs.webkit.org/show_bug.cgi?id=48827 * src/js/devTools.css: 2010-11-01 Tony Chang Reviewed by Kent Tamura. [chromium] Compile TestNetscapePlugin on chromium win https://bugs.webkit.org/show_bug.cgi?id=48802 It creates npTestNetscapePlugin.dll in the build directory, so it's not yet loaded by DRT or test_shell. * WebKit.gyp: 2010-11-01 Brady Eidson Reviewed by Anders Carlsson. and https://bugs.webkit.org/show_bug.cgi?id=48699 Context menu support for WebKit 2. * src/ChromeClientImpl.h: (WebKit::ChromeClientImpl::showContextMenu): 2010-11-01 Pavel Feldman Not reviewed: Chromium build fix. * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): 2010-11-01 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: remove old resources panel. https://bugs.webkit.org/show_bug.cgi?id=45657 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): * src/WebDevToolsAgentImpl.h: 2010-11-01 Leandro Gracia Gil Reviewed by Jeremy Orlow. This is the last part of a 4-sided patch for the language attribute in speech text buttons. This patch removes what now is dead code and re-enables the layout test introduced by bug 47089. https://bugs.webkit.org/show_bug.cgi?id=47420 * public/WebSpeechInputControllerMock.h: * src/WebSpeechInputControllerMockImpl.cpp: * src/WebSpeechInputControllerMockImpl.h: 2010-10-31 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: unhide new network and resources panels. https://bugs.webkit.org/show_bug.cgi?id=48725 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 2010-10-29 Daniel Bates No review, rolling out 70971. http://trac.webkit.org/changeset/70971 https://bugs.webkit.org/show_bug.cgi?id=6751 Rolling out changeset 70971 since it caused layout test failures on all bots. In particular, the child count in a generated frame name differs after this patch. We need to look into this further. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::name): 2010-10-28 Antonio Gomes Reviewed by Ojan Vafai. Needs a "LinuxEditingBehavior", perhaps with a better name https://bugs.webkit.org/show_bug.cgi?id=36627 Added the corresponding Chromium setting to WebCore's EditingUnixBehavior: EditingBehaviorUnix. * public/WebSettings.h: * src/AssertMatchingEnums.cpp: 2010-10-29 Daniel Bates Reviewed by Adam Barth. For unnamed frames, window.name returns a generated name https://bugs.webkit.org/show_bug.cgi?id=6751 Modified Chromium-port to use FrameTree::uniqueName(). * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::name): 2010-10-29 Kavita Kanetkar Reviewed by Pavel Feldman. Web Inspector: FileSystem integration https://bugs.webkit.org/show_bug.cgi?id=45982 * public/WebFileUtilities.h: (WebKit::WebFileUtilities::revealFolderInOS): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::revealFolderInOS): 2010-10-29 Darin Adler Reviewed by Sam Weinig. Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring https://bugs.webkit.org/show_bug.cgi?id=48574 * src/BackForwardListClientImpl.h: Use BackForwardListImpl.h. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): Cast to BackForwardList* before calling setClient. 2010-10-28 Michael Nordman Reviewed by ap. [Chrome] Fix an appcache regression introduced in r69226 https://bugs.webkit.org/show_bug.cgi?id=48592 Provide a noop method body ApplicationCacheHost::maybeLoadMainResourceForRedirect. * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::maybeLoadMainResourceForRedirect): 2010-10-29 Aaron Colwell Reviewed by James Robinson. Fix globalAlpha support when using drawImage() to copy a video frame to a 2D canvas context. https://bugs.webkit.org/show_bug.cgi?id=48094 This fix applies the globalAlpha value to the canvas before passing it down to the lower layers that don't have access to the graphics context. This makes sure that any drawing on the canvas will have the proper global alpha value applied. * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::paint): 2010-10-29 Alexey Proskuryakov Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=48576 Let WebKit2 client know when a frame is a frameset Added a blank implementation of the new FrameLoaderClient method. * src/FrameLoaderClientImpl.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidBecomeFrameset): 2010-10-29 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: add close button to network view, make tests pass for resource manager on all ports. https://bugs.webkit.org/show_bug.cgi?id=48628 * src/js/Tests.js: 2010-10-29 Csaba Osztrogonác Reviewed by Adam Roben and David Kilzer. Fix and cleanup of build systems https://bugs.webkit.org/show_bug.cgi?id=48342 * features.gypi: Remove unnecessary ENABLE_SANDBOX. 2010-10-29 Leandro Gracia Gil Reviewed by Jeremy Orlow. Patch the current speech input implementation to use the nearest language tag. The language is now passed to the startRecognition methods so that language-specific recognition could be used. Also added a second parameter to setMockSpeechInputResult for the language used in speech recognition. https://bugs.webkit.org/show_bug.cgi?id=47089 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more details see http://codereview.chromium.org/3615005/show, http://codereview.chromium.org/3595018/show and https://bugs.webkit.org/show_bug.cgi?id=47420. * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * public/WebSpeechInputControllerMock.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::create): (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-10-28 Adam Barth Reviewed by Eric Seidel, Peter Kasting, and Darin Fisher. (Eric reviewed the CoreGraphics interactions, Peter reviewed the image decoder interaction, and Darin Fisher SGTMed the policy decision.) [chromium] Chromium Mac should use WebKit's image decoders https://bugs.webkit.org/show_bug.cgi?id=47974 Enable WebKit's image decoders. * features.gypi: 2010-10-28 Mihai Parparita Reviewed by Darin Adler. [Chromium] History related tests REGRESSED after r70723 https://bugs.webkit.org/show_bug.cgi?id=48513 Since r70723 made BackForwardList::currentItem no longer be virtual, we were not reaching the implementation in Chromium's BackForwardListClientImpl, and for Chromium currentItem is not the same as itemAtIndex(0). The fix is to make itemAtIndex(0) have the currentItem() behavior, which lets us keep currentItem as non-virtual (and remove its implementation from the Chromium side). This also switches Chromium to use the default implementation of backItem() and forwardItem() (vs. the old stubs that just had ASSERT_NOT_REACHED) since they're actually reacheable with Chromium code thanks to the calls in FrameLoader::checkDidPerformFirstNavigation. * src/BackForwardListClientImpl.cpp: (WebKit::BackForwardListClientImpl::itemAtIndex): * src/BackForwardListClientImpl.h: 2010-10-28 Kinuko Yasuda Reviewed by David Levin. [Chromium] Support FileSystem in chromium DRT https://bugs.webkit.org/show_bug.cgi?id=47643 Update the chromium DEPS to pick up corresponding webkit_support change. Also add a temporary glue implementation with FIXME comment to WebFrameClient::openFileSystem. * DEPS: * public/WebFrameClient.h: (WebKit::WebFrameClient::openFileSystem): 2010-10-28 Satish Sampath Reviewed by Steve Block. Remove obsolete public/API methods in chromium port https://bugs.webkit.org/show_bug.cgi?id=48504 * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): 2010-10-27 Eric Uhrhane Reviewed by David Levin. [Chromium] Metadata queries should return full file info, not just modification time https://bugs.webkit.org/show_bug.cgi?id=48098 * src/AssertMatchingEnums.cpp: Ensure WebFileInfo and FileMetadata use the same values for file/directory indicators. * src/WebFileSystemCallbacksImpl.cpp: (WebKit::WebFileSystemCallbacksImpl::didReadMetadata): Pass through the new information. 2010-10-27 Kenneth Russell Reviewed by Dimitri Glazkov. [chromium] WebGL does not work with the compositor in test_shell https://bugs.webkit.org/show_bug.cgi?id=48470 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): - Properly restore the draw framebuffer after resolving. (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture): - Make the context current before calling resolveMultisampledFramebuffer. 2010-10-27 Stuart Morgan Reviewed by David Levin. Include caps lock state when converting NSEvent modifiers to WebInputEvent https://bugs.webkit.org/show_bug.cgi?id=47917 * src/mac/WebInputEventFactory.mm: (WebKit::modifiersFromEvent): 2010-10-27 Chris Rogers Reviewed by James Robinson. Add ENABLE_WEB_AUDIO feature enable flag (initially disabled) for Chromium https://bugs.webkit.org/show_bug.cgi?id=48465 * features.gypi: 2010-10-25 Tony Chang Reviewed by Anders Carlsson. compile TestNetscapePlugIn on chromium linux https://bugs.webkit.org/show_bug.cgi?id=48274 * WebKit.gyp: Enable compilation of TestNetscapePlugIn on Linux. 2010-10-27 Satish Sampath Unreviewed, rolling out r70665. http://trac.webkit.org/changeset/70665 https://bugs.webkit.org/show_bug.cgi?id=47089 Need to address Alexey's review comments. * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * public/WebSpeechInputControllerMock.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-10-27 ZHenyao Mo Reviewed by Kenneth Russell. Must enable GL_POINT_SPRITE in GraphicsContext3D implementations https://bugs.webkit.org/show_bug.cgi?id=45908 * src/WebGraphicsContext3DDefaultImpl.cpp: Enable for chromium --in-process-webgl port. (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 2010-10-27 Leandro Gracia Gil Reviewed by Jeremy Orlow. Patch the current speech input implementation to use the nearest language tag. The language is now passed to the startRecognition methods so that language-specific recognition could be used. Also added a second parameter to setMockSpeechInputResult for the language used in speech recognition. https://bugs.webkit.org/show_bug.cgi?id=47089 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more details see http://codereview.chromium.org/3615005/show and http://codereview.chromium.org/3595018/show. The last of the 4 patches depends also on the language tag validation provided by this patch: https://bugs.webkit.org/show_bug.cgi?id=48225. * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * public/WebSpeechInputControllerMock.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::create): (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-10-26 Victoria Kirst Reviewed by David Levin. Fix compile when ACCELERATED_COMPOSITING flag is not set https://bugs.webkit.org/show_bug.cgi?id=48373 * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl): (WebKit::WebMediaPlayerClientImpl::readyStateChanged): (WebKit::WebMediaPlayerClientImpl::load): * src/WebMediaPlayerClientImpl.h: 2010-10-26 MORITA Hajime Reviewed by Tony Chang. Rolling in r70512 again. spellcheck='' should be the same as spellcheck="true" https://bugs.webkit.org/show_bug.cgi?id=25539 * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 2010-10-26 Jenn Braithwaite Reviewed by Dmitry Titov. Resource tracking failure when trying to move a frame between documents https://bugs.webkit.org/show_bug.cgi?id=44713 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage): Empty method. * src/FrameLoaderClientImpl.h: 2010-10-26 Satish Sampath Reviewed by Jeremy Orlow. Add a 'grammar' attribute for speech input. https://bugs.webkit.org/show_bug.cgi?id=48339 To differentiate between various types of speech input, we add a 'x-webkit-grammar' attribute to a speech enabled input element. This is passed without validation to the speech recognizer. Typical values could be "builtin:search", "builtin:dictation" and even an externally hosted SRGS grammar XML file URI. It is up to the recognizer to interpret the value and use it as an aid in recognition. * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: 2010-10-26 Hans Wennborg Reviewed by Jeremy Orlow. IndexedDB: update stale comments referring to WebIndexedDatabase. https://bugs.webkit.org/show_bug.cgi?id=48325 WebIndexedDatabase was renamed to WebIDBFactory in http://trac.webkit.org/changeset/64344, but some comments referring to it were left unchanged. * public/WebIDBCursor.h: * public/WebIDBDatabase.h: * public/WebIDBDatabaseError.h: * public/WebIDBIndex.h: * public/WebIDBObjectStore.h: * public/WebIDBTransaction.h: * src/WebIDBDatabaseImpl.h: 2010-10-22 Stephen White Reviewed by Kenneth Russell. Implement copy-texture-to-parent-texture API for WebGraphicsContext3DDefaultImpl. https://bugs.webkit.org/show_bug.cgi?id=48152 This allows the in-process implementation to do accelerated canvas and accelerated compositing together. It requires some changes landed in chromium 63528, so this patch also rolls chromium DEPS to 63722 (current LKGR). Covered by fast/canvas/arc360.html, and many more when run with --accelerated-compositing and --accelerated-2d-canvas. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): Add member vars to save the currently-bound texture and for the texture-to-texture FBO. (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): Delete the texture-to-texture FBO on destruction. (WebKit::WebGraphicsContext3DDefaultImpl::initialize): Generate the texture-to-texture FBO. (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM): Check for support of the glGetTexLevelParameteriv function (required for this implementation). (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM): Implement the extension: bind the FBO, bind the child texture, then do a glCopyTexImage2D() into the parent texture. (WebKit::WebGraphicsContext3DDefaultImpl::bindTexture): Record the newly-bound texture in m_boundTexture. * src/WebGraphicsContext3DDefaultImpl.h: Add the two new member variables. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::graphicsContext3D): Make sure the graphics context is reshaped to the correct size on all platforms. 2010-10-26 Alexey Marinichev Reviewed by Kenneth Russell. [chromium] Check getGraphicsResetStatusARB and reinitialize the renderer in an error is returned. https://bugs.webkit.org/show_bug.cgi?id=47848 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::composite): added getGraphicsResetStatusARB check (WebKit::WebViewImpl::reallocateRenderer): added * src/WebViewImpl.h: 2010-10-26 Kenneth Russell Reviewed by Andreas Kling. Valgrind failure in GraphicsContext3DInternal::reshape https://bugs.webkit.org/show_bug.cgi?id=48284 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 2010-10-26 Jeremy Orlow Reviewed by Steve Block. Fix IndexedDB crashes https://bugs.webkit.org/show_bug.cgi?id=48266 Make WebIDBObjectStoreImpl match the way that WebIDBIndexImpl passes in cursor parameters (which is the correct way). KeyRange knows how to convert itself to a WebCore type--even if the value is null. * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::openCursor): 2010-10-26 Satish Sampath Reviewed by Steve Block. Remove obsolete public/API methods in chromium port. https://bugs.webkit.org/show_bug.cgi?id=48330 * public/WebSpeechInputListener.h: 2010-10-26 Jeremy Orlow Reviewed by Steve Block. Quota for IndexedDB should be per origin not per database https://bugs.webkit.org/show_bug.cgi?id=48064 * public/WebIDBFactory.h: * public/WebSecurityOrigin.h: * src/WebIDBFactory.cpp: (WebKit::WebIDBFactory::databaseFileName): * src/WebSecurityOrigin.cpp: (WebKit::WebSecurityOrigin::get): 2010-10-26 Sheriff Bot Unreviewed, rolling out r70512. http://trac.webkit.org/changeset/70512 https://bugs.webkit.org/show_bug.cgi?id=48314 crashes many tests (Requested by inferno-sec on #webkit). * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 2010-10-25 MORITA Hajime Reviewed by Tony Chang. spellcheck='' should be the same as spellcheck="true" https://bugs.webkit.org/show_bug.cgi?id=25539 Followed API rename in WebCore. * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 2010-10-25 Satish Sampath Unreviewed, fix for a build break caused by my earlier patch. * public/WebSpeechInputListener.h: (WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor. 2010-10-21 Satish Sampath Reviewed by Jeremy Orlow. Allow embedder to pass on all the speech recognition results to the input element. https://bugs.webkit.org/show_bug.cgi?id=48068 * WebKit.gyp: Added new files * public/WebSpeechInputListener.h: * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult (WebKit::WebSpeechInputResult::WebSpeechInputResult): (WebKit::WebSpeechInputResult::~WebSpeechInputResult): * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string. * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): * src/WebSpeechInputControllerMockImpl.h: * src/WebSpeechInputResult.cpp: Added. (WebKit::WebSpeechInputResult::reset): (WebKit::WebSpeechInputResult::WebSpeechInputResult): (WebKit::WebSpeechInputResult::set): (WebKit::WebSpeechInputResult::operator PassRefPtr): 2010-10-25 Sheriff Bot Unreviewed, rolling out r70451. http://trac.webkit.org/changeset/70451 https://bugs.webkit.org/show_bug.cgi?id=48249 Broke set-unloaded-frame-location.html under Qt (Requested by caseq on #webkit). * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::executeScriptAndReturnValue): 2010-10-25 Peter Rybin Reviewed by Adam Barth. HTML parser should provide script column position within HTML document to JavaScript engine https://bugs.webkit.org/show_bug.cgi?id=45271 Replaces script line number with TextPosition structure. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::executeScriptAndReturnValue): 2010-10-20 Kinuko Yasuda Reviewed by Jian Li. Renumber FileError/FileException error codes per latest File API spec changes https://bugs.webkit.org/show_bug.cgi?id=47936 * public/WebFileError.h: * src/AssertMatchingEnums.cpp: * src/AsyncFileWriterChromium.cpp: (WebCore::AsyncFileWriterChromium::didFail): 2010-10-24 Sheriff Bot Unreviewed, rolling out r70361. http://trac.webkit.org/changeset/70361 https://bugs.webkit.org/show_bug.cgi?id=48217 Chromium tests NoInitialAutocompleteForReadOnly and InitialAutocomplete don't complete (Requested by yuzo on #webkit). * public/WebDocument.h: 2010-10-22 Jay Civelli Reviewed by David Levin. Turning on the Autocomplete implementation on the Chromium side. https://bugs.webkit.org/show_bug.cgi?id=41283 * public/WebDocument.h: 2010-10-22 Sam Weinig Reviewed by Anders Carlsson. WebKit2 needs to pass the current event modifier flags when requesting a new window https://bugs.webkit.org/show_bug.cgi?id=48140 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::createWindow): * src/ChromeClientImpl.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchCreatePage): * src/FrameLoaderClientImpl.h: Add NavigationAction parameter. 2010-10-22 Sheriff Bot Unreviewed, rolling out r70301. http://trac.webkit.org/changeset/70301 https://bugs.webkit.org/show_bug.cgi?id=48126 "Lang attribute layout tests failing" (Requested by satish on #webkit). * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * public/WebSpeechInputControllerMock.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-10-22 Leandro Gracia Gil Reviewed by Jeremy Orlow. Patch the current speech input implementation to use and validate the nearest language tag. The language is now passed to the startRecognition methods so that language-specific recognition could be used. Also added a second parameter to setMockSpeechInputResult for the language used in speech recognition. https://bugs.webkit.org/show_bug.cgi?id=47089 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more details see http://codereview.chromium.org/3615005/show and http://codereview.chromium.org/3595018/show. * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * public/WebSpeechInputControllerMock.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::create): (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-10-21 Yuzo Fujishima Unreviewed build fix attempt for Chromium Linux Debug Clang * public/WebExternalPopupMenu.h: 2010-10-21 Tony Chang Reviewed by Dimitri Glazkov. [chromium] roll chromium DEPS to include forwarding headers refactor https://bugs.webkit.org/show_bug.cgi?id=48097 * DEPS: Roll chromium forward to include new forwarding headers script * WebKit.gyp: This dependency always existed, it's just exposed now that the header files are in a different include dir. 2010-10-21 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium: use dedicated event listener type in EventListenerWrapper. https://bugs.webkit.org/show_bug.cgi?id=48059 * src/EventListenerWrapper.cpp: (WebKit::EventListenerWrapper::EventListenerWrapper): 2010-10-21 Jay Civelli Reviewed by Darin Fisher. [Chromium] Adding an API that allows external popup menus, without the use of WebCore::PopupMenuChromium. Once this is hooked up in Chromium, the plan is to remove entirely the external case from PopupMenuChromium. https://bugs.webkit.org/show_bug.cgi?id=46016 * WebKit.gyp: * public/WebExternalPopupMenu.h: Added. * public/WebExternalPopupMenuClient.h: Added. * public/WebMenuItemInfo.h: (WebKit::WebMenuItemInfo::WebMenuItemInfo): * public/WebView.h: * public/WebViewClient.h: (WebKit::WebViewClient::createExternalPopupMenu): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::createPopupMenu): * src/ExternalPopupMenu.cpp: Added. * src/ExternalPopupMenu.h: Added. * src/WebViewImpl.cpp: (WebKit::WebView::setUseExternalPopupMenus): (WebKit::WebViewImpl::useExternalPopupMenus): * src/WebViewImpl.h: 2010-10-20 Sheriff Bot Unreviewed, rolling out r70165. http://trac.webkit.org/changeset/70165 https://bugs.webkit.org/show_bug.cgi?id=48007 It broke tests on Qt bot (Requested by Ossy on #webkit). * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::executeScriptAndReturnValue): 2010-10-20 Peter Rybin Reviewed by Adam Barth. HTML parser should provide script column position within HTML document to JavaScript engine https://bugs.webkit.org/show_bug.cgi?id=45271 Replaces script line number with TextPosition structure. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::executeScriptAndReturnValue): 2010-10-20 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Fix crash when mousing over scrollview https://bugs.webkit.org/show_bug.cgi?id=47956 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::mouseDidMoveOverElement): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::pluginScriptableObject): * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::redirectDataToPlugin): * src/WebPluginContainerImpl.h: (WebKit::WebPluginContainerImpl::isPluginContainer): 2010-10-20 Sheriff Bot Unreviewed, rolling out r70149. http://trac.webkit.org/changeset/70149 https://bugs.webkit.org/show_bug.cgi?id=47989 "Build breaks in mac and win" (Requested by satish on #webkit). * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * public/WebSpeechInputControllerMock.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-10-20 Leandro Gracia Gil Reviewed by Jeremy Orlow. Patch the current speech input implementation to use and validate the nearest language tag. The language is now passed to the startRecognition methods so that language-specific recognition could be used. Also added a second parameter to setMockSpeechInputResult for the language used in speech recognition. https://bugs.webkit.org/show_bug.cgi?id=47089 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more details see http://codereview.chromium.org/3615005/show and http://codereview.chromium.org/3595018/show. * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): * public/WebSpeechInputControllerMock.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::create): (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-10-20 Dirk Schulze Unreviewed Chromium win build fix. * tests/TransparencyWinTest.cpp: (WebCore::TEST): 2010-10-20 Dirk Schulze Reviewed by Nikolas Zimmermann. Merge ColorSpace and ImageColorSpace enums https://bugs.webkit.org/show_bug.cgi?id=47922 Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB to follow webkit style rules. * src/WebFontImpl.cpp: (WebKit::WebFontImpl::drawText): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::paintWithContext): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::doPixelReadbackToCanvas): * tests/TransparencyWinTest.cpp: (WebCore::TEST): 2010-10-19 Andrey Kosyakov Reviewed by Pavel Feldman. Web Inspector: expose request/response cookies in HAR https://bugs.webkit.org/show_bug.cgi?id=47894 * src/WebResourceRawHeaders.cpp: (WebKit::addHeader): paste coalescent headers using "\n: as a separator instead of ", " 2010-10-19 Tony Chang Reviewed by Kent Tamura. [chromium] Use webkit's TestNetscapePlugIn in DRT mac https://bugs.webkit.org/show_bug.cgi?id=47850 * WebKit.gyp: Copy WebKitTestPlugIn into plugins and add GCC_SYMBOLS_PRIVATE_EXTERN: NO to export the symbols. 2010-10-19 Tony Chang Unreviewed. Rolling chromium DEPS to 63057 to pick up mac plugin loading in DRT. * DEPS: bump chromium DEPS to 63057. 2010-10-19 Tony Chang Reviewed by Kent Tamura. [chromium] DumpRenderTree shouldn't put '.' in include path https://bugs.webkit.org/show_bug.cgi?id=47877 * WebKit.gyp: Replace '.' with <(chromium_src_dir) and add public 2010-10-18 Adrienne Walker Reviewed by Kenneth Russell. Turn off antialiasing when using Mesa during testing. https://bugs.webkit.org/show_bug.cgi?id=47697 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): 2010-10-18 James Robinson Update the chromium DEPS from 62399 to 62813 to pick up skia fixes * DEPS: 2010-10-17 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: Introduce InspectorResourceAgent.h/cpp and ResourceManager.js to fill network panel with data. https://bugs.webkit.org/show_bug.cgi?id=47779 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::didReceiveResponse): 2010-10-17 Pascal Massimino Reviewed by Adam Barth. Add support for WebP image decoding in ImageDecoder using library libwebp-decode library available from http://www.webmproject.org/code/ https://bugs.webkit.org/show_bug.cgi?id=47512 Tests: fast/images/webp-image-decoding.html * CMakeLists.txt: add platform/image-decoders/webp files and directory * GNUmakefile.am: add platform/image-decoders/webp directory * WebCore.gyp/WebCore.gyp: add platform/image-decoders/webp directory * WebCore.gypi: add platform/image-decoders/webp directory * features.gypi: add WTF_USE_WEBP=1 * platform/image-decoders/ImageDecoder.cpp: (WebCore::ImageDecoder::create): instantiate webp decoder for file starting with 'RIFF????WEBP' * platform/image-decoders/webp: Added. * platform/image-decoders/webp/WEBPImageDecoder.cpp: Added. (WebCore::WEBPImageDecoder::WEBPImageDecoder): (WebCore::WEBPImageDecoder::~WEBPImageDecoder): (WebCore::WEBPImageDecoder::isSizeAvailable): (WebCore::WEBPImageDecoder::frameBufferAtIndex): (WebCore::WEBPImageDecoder::decode): sub-class handling decoding of webp images * platform/image-decoders/webp/WEBPImageDecoder.h: Added. (WebCore::WEBPImageDecoder::filenameExtension): (WebCore::WEBPImageDecoder::supportsAlpha): header for webp-decoder sub-class 2010-10-15 Tony Chang Reviewed by Kent Tamura. [chromium] compile TestNetscapePlugIn on Chromium mac https://bugs.webkit.org/show_bug.cgi?id=47633 * WebKit.gyp: Add a mac specific target for compiling TestNetscapePlugIn Fix an include dir so we can compile in a chromium checkout. 2010-10-15 Sheriff Bot Unreviewed, rolling out r69809. http://trac.webkit.org/changeset/69809 https://bugs.webkit.org/show_bug.cgi?id=47725 Broke chromium mac compile (Requested by japhet on #webkit). * WebKit.gyp: 2010-10-15 Nikolas Zimmermann Reviewed by Dirk Schulze. Replace some String::format() usages by StringConcatenate in WebKit https://bugs.webkit.org/show_bug.cgi?id=47714 * src/BackForwardListClientImpl.cpp: (WebKit::BackForwardListClientImpl::itemAtIndex): * src/DebuggerAgentManager.cpp: (WebKit::DebuggerAgentManager::debugDetach): * src/LocalizedStrings.cpp: (WebCore::imageTitle): * src/WebPageSerializer.cpp: (WebKit::WebPageSerializer::generateMetaCharsetDeclaration): (WebKit::WebPageSerializer::generateBaseTagDeclaration): 2010-10-14 Wei Jia Reviewed by Darin Fisher. Retrieve info of lock keys from stashed currentInputEvent which is stored by chromium when it passes input event to WebCore. Retrieving only when stashed event is a keyboard event, which means synthetic KeyboardEvent inherits lock key state from real keyboard event. https://bugs.webkit.org/show_bug.cgi?id=46518 * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 2010-10-14 John Abd-El-Malek Reviewed by Tony Chang. [chromium] null check the widget before sending it data as calling didReceiveData might delete it https://bugs.webkit.org/show_bug.cgi?id=47708 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::committedLoad): 2010-10-14 Tony Chang Reviewed by Kent Tamura. [chromium] compile TestNetscapePlugIn on Chromium mac https://bugs.webkit.org/show_bug.cgi?id=47633 * WebKit.gyp: Add a mac specific target for compiling TestNetscapePlugIn 2010-10-13 Kinuko Yasuda Reviewed by Jian Li. [Chromium] Enable FILE_SYSTEM by default for chromium https://bugs.webkit.org/show_bug.cgi?id=47639 * features.gypi: Add FILE_SYSTEM=1. Also remove FILE_READER=1 as it seems to be not used anymore. 2010-10-13 Jeremy Orlow Reviewed by Nate Chapin. IndexedDB should fire some errors synchronously https://bugs.webkit.org/show_bug.cgi?id=47530 * public/WebIDBCursor.h: * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::transaction): * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * public/WebIDBObjectStore.h: * public/WebIDBTransactionCallbacks.h: * src/IDBCursorBackendProxy.cpp: (WebCore::IDBCursorBackendProxy::update): (WebCore::IDBCursorBackendProxy::continueFunction): (WebCore::IDBCursorBackendProxy::remove): * src/IDBCursorBackendProxy.h: * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::createObjectStore): (WebCore::IDBDatabaseProxy::removeObjectStore): (WebCore::IDBDatabaseProxy::setVersion): (WebCore::IDBDatabaseProxy::transaction): * src/IDBDatabaseProxy.h: * src/IDBIndexBackendProxy.cpp: (WebCore::IDBIndexBackendProxy::openCursor): (WebCore::IDBIndexBackendProxy::openKeyCursor): (WebCore::IDBIndexBackendProxy::get): (WebCore::IDBIndexBackendProxy::getKey): * src/IDBIndexBackendProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::get): (WebCore::IDBObjectStoreProxy::put): (WebCore::IDBObjectStoreProxy::remove): (WebCore::IDBObjectStoreProxy::createIndex): (WebCore::IDBObjectStoreProxy::index): (WebCore::IDBObjectStoreProxy::removeIndex): (WebCore::IDBObjectStoreProxy::openCursor): * src/IDBObjectStoreProxy.h: * src/WebIDBCursorImpl.cpp: (WebKit::WebIDBCursorImpl::update): (WebKit::WebIDBCursorImpl::continueFunction): (WebKit::WebIDBCursorImpl::remove): * src/WebIDBCursorImpl.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::createObjectStore): (WebKit::WebIDBDatabaseImpl::removeObjectStore): (WebKit::WebIDBDatabaseImpl::setVersion): (WebKit::WebIDBDatabaseImpl::transaction): * src/WebIDBDatabaseImpl.h: * src/WebIDBIndexImpl.cpp: (WebKit::WebIDBIndexImpl::openObjectCursor): (WebKit::WebIDBIndexImpl::openKeyCursor): (WebKit::WebIDBIndexImpl::getObject): (WebKit::WebIDBIndexImpl::getKey): * src/WebIDBIndexImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::get): (WebKit::WebIDBObjectStoreImpl::put): (WebKit::WebIDBObjectStoreImpl::remove): (WebKit::WebIDBObjectStoreImpl::createIndex): (WebKit::WebIDBObjectStoreImpl::index): (WebKit::WebIDBObjectStoreImpl::removeIndex): (WebKit::WebIDBObjectStoreImpl::openCursor): * src/WebIDBObjectStoreImpl.h: 2010-10-13 Brett Wilson Reviewed by Darin Fisher. Save and restore the GraphicsContext around setting the clip rect for drawing text. https://bugs.webkit.org/show_bug.cgi?id=47634 * src/WebFontImpl.cpp: (WebKit::WebFontImpl::drawText): 2010-10-13 Kenneth Russell Reviewed by James Robinson. Revert changes to WebViewImpl in r69633 https://bugs.webkit.org/show_bug.cgi?id=47610 Revert change to WebViewImpl.cpp in http://trac.webkit.org/changeset/69633 which incorrectly used PassRefPtr for a local variable instead of RefPtr. This was a fix for changes in http://trac.webkit.org/changeset/69619 and http://trac.webkit.org/changeset/69624 . * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-10-13 Gavin Barraclough Reviewed by Oliver Hunt. Bug 43987 - Downloading using XHR is much slower than before * src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 2010-10-13 Adam Barth Reviewed by Tony Chang. [Chromium] Clean up WebPageSerializerImpl::serialize https://bugs.webkit.org/show_bug.cgi?id=47577 This patch shouldn't have any behavior change. I'm just trying to understand what this code does. * src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer): (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): (WebKit::WebPageSerializerImpl::serialize): * src/WebPageSerializerImpl.h: 2010-10-13 John Knottenbelt Reviewed by Steve Block. First step towards client-based Geolocation in Chromium. Build fixes for CLIENT_BASED_GEOLOCATION preprocessor feature define. https://bugs.webkit.org/show_bug.cgi?id=47586 * WebKit.gyp: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): * src/ChromiumBridge.cpp: * src/WebGeolocationServiceMock.cpp: (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock): (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission): (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition): (WebKit::WebGeolocationServiceMock::setMockGeolocationError): 2010-10-11 Andrei Popescu Reviewed by Jeremy Orlow. [Chromium] Cleanup WebIDBFactory::open once the Chromium plumbing has landed. https://bugs.webkit.org/show_bug.cgi?id=47531 Remove the temporary open() method since the appropriate Chromium plumbing was added in http://codereview.chromium.org/3729003/ * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): 2010-10-13 Adam Barth Reviewed by Darin Fisher. [Chromium] Clean up SerializeDomParam https://bugs.webkit.org/show_bug.cgi?id=47580 This patch just renames a bunch of the members of this struct to be more sensible. No behavior change, well, except for one struct member that wasn't initialized. I didn't trace through this code to see if the uninitialized value was used anywhere, but initializing all the values seems like a good idea. * src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam): (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag): (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag): (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): (WebKit::WebPageSerializerImpl::openTagToString): (WebKit::WebPageSerializerImpl::endTagToString): (WebKit::WebPageSerializerImpl::buildContentForNode): * src/WebPageSerializerImpl.h: 2010-10-13 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: stack information is inconsistent between console.trace and runtime errors. https://bugs.webkit.org/show_bug.cgi?id=47252 * DEPS: bump up V8 revision 2010-10-12 Kenneth Russell Unreviewed. Fixes for all WebGL content causing assertion failures in Chromium after http://trac.webkit.org/changeset/69619 and http://trac.webkit.org/changeset/69624 . * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3D::create): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-10-12 Alok priyadarshi Reviewed by Kenneth Russell. Remove support for ANGLE SH_VERSION <= 100 https://bugs.webkit.org/show_bug.cgi?id=47307 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers): (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): 2010-10-12 James Robinson Unreviewed chromium compile fixes for http://trac.webkit.org/changeset/69619. * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3D::create): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): * src/WebViewImpl.h: 2010-10-12 Jian Li Unreviewed. Bump up revision in order to pick up fix. * DEPS: 2010-10-12 Jian Li Unreview. Build fix for chromium. * public/WebBlobRegistry.h: 2010-10-12 Jian Li Reviewed by Darin Fisher. [chromium] Update WebBlobData to adapt to BlobData change in terms of handling string data item. https://bugs.webkit.org/show_bug.cgi?id=47423 Also remove unneeded methods in WebBlobData. WebBlobStorageData.* are also removed since they're not longer needed. * WebKit.gyp: * public/WebBlobData.h: * public/WebBlobRegistry.h: * public/WebBlobStorageData.h: Removed. * public/WebThreadSafeData.h: Added. * src/WebBlobData.cpp: * src/WebBlobStorageData.cpp: Removed. * src/WebThreadSafeData.cpp: Added. 2010-10-12 Kavita Kanetkar Reviewed by Dumitru Daniliuc. [FileSystem] Add ability to pass a bool to create or not create root path while opening filesystem. https://bugs.webkit.org/show_bug.cgi?id=47519 * public/WebCommonWorkerClient.h: (WebKit::WebCommonWorkerClient::openFileSystem): * public/WebFrameClient.h: (WebKit::WebFrameClient::openFileSystem): 2010-10-12 James Robinson Reviewed by Nate Chapin (in person). Fix chromium compile. * src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::WebPageSerializerImpl): (WebKit::WebPageSerializerImpl::serialize): 2010-10-12 Nikolas Zimmermann Reviewed by Gavin Barraclough. Unify JSC::StringBuilder & WebCore::StringBuilder https://bugs.webkit.org/show_bug.cgi?id=47538 * src/LocalizedStrings.cpp: (WebCore::imageTitle): Use WTF::StringBuilder. * src/WebEntities.cpp: (WebKit::WebEntities::convertEntitiesInString): Ditto. * src/WebPageSerializerImpl.cpp: Remove useless includes. (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): * src/WebPageSerializerImpl.h: Use WTF::StringBuilder. 2010-10-07 Stephen White Reviewed by James Robinson. [chromium] Zero-out all textures created via WebGraphicsContext3DDefaultImpl::texImage2D(). https://bugs.webkit.org/show_bug.cgi?id=47178 Covered by fast/canvas/toDataURL-alpha.html, when run with --accelerated-2d-canvas. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::bytesPerComponent): (WebKit::componentsPerPixel): (WebKit::imageSizeInBytes): (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): 2010-10-12 Dave Moore Reviewed by Tony Chang. Use new WebThemeEngine api on chromium / linux to draw scrollbars. https://bugs.webkit.org/show_bug.cgi?id=47473 * public/WebThemeEngine.h: Removed. * chromium/src/ChromiumBridge.cpp: 2010-10-11 Daniel Cheng Reviewed by Tony Chang. [chromium] Prepare Clipboard/DragData for transition to new drag-and-drop interface. https://bugs.webkit.org/show_bug.cgi?id=44992 Add a new entry point for drag in to allow a graceful transition from the legacy drag and drop model, where all data is copied in at the beginning of a drag, to a model where data is retrieved on demand via IPCs. The rationale for this is when we begin supporting arbitrary MIME types in dataTransfer, we don't want to be copying aribtrary amounts of data over for each start drag IPC. * public/WebView.h: * src/WebDragData.cpp: (WebKit::WebDragData::initialize): Use the legacy data object. (WebKit::WebDragData::ensureMutable): Change the if to an ASSERT. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::dragTargetDragEnterNew): New entry point. * src/WebViewImpl.h: 2010-10-11 Jeremy Orlow Reviewed by Nate Chapin. [Chromium] Add plumbing for synchronous indexedDB exceptions https://bugs.webkit.org/show_bug.cgi?id=47511 Add a WebExceptionCode file (already run by fishd) and add versions of each applicable method that take such a parameter. A follow up patch will be posted with the meat. * WebKit.gyp: * public/WebExceptionCode.h: Added. * public/WebIDBCursor.h: (WebKit::WebIDBCursor::update): (WebKit::WebIDBCursor::continueFunction): (WebKit::WebIDBCursor::remove): * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::objectStore): (WebKit::WebIDBDatabase::createObjectStore): (WebKit::WebIDBDatabase::removeObjectStore): (WebKit::WebIDBDatabase::setVersion): (WebKit::WebIDBDatabase::transaction): * public/WebIDBIndex.h: (WebKit::WebIDBIndex::openObjectCursor): (WebKit::WebIDBIndex::openKeyCursor): (WebKit::WebIDBIndex::getObject): (WebKit::WebIDBIndex::getKey): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::get): (WebKit::WebIDBObjectStore::put): (WebKit::WebIDBObjectStore::remove): (WebKit::WebIDBObjectStore::createIndex): (WebKit::WebIDBObjectStore::index): (WebKit::WebIDBObjectStore::removeIndex): (WebKit::WebIDBObjectStore::openCursor): 2010-10-11 Andrei Popescu Reviewed by Jeremy Orlow. The names of IndexedDB-specific attributes of DOMWindow should be prefixed with 'webkit'. https://bugs.webkit.org/show_bug.cgi?id=47508 * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableIndexedDatabase): (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled): 2010-10-11 Tony Chang Unreviewed, roll chromium DEPS to pick up Dave's fix for scrollbar painting. This will be needed by an upcoming patch. * DEPS: 2010-10-11 Kinuko Yasuda Reviewed by David Levin. Support DirectoryEntry.removeRecursively for FileSystem API https://bugs.webkit.org/show_bug.cgi?id=47400 * src/AsyncFileSystemChromium.cpp: (WebCore::AsyncFileSystemChromium::removeRecursively): Added. * src/AsyncFileSystemChromium.h: * src/WorkerAsyncFileSystemChromium.cpp: (WebCore::WorkerAsyncFileSystemChromium::removeRecursively): Added. * src/WorkerAsyncFileSystemChromium.h: * src/WorkerFileSystemCallbacksBridge.cpp: (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread): Added. (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread): Added. * src/WorkerFileSystemCallbacksBridge.h: 2010-10-09 Varun Jain Reviewed by Darin Fisher. Adding one method to the WebView interface: method to inform the renderer to scroll the currently focused element into view, for instance, when it is hidden due to window resizing. Also adding methods to WebNode and WebElement to expose more features of the underlying WebCore::Node. https://bugs.webkit.org/show_bug.cgi?id=46296 * public/WebElement.h: * public/WebNode.h: * public/WebView.h: * src/WebElement.h: (WebKit::WebElement::isTextFormControlElement): * src/WebNode.cpp: (WebKit::WebNode::isContentEditable): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::scrollFocusedNodeIntoView): * src/WebViewImpl.h: 2010-10-08 Andrei Popescu Reviewed by Jeremy Orlow. [Chromium] IDBFactory::open only works in single process mode. https://bugs.webkit.org/show_bug.cgi?id=47444 * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): 2010-10-08 Andrei Popescu Reviewed by Jeremy Orlow. IndexedDB does not have a quota mechanism. https://bugs.webkit.org/show_bug.cgi?id=47389 * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * src/IDBFactoryBackendProxy.cpp: (WebCore::IDBFactoryBackendProxy::open): * src/IDBFactoryBackendProxy.h: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::open): * src/WebIDBFactoryImpl.h: 2010-10-07 Zhenyao Mo Unreviewed, roll chromium to r61902. * DEPS: 2010-10-07 Zhenyao Mo Reviewed by Tony Chang. Copy mesa lib into DumpRenderTree bundle in Mac https://bugs.webkit.org/show_bug.cgi?id=47385 * WebKit.gyp: 2010-10-07 Daniel Cheng Reviewed by Tony Chang. [chromium] Minor naming cleanup in WebDragData, part 2 https://bugs.webkit.org/show_bug.cgi?id=47227 Chromium no longer uses the deprecated methods, so delete them. * DEPS: * public/WebDragData.h: * src/WebDragData.cpp: 2010-10-07 Dave Moore Reviewed by Kent Tamura. Add WebThemeEngine api for chromium/linux https://bugs.webkit.org/show_bug.cgi?id=47278 Create new linux specific version of WinThemeEngine.h and move existing windows specific one to win directory. Keep old top level file until chromium is updated to use the new ones. * WebKit.gyp: * public/WebThemeEngine.h: * src/ChromiumBridge.cpp: 2010-10-07 Andrey Kosyakov Reviewed by Yury Semikhatsky. Chromium multi-dll build broken due to WebResourceRawHeaders methods lacking WEBKIT_API decl spec https://bugs.webkit.org/show_bug.cgi?id=47329 * public/WebResourceRawHeaders.h: (WebKit::WebResourceRawHeaders::WebResourceRawHeaders): (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders): (WebKit::WebResourceRawHeaders::operator =): * src/WebResourceRawHeaders.cpp: (WebKit::WebResourceRawHeaders::initialize): (WebKit::WebResourceRawHeaders::reset): (WebKit::WebResourceRawHeaders::assign): 2010-10-06 Chris Guillory Reviewed by Chris Fleizach. Remove unused accessibility functions from webkit. https://bugs.webkit.org/attachment.cgi?bugid=46707 * public/WebAccessibilityCache.h: * public/WebViewClient.h: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::focusedNodeChanged): * src/WebAccessibilityCacheImpl.cpp: * src/WebAccessibilityCacheImpl.h: 2010-10-06 Kinuko Yasuda Reviewed by David Levin. Add FileSystemSync implementation for Worker https://bugs.webkit.org/show_bug.cgi?id=47044 * src/LocalFileSystemChromium.cpp: (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter for synchronous mode. * src/WebFileSystemCallbacksImpl.cpp: (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added a parameter for synchronous mode. (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to creates WorkerAsyncFileSystemChromium with synchronous flag. * src/WebFileSystemCallbacksImpl.h: * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::openFileSystem): Added a parameter for synchronous mode. * src/WebWorkerBase.h: * src/WorkerAsyncFileSystemChromium.cpp: (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium): (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete): Added. (WebCore::WorkerAsyncFileSystemChromium::move): (WebCore::WorkerAsyncFileSystemChromium::copy): (WebCore::WorkerAsyncFileSystemChromium::remove): (WebCore::WorkerAsyncFileSystemChromium::readMetadata): (WebCore::WorkerAsyncFileSystemChromium::createFile): (WebCore::WorkerAsyncFileSystemChromium::createDirectory): (WebCore::WorkerAsyncFileSystemChromium::fileExists): (WebCore::WorkerAsyncFileSystemChromium::directoryExists): (WebCore::WorkerAsyncFileSystemChromium::readDirectory): (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge): Updated to store the created bridge in a member variable so that we can call bridge->stop() later when the RunLoop is terminating. * src/WorkerAsyncFileSystemChromium.h: (WebCore::WorkerAsyncFileSystemChromium::create): Added a new parameter for synchronous mode. 2010-10-06 Andrei Popescu Reviewed by Jeremy Orlow. IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts. https://bugs.webkit.org/show_bug.cgi?id=47245 * src/IDBTransactionBackendProxy.cpp: (WebCore::IDBTransactionBackendProxy::scheduleTask): * src/IDBTransactionBackendProxy.h: 2010-10-06 Victor Wang Reviewed by Darin Fisher. [Chromium] Add webkit unit tests to chromium multi-dll build. In chromium multi-dll build mode, compile the webkit unit tests code in webkit.dll and export an api that runs the tests. https://bugs.webkit.org/show_bug.cgi?id=46907 * WebKit.gyp: * WebKit.gypi: * tests/RunAllTests.cpp: (main): * tests/WebUnitTests.cpp: Added. (WebKit::RunAllUnitTests): * tests/WebUnitTests.h: Added. 2010-10-05 Jeremy Orlow Reviewed by Nate Chapin. [Chromium] WebIDBKeyRange should handle null left/right pointers https://bugs.webkit.org/show_bug.cgi?id=47247 * src/WebIDBKeyRange.cpp: (WebKit::WebIDBKeyRange::assign): (WebKit::WebIDBKeyRange::left): (WebKit::WebIDBKeyRange::right): (WebKit::WebIDBKeyRange::flags): 2010-10-06 Tony Chang Unreviewed, rolling out r69202. http://trac.webkit.org/changeset/69202 https://bugs.webkit.org/show_bug.cgi?id=46937 Broke compile of test_shell * DEPS: * public/WebDragData.h: * src/WebDragData.cpp: (WebKit::WebDragData::hasFileNames): (WebKit::WebDragData::fileNames): (WebKit::WebDragData::setFileNames): (WebKit::WebDragData::appendToFileNames): (WebKit::WebDragData::fileContentFileName): (WebKit::WebDragData::setFileContentFileName): 2010-10-06 Daniel Cheng Reviewed by Tony Chang. [chromium] Minor naming cleanup in WebDragData, part 2 https://bugs.webkit.org/show_bug.cgi?id=46937 Chromium no longer uses the deprecated methods, so delete them. * DEPS: * public/WebDragData.h: * src/WebDragData.cpp: 2010-09-29 Alpha Lam Reviewed by James Robinson. Render textures in video frame directly. https://bugs.webkit.org/show_bug.cgi?id=46765 Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame. Also explicitly instruct VideoLayerChromium to release video frame when the owner of video frame is going away. * public/WebVideoFrame.h: * src/AssertMatchingEnums.cpp: * src/VideoFrameChromiumImpl.cpp: (WebKit::VideoFrameChromiumImpl::texture): * src/VideoFrameChromiumImpl.h: * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl): (WebKit::WebMediaPlayerClientImpl::load): * src/WebMediaPlayerClientImpl.h: 2010-10-05 Nat Duca Reviewed by James Robinson. [chromium] Handle composited root layer invalidations in screenspace, fixing the disappearing scrollbar problem. https://bugs.webkit.org/show_bug.cgi?id=46864 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::composite): (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): (WebKit::WebViewImpl::doComposite): 2010-10-05 Kenneth Russell Unreviewed, follow up to 47216. Add newline above "protected:". * public/WebFrame.h: 2010-10-05 Kenneth Russell Reviewed by Tony Chang. [chromium] Implement layerTreeAsText in DumpRenderTree https://bugs.webkit.org/show_bug.cgi?id=47216 Plumbed Frame::layerTreeAsText through Chromium's WebKit API to make it callable from DumpRenderTree. No new tests; verified with existing compositor layout tests. * public/WebFrame.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::layerTreeAsText): * src/WebFrameImpl.h: 2010-10-05 Andrew Wilson Reviewed by Andreas Kling. Notification onclick() events don't act like user gestures https://bugs.webkit.org/show_bug.cgi?id=47137 * src/WebNotification.cpp: (WebKit::WebNotification::dispatchClickEvent): Use UserGestureIndicator to make sure click events are treated like user gestures. 2010-10-05 Alok Priyadarshi Reviewed by Kenneth Russell. Supported ANGLE SH_VERSION > 100 https://bugs.webkit.org/show_bug.cgi?id=47024 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers): (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): 2010-10-04 Jeremy Orlow Reviewed by Nate Chapin. Rename get* and open*Cursor per the spec on IDBIndex https://bugs.webkit.org/show_bug.cgi?id=46906 The spec changed so that: IDBIndex.get -> getKey IDBIndex.getObject -> get IDBIndex.openCursor -> openKeyCursor IDBIndex.openObjectCursor -> openCursor * public/WebIDBIndex.h: (WebKit::WebIDBIndex::openCursor): (WebKit::WebIDBIndex::openKeyCursor): (WebKit::WebIDBIndex::get): (WebKit::WebIDBIndex::getKey): * src/IDBIndexBackendProxy.cpp: (WebCore::IDBIndexBackendProxy::openCursor): (WebCore::IDBIndexBackendProxy::openKeyCursor): (WebCore::IDBIndexBackendProxy::get): (WebCore::IDBIndexBackendProxy::getKey): * src/IDBIndexBackendProxy.h: * src/WebIDBIndexImpl.cpp: (WebKit::WebIDBIndexImpl::openObjectCursor): (WebKit::WebIDBIndexImpl::openKeyCursor): (WebKit::WebIDBIndexImpl::getObject): (WebKit::WebIDBIndexImpl::getKey): * src/WebIDBIndexImpl.h: 2010-10-04 Andrei Popescu Reviewed by Jeremy Orlow. IDBDatabase::createObjectStore/removeObjectStore and IDBObjectStore::createIndex/removeIndex should be synchronous. https://bugs.webkit.org/show_bug.cgi?id=46883 * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::createObjectStore): (WebKit::WebIDBDatabase::removeObjectStore): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::createIndex): (WebKit::WebIDBObjectStore::removeIndex): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::createObjectStore): (WebCore::IDBDatabaseProxy::removeObjectStore): * src/IDBDatabaseProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::createIndex): (WebCore::IDBObjectStoreProxy::removeIndex): * src/IDBObjectStoreProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::createObjectStore): (WebKit::WebIDBDatabaseImpl::removeObjectStore): * src/WebIDBDatabaseImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::createIndex): (WebKit::WebIDBObjectStoreImpl::removeIndex): * src/WebIDBObjectStoreImpl.h: 2010-10-04 Andrey Kosyakov Reviewed by Yury Semikhatsky. Web Inspector: [Chromium][Extension API] provide tab id of inspected tab in extension API https://bugs.webkit.org/show_bug.cgi?id=47080 * src/js/DevTools.js: Added a way for extension to get tabId of inspected window. (WebInspector.platformExtensionAPI): (WebInspector.buildPlatformExtensionAPI): (WebInspector.setInspectedTabId): 2010-10-04 Tony Gentilcore Reviewed by Darin Fisher. [chromium] Properly clear WebKit cache when chromium cache is cleared https://bugs.webkit.org/show_bug.cgi?id=47119 Contributed by Ricardo Vargas. See: http://code.google.com/p/chromium/issues/detail?id=54336 * src/WebCache.cpp: (WebKit::WebCache::clear): 2010-10-04 Nico Weber Reviewed by Kenneth Russell. Fix broken C++ in PODInterval and PODIntervalTree https://bugs.webkit.org/show_bug.cgi?id=47063 Change functions to be template specializations, like it's now required by PODIntervalTree and friends. * tests/PODIntervalTreeTest.cpp: 2010-10-04 Matt Mueller Reviewed by Darin Fisher. When building under chromium, build libwebkit as the same type (shared or static) as chromium. Fixes problems with multiple calls to global initializers/finalizers in shared chromium build. https://bugs.webkit.org/show_bug.cgi?id=46762 * WebKit.gyp: 2010-10-04 Alpha Lam Build fix. Not reviewed. Remove a function declaration. * src/ChromeClientImpl.h: 2010-10-04 Alpha Lam Build fix. Not reviewed. https://bugs.webkit.org/show_bug.cgi?id=47135 Add a stub method to make the build happy. * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::stopLoadingInFrame): 2010-10-04 Chris Marrin Reviewed by James Robinson. Move SharedGraphicsContext3D from ChromeClient to Page https://bugs.webkit.org/show_bug.cgi?id=47113 * src/ChromeClientImpl.cpp: * src/WebViewImpl.cpp: * src/WebViewImpl.h: 2010-10-04 Jeremy Orlow Reviewed by Nate Chapin. Implement IndexedDB's oncomplete and ontimeout. https://bugs.webkit.org/show_bug.cgi?id=47106 * public/WebIDBTransactionCallbacks.h: (WebKit::WebIDBTransactionCallbacks::id): (WebKit::WebIDBTransactionCallbacks::onAbort): (WebKit::WebIDBTransactionCallbacks::onComplete): (WebKit::WebIDBTransactionCallbacks::onTimeout): * src/IDBTransactionCallbacksProxy.cpp: (WebCore::IDBTransactionCallbacksProxy::onComplete): (WebCore::IDBTransactionCallbacksProxy::onTimeout): * src/IDBTransactionCallbacksProxy.h: * src/WebIDBTransactionCallbacksImpl.cpp: (WebCore::WebIDBTransactionCallbacksImpl::onComplete): (WebCore::WebIDBTransactionCallbacksImpl::onTimeout): * src/WebIDBTransactionCallbacksImpl.h: 2010-10-04 Adam Barth Reviewed by Darin Adler. Rename RedirectScheduler to NavigationScheduler https://bugs.webkit.org/show_bug.cgi?id=47037 Update for name change. * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::selectCacheWithManifest): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::loadJavaScriptURL): 2010-10-01 Victoria Kirst Reviewed by James Robinson. Fixing crash when audio media player is destructed https://bugs.webkit.org/show_bug.cgi?id=47020 Creates the VideoLayerChromium layer only if the media player contains a video. * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::readyStateChanged): (WebKit::WebMediaPlayerClientImpl::create): 2010-10-01 Mihai Parparita Reviewed by Nate Chapin. [Chromium] Remove WebURLLoaderClient::didFinishLoading(WebURLLoader*) https://bugs.webkit.org/show_bug.cgi?id=47008 Now that WebURLLoaderClient::didFinishLoading(WebURLLoader*) has no more callers, it can be removed (requires a Chromium roll to http://crrev.com/61206, which actually removed the last usage). * DEPS: * public/WebURLLoaderClient.h: 2010-10-01 Daniel Cheng Reviewed by Tony Chang. [chromium] Minor naming cleanup in WebDragData https://bugs.webkit.org/show_bug.cgi?id=46937 This is a two-part patch--one to add the new methods with normalized names that follow general WebKit convention, and a followup patch to remove the original methods once Chromium is updated. * public/WebDragData.h: * src/WebDragData.cpp: (WebKit::WebDragData::hasFileNames): renamed to containsFilenames (WebKit::WebDragData::fileNames): renamed to filenames (WebKit::WebDragData::setFileNames): renamed to setFilenames (WebKit::WebDragData::appendToFileNames): renamed to appendToFilenames (WebKit::WebDragData::containsFilenames): (WebKit::WebDragData::filenames): (WebKit::WebDragData::setFilenames): (WebKit::WebDragData::appendToFilenames): (WebKit::WebDragData::fileContentFileName): renamed to fileContentFilename (WebKit::WebDragData::setFileContentFileName): renamed to setFileContentFilename (WebKit::WebDragData::fileContentFilename): (WebKit::WebDragData::setFileContentFilename): 2010-10-01 Jochen Eisinger Reviewed by Darin Fisher. [chromium] add an identifier method to WebFrame. The identifier can be used to identify a given frame of a view over time. Using a pointer to the WebFrame object is fragile, since a new frame might have been allocated at the same address as an old, deleted frame. https://bugs.webkit.org/show_bug.cgi?id=46884 * public/WebFrame.h: * src/WebFrameImpl.cpp: (WebKit::generateFrameIdentifier): (WebKit::WebFrameImpl::identifier): (WebKit::WebFrameImpl::WebFrameImpl): * src/WebFrameImpl.h: 2010-09-29 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Changes to consolidate plugin zoom https://bugs.webkit.org/show_bug.cgi?id=46550 * public/WebPlugin.h: (WebKit::WebPlugin::setZoomLevel): * public/WebPluginContainer.h: * public/WebView.h: * public/WebViewClient.h: (WebKit::WebViewClient::zoomLimitsChanged): (WebKit::WebViewClient::zoomLevelChanged): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::createPlugin): * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::loadFrameRequest): (WebKit::WebPluginContainerImpl::zoomChanged): (WebKit::WebPluginContainerImpl::zoomLimitsChanged): * src/WebPluginContainerImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::zoomLevel): (WebKit::WebViewImpl::setZoomLevel): (WebKit::WebViewImpl::zoomLimitsChanged): (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged): (WebKit::WebView::zoomLevelToZoomFactor): (WebKit::WebView::zoomFactorToZoomLevel): * src/WebViewImpl.h: 2010-09-30 MORITA Hajime Reviewed by James Robinson. [Chromium] build fails unless ACCELERATED_2D_CANVAS defined https://bugs.webkit.org/show_bug.cgi?id=46955 Added ifdef guard around SharedGraphicsContext3D. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::getSharedGraphicsContext3D): * src/WebViewImpl.h: 2010-09-30 Alexey Marinichev Reviewed by Chris Marrin. Add GetGraphicsResetStatusARB entry point from ARB_robustness extension to GraphicsContext3D https://bugs.webkit.org/show_bug.cgi?id=46850 Added a stub for GraphicsContext3D::getGraphicsResetStatusARB. * src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3D::getGraphicsResetStatusARB): 2010-09-30 Dumitru Daniliuc Reviewed by Darin Fisher. Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&). * public/WebHTTPBody.h: * src/WebHTTPBody.cpp: (WebKit::WebHTTPBody::elementAt): 2010-09-30 Nico Weber Reviewed by Adam Barth. [chromium] Fix clang error in KURLTest.cpp https://bugs.webkit.org/show_bug.cgi?id=46861 * tests/KURLTest.cpp: (WTF::operator<<): 2010-09-30 Daniel Cheng Reviewed by Tony Chang. [chromium] Refactor ChromiumDataObject to use getters/setters. https://bugs.webkit.org/show_bug.cgi?id=46559 This is an intermediate step to converting ChromiumDataObject to use callbacks to the browser to retrieve data. * public/WebDragData.h: * src/WebDragData.cpp: (WebKit::WebDragData::initialize): (WebKit::WebDragData::url): (WebKit::WebDragData::setURL): (WebKit::WebDragData::urlTitle): (WebKit::WebDragData::setURLTitle): (WebKit::WebDragData::downloadMetadata): (WebKit::WebDragData::setDownloadMetadata): (WebKit::WebDragData::fileExtension): (WebKit::WebDragData::setFileExtension): (WebKit::WebDragData::hasFileNames): (WebKit::WebDragData::fileNames): (WebKit::WebDragData::setFileNames): (WebKit::WebDragData::appendToFileNames): (WebKit::WebDragData::plainText): (WebKit::WebDragData::setPlainText): (WebKit::WebDragData::htmlText): (WebKit::WebDragData::setHTMLText): (WebKit::WebDragData::htmlBaseURL): (WebKit::WebDragData::setHTMLBaseURL): (WebKit::WebDragData::fileContentFileName): (WebKit::WebDragData::setFileContentFileName): (WebKit::WebDragData::fileContent): (WebKit::WebDragData::setFileContent): 2010-09-29 Zhenyao Mo Reviewed by Kenneth Russell. glsl-conformance.html on khronos will crash chromium --in-process-webgl https://bugs.webkit.org/show_bug.cgi?id=46863 * src/WebGraphicsContext3DDefaultImpl.cpp: Make ShaderSourceMap as , so map resizing will be efficient and we don't need to worry about pointer copying. (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::compileShader): (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv): (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog): (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource): (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource): (WebKit::WebGraphicsContext3DDefaultImpl::createShader): (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader): * src/WebGraphicsContext3DDefaultImpl.h: Ditto. (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry): 2010-09-30 Andrei Popescu Reviewed by Jeremy Orlow. [Chromium] WebIDBDatabase and WebIDBObjectStore are missing methods called from Chromium land. https://bugs.webkit.org/show_bug.cgi?id=46922 The missing functions were removed in r68795. * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::createObjectStore): (WebKit::WebIDBDatabase::removeObjectStore): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::createIndex): (WebKit::WebIDBObjectStore::removeIndex): 2010-09-29 Kenneth Russell Reviewed by Dimitri Glazkov. [chromium] Add accelerated compositing support to DumpRenderTree and test_shell https://bugs.webkit.org/show_bug.cgi?id=46849 Added offscreen code path for WebGraphicsContext3DDefaultImpl which works with the compositor integration in both DumpRenderTree and test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint and thereby trigger the compositor's readback code path. Added support for --enable-accelerated-compositing to DumpRenderTree. Tested in both test_shell and DumpRenderTree on Linux, the latter by modifying a compositing layout test, dumping the pixels and verifying that they matched the output when the compositor was active. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId): (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture): (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D): (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D): (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): * src/WebGraphicsContext3DDefaultImpl.h: 2010-09-29 Jeremy Orlow Reviewed by Steve Block. Finished IDBTransaction for IndexedDB https://bugs.webkit.org/show_bug.cgi?id=46823 Plumbing. * public/WebIDBCallbacks.h: (WebKit::WebIDBCallbacks::onSuccess): * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::createObjectStore): (WebKit::WebIDBDatabase::removeObjectStore): (WebKit::WebIDBDatabase::close): * public/WebIDBIndex.h: (WebKit::WebIDBIndex::openObjectCursor): (WebKit::WebIDBIndex::openCursor): (WebKit::WebIDBIndex::getObject): (WebKit::WebIDBIndex::get): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::get): (WebKit::WebIDBObjectStore::put): (WebKit::WebIDBObjectStore::remove): (WebKit::WebIDBObjectStore::createIndex): (WebKit::WebIDBObjectStore::removeIndex): (WebKit::WebIDBObjectStore::openCursor): * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::id): (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface): * src/IDBCallbacksProxy.cpp: (WebCore::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::createObjectStore): (WebCore::IDBDatabaseProxy::removeObjectStore): (WebCore::IDBDatabaseProxy::close): * src/IDBDatabaseProxy.h: * src/IDBIndexBackendProxy.cpp: (WebCore::IDBIndexBackendProxy::openObjectCursor): (WebCore::IDBIndexBackendProxy::openCursor): (WebCore::IDBIndexBackendProxy::getObject): (WebCore::IDBIndexBackendProxy::get): * src/IDBIndexBackendProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::put): (WebCore::IDBObjectStoreProxy::remove): (WebCore::IDBObjectStoreProxy::createIndex): (WebCore::IDBObjectStoreProxy::removeIndex): (WebCore::IDBObjectStoreProxy::openCursor): * src/IDBObjectStoreProxy.h: * src/IDBTransactionBackendProxy.cpp: (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy): * src/WebIDBCallbacksImpl.cpp: (WebCore::WebIDBCallbacksImpl::onSuccess): * src/WebIDBCallbacksImpl.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::createObjectStore): (WebKit::WebIDBDatabaseImpl::removeObjectStore): (WebKit::WebIDBDatabaseImpl::close): * src/WebIDBDatabaseImpl.h: * src/WebIDBIndexImpl.cpp: (WebKit::WebIDBIndexImpl::openCursor): (WebKit::WebIDBIndexImpl::openObjectCursor): (WebKit::WebIDBIndexImpl::getObject): (WebKit::WebIDBIndexImpl::get): * src/WebIDBIndexImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::put): (WebKit::WebIDBObjectStoreImpl::remove): (WebKit::WebIDBObjectStoreImpl::createIndex): (WebKit::WebIDBObjectStoreImpl::removeIndex): (WebKit::WebIDBObjectStoreImpl::openCursor): * src/WebIDBObjectStoreImpl.h: 2010-09-29 Andrey Kosyakov Reviewed by Pavel Feldman. Web Inspector: display headers actually used by network stack in Resources tab Added plumbing for raw headers flag and response field between chromium and WebCore. https://bugs.webkit.org/show_bug.cgi?id=46092 * WebKit.gyp: * public/WebResourceRawHeaders.h: Added. * public/WebURLRequest.h: * public/WebURLResponse.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::willSendRequest): * src/WebResourceRawHeaders.cpp: Added. (WebKit::WebResourceRawHeaders::WebResourceRawHeaders): (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders): (WebKit::WebResourceRawHeaders::operator WTF::PassRefPtr): (WebKit::addHeader): (WebKit::WebResourceRawHeaders::addRequestHeader): (WebKit::WebResourceRawHeaders::addResponseHeader): * src/WebURLRequest.cpp: (WebKit::WebURLRequest::setReportRawHeaders): (WebKit::WebURLRequest::reportRawHeaders): * src/WebURLResponse.cpp: (WebKit::WebURLResponse::resourceRawHeaders): (WebKit::WebURLResponse::setResourceRawHeaders): * src/WebURLResponsePrivate.h: 2010-09-30 Avi Drissman Reviewed by Kenneth Russell. [Chromium] Tabbing into page doesn't always select the first element https://bugs.webkit.org/show_bug.cgi?id=46856 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setInitialFocus): 2010-09-30 Alexey Marinichev Reviewed by Kenneth Russell. Rename chromium's GraphicsContext3D.cpp to match others. https://bugs.webkit.org/show_bug.cgi?id=46771 * WebKit.gyp: * src/GraphicsContext3DChromium.cpp: Renamed from WebKit/chromium/src/GraphicsContext3D.cpp. 2010-09-29 Kent Tamura Reviewed by Dimitri Glazkov. Refactor HTMLInputElement: Make DeprecatedInputType private. https://bugs.webkit.org/show_bug.cgi?id=46791 * src/WebPasswordFormUtils.cpp: (WebKit::findPasswordFormFields): Accept any text field types as a username field. * src/WebSearchableFormData.cpp: (WebCore::HasSuitableTextElement): Accept any text field types as a search query field. 2010-09-29 Kinuko Yasuda Reviewed by Dumitru Daniliuc. Add removeRecursively to WebKit WebFileSystem API https://bugs.webkit.org/show_bug.cgi?id=46842 * public/WebFileSystem.h: (WebKit::WebFileSystem::removeRecursively): Added. 2010-09-29 Kinuko Yasuda Reviewed by David Levin. Fix DirectoryReader's behavior to trigger only one EntriesCallback per readEntries https://bugs.webkit.org/show_bug.cgi?id=46563 * src/WebFileSystemCallbacksImpl.cpp: (WebKit::WebFileSystemCallbacksImpl::didReadDirectory): 2010-09-29 Tony Chang Reviewed by James Robinson. [chromium] enable -Werror for DRT and webkit_unit_tests on Linux https://bugs.webkit.org/show_bug.cgi?id=46829 * WebKit.gyp: * tests/ArenaTestHelpers.h: (WebCore::ArenaTestHelpers::TrackedAllocator::free): * tests/IDBKeyPathTest.cpp: (WebCore::checkKeyPath): 2010-09-29 Tony Chang Reviewed by James Robinson. [chromium] enable -Werror on chromium linux webkit https://bugs.webkit.org/show_bug.cgi?id=46821 * WebKit.gyp: * src/gtk/WebInputEventFactory.cpp: 2010-09-29 Mihai Parparita Unreviewed removal of unused #define from WebHistory.h. Chromium usage of WEBKIT_BUG_40451_IS_FIXED was removed with http://crrev.com/50642. * public/WebHistoryItem.h: 2010-09-29 Kinuko Yasuda Unreviewed, adding one more missing change from the last patch. https://bugs.webkit.org/show_bug.cgi?id=46524 * WebKit.gyp: 2010-09-29 Kinuko Yasuda Unreviewed, adding the new files that were supposed to be added but I missed to include in my previous patch. https://bugs.webkit.org/show_bug.cgi?id=46524 * src/WorkerAsyncFileSystemChromium.cpp: Added. * src/WorkerAsyncFileSystemChromium.h: Added. 2010-09-29 Kinuko Yasuda Reviewed by David Levin. Bridge all FileSystem operations on Workers to the MainThread https://bugs.webkit.org/show_bug.cgi?id=46524 * src/LocalFileSystemChromium.cpp: (WebCore::LocalFileSystem::requestFileSystem): Changed the worker case code to create WebFileSystemCallbacksImpl with the current ScriptExecutionContext (WorkerContext). * src/WebFileSystemCallbacksImpl.cpp: (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added a new constructor that takes ScriptExecutionContext (WorkerContext) for workers. (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Added the code for workers that creates WorkerAsyncFileSystemChromium. * src/WebFileSystemCallbacksImpl.h: * src/WorkerAsyncFileSystemChromium.cpp: Added. * src/WorkerAsyncFileSystemChromium.h: Added. * src/WorkerFileSystemCallbacksBridge.cpp: Added methods for regular file system operations to proxy them to the main thread. (WebKit::WorkerFileSystemCallbacksBridge::createForOpenFileSystem): (WebKit::WorkerFileSystemCallbacksBridge::createForMove): (WebKit::WorkerFileSystemCallbacksBridge::createForCopy): (WebKit::WorkerFileSystemCallbacksBridge::createForRemove): (WebKit::WorkerFileSystemCallbacksBridge::createForReadMetadata): (WebKit::WorkerFileSystemCallbacksBridge::createForCreateFile): (WebKit::WorkerFileSystemCallbacksBridge::createForCreateDirectory): (WebKit::WorkerFileSystemCallbacksBridge::createForFileExists): (WebKit::WorkerFileSystemCallbacksBridge::createForDirectoryExists): (WebKit::WorkerFileSystemCallbacksBridge::createForReadDirectory): (WebKit::MainThreadFileSystemCallbacks::didSucceed): (WebKit::MainThreadFileSystemCallbacks::didReadMetadata): (WebKit::MainThreadFileSystemCallbacks::didReadDirectory): (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::moveOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::copyOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::removeOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::readMetadataOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::createFileOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::createDirectoryOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::fileExistsOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::directoryExistsOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::readDirectoryOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread): (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnWorkerThread): (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnWorkerThread): (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnWorkerThread): (WebKit::WorkerFileSystemCallbacksBridge::derefIfWorkerIsStopped): * src/WorkerFileSystemCallbacksBridge.h: 2010-09-29 Matt Perry Reviewed by Darin Fisher. Remove obsolete registerExtension variants from chromium port. https://bugs.webkit.org/show_bug.cgi?id=46683 * public/WebScriptController.h: * src/WebScriptController.cpp: 2010-09-29 Chris Guillory Reviewed by Dimitri Glazkov. Add method which checks if a WebAccessibilityObject is in the cache. https://bugs.webkit.org/show_bug.cgi?id=46605 * public/WebAccessibilityCache.h: * src/WebAccessibilityCacheImpl.cpp: (WebKit::WebAccessibilityCacheImpl::isCached): * src/WebAccessibilityCacheImpl.h: 2010-09-29 Anantanarayanan G Iyengar Reviewed by Darin Fisher. [chromium] Honor z-index specified by a plugin https://bugs.webkit.org/show_bug.cgi?id=46223 The Chromium plugin code which implements the iframe shim technique for overlaying a windowed plugin with content on the page should honor the z-index specified on the plugin widget. If the z-index here is greater than the enclosing iframe shim then the plugin should be displayed over the iframe. Updated the layout test to test for this case. Skipped the plugins/iframe-shims.html layout test on platforms which don't support it. * src/WebPluginContainerImpl.cpp: 2010-09-28 Vangelis Kokkevis Reviewed by Kenneth Russell. [chromium] Keep the accelerated compositor around even after a page is done using it to avoid startup costs in pages that frequently switch the compositor on and off. https://bugs.webkit.org/show_bug.cgi?id=45845 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-09-28 Nat Duca Reviewed by James Robinson. [chromium] invalidateRootLayerRect needs to schedule compositor https://bugs.webkit.org/show_bug.cgi?id=46219 Make sure setRootLayerNedsDisplay is called by root invalidation. To avoid confusion about root-layer versus non-root-layer behavior, move the root layer damage state to the WebView. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setRootLayerNeedsDisplay): (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): (WebKit::WebViewImpl::doComposite): * src/WebViewImpl.h: 2010-09-28 Jenn Braithwaite Reviewed by Dmitry Titov. Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument. https://bugs.webkit.org/show_bug.cgi?id=46663 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument): * src/FrameLoaderClientImpl.h: 2010-09-28 Andrei Popescu Reviewed by Jeremy Orlow. [Chromium] Linking error due to wrong guard in WebIDBTransaction.h https://bugs.webkit.org/show_bug.cgi?id=46710 Remove the wrong guard. * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface): 2010-09-27 Alpha Lam Build fix. Not reviewed. Use if instead of switch to avoid compilation error. * src/VideoFrameChromiumImpl.cpp: (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 2010-09-27 Alpha Lam Build fix. Not reviewed. Remove constant definitions from this file. * src/VideoFrameChromiumImpl.cpp: 2010-09-27 Alpha Lam Build fix. Not reviewed. Fix warnings again. * src/VideoFrameChromiumImpl.cpp: (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 2010-09-27 Alpha Lam Build fix. Not reviewed. Add a default for unhandled cases for switch statement. * src/VideoFrameChromiumImpl.cpp: (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 2010-09-27 Victoria Kirst Reviewed by James Robinson. Fixing constants in VideoFrameChromiumImpl so that it overloads the VideoFrameChromium const declarations. Also adding logic such that a VideoFrameChromium understands what size its texture should be based on frame format. https://bugs.webkit.org/show_bug.cgi?id=45069 * src/VideoFrameChromiumImpl.cpp: 2010-09-27 Vangelis Kokkevis Reviewed by James Robinson. [chromium] WebViewImpl now holds a ref counted pointer to the LayerRendererChromium to ensure that the compositor does not get destroyed before the layers used by it do. This was done to ensure that layers properly clean up their texture resources on destruction. https://bugs.webkit.org/show_bug.cgi?id=46139 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): * src/WebViewImpl.h: 2010-09-24 Zhenyao Mo Reviewed by Kenneth Russell. Hook up ANGLE with chromium --in-process-webgl port https://bugs.webkit.org/show_bug.cgi?id=44309 * WebKit.gyp: Add angle dependency. * src/WebGraphicsContext3DDefaultImpl.cpp: Using angle for shader validation and translation. (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::compileShader): (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Using defined const instead. (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv): (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog): (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource): (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource): (WebKit::WebGraphicsContext3DDefaultImpl::createShader): (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader): (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers): (WebKit::WebGraphicsContext3DDefaultImpl::angleDestroyCompilers): (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): * src/WebGraphicsContext3DDefaultImpl.h: Add necessary data and functions for angle stuff. (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry): (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::~ShaderSourceEntry): 2010-09-27 Kinuko Yasuda Reviewed by Adam Barth. [Cleanup] Add create method to FileSystemCallbacks to get rid of naked new's https://bugs.webkit.org/show_bug.cgi?id=46561 Also cleanup the callbacks layering to pass AsyncFileSystemCallbacks object to LocalFileSystem::requestFileSystem (rather than FileSystemCallback and ErrorCallback) so that all the callbacks class we pass from WebCore to WebKit/chromium/src will be AsyncFileSystemCallbacks. * src/LocalFileSystemChromium.cpp: (WebCore::LocalFileSystem::requestFileSystem): Changed to take AsyncFileSystemCallbacks as (a) callback argument(s). 2010-09-24 Tony Chang Reviewed by Kent Tamura. [chromium] remove unused gtk WebScreenInfoFactory https://bugs.webkit.org/show_bug.cgi?id=46526 AFAICT these files aren't referenced in code or by gyp. * WebKit.gyp: Remove duplicate filename. * public/gtk/WebScreenInfoFactory.h: Removed. * src/gtk/WebScreenInfoFactory.cpp: Removed. 2010-09-26 Mihai Parparita Reviewed by Adam Barth. [Chromium] Remove no longer used WebView member functions https://bugs.webkit.org/show_bug.cgi?id=46515 With http://crrev.com/60526 there's no longer any Chromium code calling the non-static versions of addUserScript and addUserStyleSheet. * public/WebView.h: 2010-09-25 Nicolas Weber Reviewed by James Robinson. [chromium] Fix clang warning/error. https://bugs.webkit.org/show_bug.cgi?id=46552 * src/WorkerFileSystemCallbacksBridge.h: 2010-09-24 Mihai Parparita Reviewed by Darin Fisher. [Chromium] Unnecessary blob dependency in WebKit.gyp https://bugs.webkit.org/show_bug.cgi?id=46488 r66322 shouldn't have added a blob dependency by hand to targets in WebKit.gyp, instead blob should be a dependency of webkit_support. http://crrev.com/59406 did that, so we can now remove these deps. * WebKit.gyp: 2010-09-24 Ryosuke Niwa Reviewed by Tony Chang. [chromium] Implement TextInputController::firstRectForCharacterRange https://bugs.webkit.org/show_bug.cgi?id=38100 Implemented TextInputController::firstRectForCharacterRange for chromium platform. Because the function needs to return an array of integers, added makeIntArray to WebBindings. makeIntArray does not take Vector because WebBindings.h is included in plugin glue code where it cannot find wtf/Vector.h. No new tests are added since we need to implement the same feature in chromium side in order to enable any tests that uses this function. * public/WebBindings.h: * public/WebFrame.h: * src/WebBindings.cpp: (WebKit::makeIntArrayImpl): Added. (WebKit::WebBindings::makeIntArray): Added. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::firstRectForCharacterRange): Added. * src/WebFrameImpl.h: 2010-09-24 Tony Chang Unreviewed, fix chromium compile after r68276 which renamed Render*::minPrefWidth to minPreferredLogicalWidth. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::contentsPreferredWidth): 2010-09-24 Eric Uhrhane Reviewed by David Levin. Remove unnecessary parameter from AsyncFileWriterClient::didTruncate https://bugs.webkit.org/show_bug.cgi?id=46390 * public/WebFileWriterClient.h: * src/AsyncFileWriterChromium.cpp: * src/AsyncFileWriterChromium.h: 2010-09-24 Chris Guillory Reviewed by Chris Fleizach. Send webkit accessibility notifications to Chromium. https://bugs.webkit.org/show_bug.cgi?id=45156 * public/WebAccessibilityCache.h: * public/WebViewClient.h: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::focusedNodeChanged): (WebKit::ChromeClientImpl::getPopupMenuInfo): * src/ChromeClientImpl.h: * src/WebAccessibilityCache.cpp: (WebKit::WebAccessibilityCache::accessibilityEnabled): 2010-09-23 Kent Tamura Reviewed by Dimitri Glazkov. [Chromium] Fix some IndexedDB tests for DRT https://bugs.webkit.org/show_bug.cgi?id=46444 * DEPS: Roll Chromium revision to 60394, which added WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath() implementation. 2010-09-23 Kinuko Yasuda Unreviewed, another attempt to fix build. The code didn't have proper if-defs. * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::openFileSystem): * src/WebWorkerBase.h: * src/WorkerFileSystemCallbacksBridge.h: 2010-09-23 Kinuko Yasuda Unreviewed; build fix attempt. * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::openFileSystem): * src/WorkerFileSystemCallbacksBridge.h: 2010-09-23 Kinuko Yasuda Reviewed by David Levin. Add Worker support for FileSystem API https://bugs.webkit.org/show_bug.cgi?id=45808 Added WebWorkerBase::openFileSystem and WebCommonWorkerClient:: openFileSystem to call in to the browser via Worker stub/proxy in the chromium. Also added WorkerFileSystemCallbacksBridge class that proxies requests and callbacks between from/to worker thread to/from the main thread. * public/WebCommonWorkerClient.h: (WebKit::WebCommonWorkerClient::openFileSystem): Added. * src/LocalFileSystemChromium.cpp: (WebCore::LocalFileSystem::localFileSystem): Added. (WebCore::LocalFileSystem::requestFileSystem): Added implementation for workers. In worker case this calls WebWorkerBase::openFileSystem. * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::openFileSystem): Added. This is called from LocalFileSystem::requestFileSystem on the worker thread and creates a bridge to call WebCommonWorkerClient::openFileSystem on the main thread. * src/WebWorkerBase.h: * src/WebWorkerClientImpl.h: (WebKit::WebWorkerClientImpl::openFileSystem): Added. * src/WorkerFileSystemCallbacksBridge.cpp: Added. * src/WorkerFileSystemCallbacksBridge.h: Added. 2010-09-23 Tony Chang Reviewed by Dimitri Glazkov. [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime https://bugs.webkit.org/show_bug.cgi?id=46426 * public/WebFrame.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::pauseSVGAnimation): * src/WebFrameImpl.h: 2010-09-23 Tony Chang Reviewed by David Levin. [chromium] add caretBrowsingEnabled to WebSettings and DRT https://bugs.webkit.org/show_bug.cgi?id=46388 * public/WebSettings.h: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setCaretBrowsingEnabled): * src/WebSettingsImpl.h: 2010-09-23 Eric Uhrhane Reviewed by David Levin. Rename FileWriterClient to AsyncFileWriterClient. https://bugs.webkit.org/show_bug.cgi?id=46325 * src/AsyncFileSystemChromium.cpp: * src/AsyncFileSystemChromium.h: * src/AsyncFileWriterChromium.cpp: * src/AsyncFileWriterChromium.h: 2010-09-23 Nate Chapin Reviewed by Darin Fisher. Add hyperlink auditing settings (i.e., ). https://bugs.webkit.org/show_bug.cgi?id=30458 * public/WebSettings.h: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setHyperlinkAuditingEnabled): * src/WebSettingsImpl.h: 2010-09-23 Andrey Kosyakov Unreviewed build fix ("WTF/" -> "wtf/" in include, broke Arm build) * src/AsyncFileWriterChromium.h: 2010-09-08 Tony Gentilcore Reviewed by Darin Fisher. [chromium] Add chromium port API for accessing Web Timing information https://bugs.webkit.org/show_bug.cgi?id=45428 * WebKit.gyp: * public/WebFrame.h: * public/WebPerformance.h: Added. (WebKit::WebPerformance::WebPerformance): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::performance): * src/WebFrameImpl.h: * src/WebPerformance.cpp: Added. (WebKit::WebPerformance::WebPerformance): (WebKit::WebPerformance::~WebPerformance): (WebKit::WebPerformance::operator=): (WebKit::WebPerformance::navigationType): (WebKit::WebPerformance::navigationStart): (WebKit::WebPerformance::unloadEventEnd): (WebKit::WebPerformance::redirectStart): (WebKit::WebPerformance::redirectEnd): (WebKit::WebPerformance::redirectCount): (WebKit::WebPerformance::fetchStart): (WebKit::WebPerformance::domainLookupStart): (WebKit::WebPerformance::domainLookupEnd): (WebKit::WebPerformance::connectStart): (WebKit::WebPerformance::connectEnd): (WebKit::WebPerformance::requestStart): (WebKit::WebPerformance::requestEnd): (WebKit::WebPerformance::responseStart): (WebKit::WebPerformance::responseEnd): (WebKit::WebPerformance::loadEventStart): (WebKit::WebPerformance::loadEventEnd): (WebKit::WebPerformance::operator PassRefPtr): 2010-09-23 Andrei Popescu Reviewed by Jeremy Orlow. IDBObjectStore::get should run in a transaction. https://bugs.webkit.org/show_bug.cgi?id=44700 * public/WebIDBFactory.h: * public/WebIDBObjectStore.h: * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::didCompleteTaskEvents): (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface): * src/IDBDatabaseProxy.h: * src/IDBFactoryBackendProxy.cpp: * src/IDBFactoryBackendProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::get): * src/IDBObjectStoreProxy.h: * src/IDBTransactionBackendProxy.cpp: (WebCore::IDBTransactionBackendProxy::scheduleTask): (WebCore::IDBTransactionBackendProxy::didCompleteTaskEvents): * src/IDBTransactionBackendProxy.h: (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction): * src/WebIDBFactoryImpl.cpp: * src/WebIDBFactoryImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::get): * src/WebIDBObjectStoreImpl.h: * src/WebIDBTransactionImpl.cpp: (WebKit::WebIDBTransactionImpl::didCompleteTaskEvents): (WebKit::WebIDBTransactionImpl::getIDBTransactionBackendInterface): * src/WebIDBTransactionImpl.h: 2010-09-23 Jeremy Orlow Unreviewed small fix for my last patch. * public/WebIDBTransaction.h: (WebKit::WebIDBTransaction::id): 2010-09-22 Mihai Parparita Reviewed by Darin Fisher. [Chromium] User style layout tests don't pass on Chromium https://bugs.webkit.org/show_bug.cgi?id=46069 Expose UserStyleInjectionTime in WebView. * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebView::addUserStyleSheet): 2010-09-22 James Robinson [chromium] Re-synchronizes features.gypi with upstream feature_overrides.gypi. * features.gypi: 2010-09-22 Ruben Reviewed by Tony Chang. [chromium] added ifdefs for FreeBSD support https://bugs.webkit.org/show_bug.cgi?id=46316 * WebKit.gyp: * features.gypi: * src/ChromiumBridge.cpp: * src/WebFrameImpl.cpp: (WebKit::ChromePrintContext::spoolPage): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::mouseDown): (WebKit::WebViewImpl::mouseUp): (WebKit::WebViewImpl::keyEvent): (WebKit::WebViewImpl::setScrollbarColors): (WebKit::WebViewImpl::setSelectionColors): 2010-09-22 Eric Uhrhane Reviewed by Dumitru Daniliuc. Add Chromium implementation for FileWriter https://bugs.webkit.org/show_bug.cgi?id=44361 No new tests; the implementation's not yet far enough along for that. This makes a chain of construction-and-linking-up for various sorts of FileWriter interfaces to call through to Chromium, and for various sorts of FileWriterClients to call back, with object ownership always pointing towards the Chromium API. That is, the DOM object owns an AsyncFileWriter, which owns its implementation object, and the reverse (client) direction is raw pointers. File metadata is looked up before the FileWriter is returned, so that we know the file exists and can cache its length. The WebKit/chromium interface here is modeled after that of the FileSystem. * public/WebFileInfo.h: (WebKit::WebFileInfo::WebFileInfo): * src/AsyncFileSystemChromium.cpp: (WebCore::FileWriterHelperCallbacks::FileWriterHelperCallbacks): (WebCore::FileWriterHelperCallbacks::didSucceed): (WebCore::FileWriterHelperCallbacks::didReadMetadata): (WebCore::FileWriterHelperCallbacks::didReadDirectory): (WebCore::FileWriterHelperCallbacks::didOpenFileSystem): (WebCore::FileWriterHelperCallbacks::didCreateFileWriter): (WebCore::FileWriterHelperCallbacks::didFail): (WebCore::AsyncFileSystemChromium::createWriter): * src/AsyncFileSystemChromium.h: * src/AsyncFileWriterChromium.cpp: (WebCore::AsyncFileWriterChromium::setWebFileWriter): (WebCore::AsyncFileWriterChromium::write): (WebCore::AsyncFileWriterChromium::didFail): * src/AsyncFileWriterChromium.h: * src/WebFileSystemCallbacksImpl.h: 2010-09-22 Kenneth Russell Unreviewed, Chromium build fix. Fix build when accelerated compositing is not enabled at compile time. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): 2010-09-22 Matt Perry Reviewed by Darin Fisher. Trying to reland a version of r67749: Have V8DOMWindowShell ask the embedder whether to run a V8 extension in a particular script context. https://bugs.webkit.org/show_bug.cgi?id=45721 * public/WebFrameClient.h: (WebKit::WebFrameClient::allowScriptExtension): * public/WebScriptController.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::allowScriptExtension): * src/FrameLoaderClientImpl.h: * src/WebScriptController.cpp: (WebKit::WebScriptController::registerExtension): 2010-09-22 Jeremy Orlow Reviewed by Darin Fisher. [Chromium] Change WebKit API for IDBTransaciton to new style https://bugs.webkit.org/show_bug.cgi?id=46263 * public/WebIDBIndex.h: (WebKit::WebIDBIndex::openObjectCursor): (WebKit::WebIDBIndex::openCursor): (WebKit::WebIDBIndex::getObject): (WebKit::WebIDBIndex::get): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::get): (WebKit::WebIDBObjectStore::put): (WebKit::WebIDBObjectStore::remove): (WebKit::WebIDBObjectStore::openCursor): * src/WebIDBIndexImpl.cpp: (WebKit::WebIDBIndexImpl::openCursor): (WebKit::WebIDBIndexImpl::openObjectCursor): (WebKit::WebIDBIndexImpl::getObject): (WebKit::WebIDBIndexImpl::get): * src/WebIDBIndexImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::get): (WebKit::WebIDBObjectStoreImpl::put): (WebKit::WebIDBObjectStoreImpl::remove): (WebKit::WebIDBObjectStoreImpl::openCursor): * src/WebIDBObjectStoreImpl.h: 2010-09-22 Pavel Podivilov Reviewed by Pavel Feldman. Web Inspector: implement pausing on XHR https://bugs.webkit.org/show_bug.cgi?id=46086 * src/js/DevTools.js: (): 2010-09-21 Brett Wilson Reviewed by Darin Fisher. Add caps log and num lock toggle state to WebInputEvent. https://bugs.webkit.org/show_bug.cgi?id=46229 * public/WebInputEvent.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleInputEvent): * src/WebViewImpl.h: * src/gtk/WebInputEventFactory.cpp: (WebKit::gdkStateToWebEventModifiers): * src/win/WebInputEventFactory.cpp: (WebKit::SetToggleKeyState): (WebKit::WebInputEventFactory::keyboardEvent): (WebKit::WebInputEventFactory::mouseEvent): (WebKit::WebInputEventFactory::mouseWheelEvent): 2010-09-21 James Robinson Reviewed by Kenneth Russell. [chromium] Check if the acceleratedCompositingEnabled setting is active in WebViewImpl::graphicsContext3D() https://bugs.webkit.org/show_bug.cgi?id=46239 This adds a check for whether acceleratedCompositingEnabled is true on the Page's Settings object before creating and vending a GraphicsContext3D object. This is needed because when an offscreen WebGraphicsContext3DCommandBufferImpl is initialized it first asks the WebViewImpl for the compositor context. WebGraphicsContext3DCommandBufferImpl::initialize checks if the disable accelerated compositing command line switch is set, but this is insufficient as sometimes the Setting object does not agree exactly with the command line switches. For example, we explicitly toggle accelerated compositing for some chrome UI URLs regardless of what the flag says. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::graphicsContext3D): 2010-09-21 Kent Tamura Reviewed by David Levin. [Chromium] Remove WebInputElement::InputType and inputType() https://bugs.webkit.org/show_bug.cgi?id=46238 * DEPS: Roll Chromium revision to 60132, which removed all usage of inputType(). * public/WebInputElement.h: Remove InputType and inputType(). * src/AssertMatchingEnums.cpp: Remove WebInputElement::InputType - HTMLInputElement::InputType matching tests. * src/WebInputElement.cpp: Remove inputType(). 2010-09-21 Andrew Wilson Unreviewed, rolling out r67982. http://trac.webkit.org/changeset/67982 https://bugs.webkit.org/show_bug.cgi?id=45156 Causes crashes on chromium testshell * public/WebAccessibilityCache.h: * public/WebViewClient.h: (WebKit::WebViewClient::didChangeAccessibilityObjectState): (WebKit::WebViewClient::didChangeAccessibilityObjectChildren): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::focusedNodeChanged): (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState): (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren): * src/ChromeClientImpl.h: * src/WebAccessibilityCache.cpp: 2010-09-21 Kenneth Russell Reviewed by James Robinson. [chromium] Remove GLES2Context and WebGLES2Context https://bugs.webkit.org/show_bug.cgi?id=46131 Removed now-obsolete GLES2Context and WebGLES2Context classes, and dependency on command buffer client code from WebCore. Built and tested 3D CSS and WebGL content on Mac OS X to test. * WebKit.gyp: * public/WebGLES2Context.h: Removed. * public/WebGraphicsContext3D.h: * public/WebKitClient.h: * public/WebView.h: * src/ChromeClientImpl.cpp: * src/GLES2Context.cpp: Removed. * src/GLES2ContextInternal.cpp: Removed. * src/GLES2ContextInternal.h: Removed. * src/WebGraphicsContext3DDefaultImpl.cpp: * src/WebGraphicsContext3DDefaultImpl.h: * src/WebViewImpl.cpp: * src/WebViewImpl.h: 2010-09-21 Kenneth Russell Reviewed by James Robinson. [chromium] Roll forward Chromium DEPS to pick up removal of WebGLES2Context dependencies https://bugs.webkit.org/show_bug.cgi?id=46231 Ran build-webkit --chromium --debug on Mac OS X to test the roll-forward. * DEPS: 2010-09-21 Jeremy Orlow Reviewed by Nate Chapin. [Chromium] Plumb the IDBTransansaction's id https://bugs.webkit.org/show_bug.cgi?id=46197 Next step, add the plumbing to Chromium. Then we add code to WebKit that uses it (and take out the default IDBTransaction param). * public/WebIDBCursor.h: (WebKit::WebIDBCursor::key): (WebKit::WebIDBCursor::value): * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * public/WebIDBIndex.h: (WebKit::WebIDBIndex::openObjectCursor): (WebKit::WebIDBIndex::openCursor): (WebKit::WebIDBIndex::getObject): (WebKit::WebIDBIndex::get): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::get): (WebKit::WebIDBObjectStore::put): (WebKit::WebIDBObjectStore::remove): (WebKit::WebIDBObjectStore::createIndex): (WebKit::WebIDBObjectStore::removeIndex): (WebKit::WebIDBObjectStore::openCursor): * src/WebIDBIndexImpl.cpp: (WebKit::WebIDBIndexImpl::openCursor): (WebKit::WebIDBIndexImpl::openObjectCursor): (WebKit::WebIDBIndexImpl::getObject): (WebKit::WebIDBIndexImpl::get): * src/WebIDBIndexImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::get): (WebKit::WebIDBObjectStoreImpl::put): (WebKit::WebIDBObjectStoreImpl::remove): (WebKit::WebIDBObjectStoreImpl::openCursor): * src/WebIDBObjectStoreImpl.h: 2010-09-21 Chris Guillory Reviewed by Chris Fleizach. Send webkit accessibility notifications to Chromium. https://bugs.webkit.org/show_bug.cgi?id=45156 * public/WebAccessibilityCache.h: * public/WebViewClient.h: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::focusedNodeChanged): (WebKit::ChromeClientImpl::getPopupMenuInfo): * src/ChromeClientImpl.h: * src/WebAccessibilityCache.cpp: (WebKit::WebAccessibilityCache::accessibilityEnabled): 2010-09-21 Steve Block Reviewed by Jeremy Orlow. DeviceOrientationClient and DeviceMotionClient should have controllerDestroyed() methods https://bugs.webkit.org/show_bug.cgi?id=45891 Implements DeviceOrientationClientProxy::deviceOrientationControllerDestroyed() as a no-op, as the client's lifetime is determined by the WebViewImpl. * src/DeviceOrientationClientProxy.cpp: (WebKit::DeviceOrientationClientProxy::deviceOrientationControllerDestroyed): * src/DeviceOrientationClientProxy.h: 2010-09-21 Jochen Eisinger Reviewed by Jeremy Orlow. [chromium] expose the filename used for a given indexed DB https://bugs.webkit.org/show_bug.cgi?id=46090 * WebKit.gyp: * public/WebIDBFactory.h: * src/WebIDBFactory.cpp: (WebKit::WebIDBFactory::databaseFileName): 2010-09-20 Philippe Normand Reviewed by Eric Carlson. [GTK] enhanced context menu for media elements https://bugs.webkit.org/show_bug.cgi?id=45021 New localized strings for the media element context-menu. * src/LocalizedStrings.cpp: (WebCore::contextMenuItemTagOpenVideoInNewWindow): (WebCore::contextMenuItemTagOpenAudioInNewWindow): (WebCore::contextMenuItemTagCopyVideoLinkToClipboard): (WebCore::contextMenuItemTagCopyAudioLinkToClipboard): (WebCore::contextMenuItemTagToggleMediaControls): (WebCore::contextMenuItemTagToggleMediaLoop): (WebCore::contextMenuItemTagEnterVideoFullscreen): (WebCore::contextMenuItemTagMediaPlay): (WebCore::contextMenuItemTagMediaPause): (WebCore::contextMenuItemTagMediaMute): 2010-09-20 Nico Weber Reviewed by James Robinson. [chromium] Trivial clang warning fix https://bugs.webkit.org/show_bug.cgi?id=46143 * src/WebFileSystemCallbacksImpl.h: 2010-09-20 Darin Adler Reviewed by James Robinson. Deprecate the inputType function on HTMLInputElement https://bugs.webkit.org/show_bug.cgi?id=46023 * src/WebInputElement.cpp: (WebKit::WebInputElement::inputType): * src/WebPasswordFormUtils.cpp: (WebKit::findPasswordFormFields): * src/WebSearchableFormData.cpp: (WebCore::HasSuitableTextElement): Use deprecatedInputType instead of inputType. 2010-09-20 Kenneth Russell Reviewed by James Robinson. [chromium] Change compositor to use GraphicsContext3D rather than GLES2Context https://bugs.webkit.org/show_bug.cgi?id=45912 Switched Chromium's compositor to use GraphicsContext3D to issue its OpenGL rendering calls rather than the Chromium-specific GLES2Context and command buffer OpenGL implementation. The in-process software rendering path for GraphicsContext3D does not yet work with the compositor, at least not on Mac OS X. This will be worked on in subsequent bugs. Tested manually with 3D CSS, WebGL and video content on Mac OS X and Linux. No new tests. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::initialize): (WebCore::GraphicsContext3DInternal::extractWebGraphicsContext3D): (WebCore::GraphicsContext3D::create): * src/GraphicsContext3DInternal.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::gles2Context): (WebKit::WebViewImpl::graphicsContext3D): * src/WebViewImpl.h: 2010-09-20 Kenneth Russell Reviewed by Dimitri Glazkov. [chromium] Roll forward Chromium DEPS to pick up WebGraphicsContext3D implementation changes https://bugs.webkit.org/show_bug.cgi?id=46115 * DEPS: 2010-09-20 Ilya Tikhonovsky Reviewed by Pavel Feldman. Web Inspector: merge Inspector client runtime events into the serialized inspector state object. Drive-by rename getBackendSettings -> getInspectorState to better reflect the nature of the data. https://bugs.webkit.org/show_bug.cgi?id=45974 * src/InspectorClientImpl.cpp: (WebKit::InspectorClientImpl::updateInspectorStateCookie): * src/InspectorClientImpl.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie): * src/WebDevToolsAgentImpl.h: 2010-09-19 Sheriff Bot Unreviewed, rolling out r67749. http://trac.webkit.org/changeset/67749 https://bugs.webkit.org/show_bug.cgi?id=46068 breaking ToT chromium canary build (Requested by shans on #webkit). * public/WebFrameClient.h: * public/WebScriptController.h: * src/FrameLoaderClientImpl.cpp: * src/FrameLoaderClientImpl.h: * src/WebScriptController.cpp: (WebKit::WebScriptController::registerExtension): 2010-09-19 Kent Tamura Reviewed by Dimitri Glazkov. [Chromium] Add is() functions to WebInputElement https://bugs.webkit.org/show_bug.cgi?id=46035 We're going to stop exposing HTMLInputElemnt::InputType. So, add isFoo() functions in order to remove WebInputElement::InputType. * public/WebInputElement.h: * src/WebInputElement.cpp: (WebKit::WebInputElement::isTextField): (WebKit::WebInputElement::isText): (WebKit::WebInputElement::isPasswordField): (WebKit::WebInputElement::isImageButton): 2010-09-17 Darin Adler Reviewed by Sam Weinig. REGRESSION (r60104): Zoom level is unexpectedly reset on page reload https://bugs.webkit.org/show_bug.cgi?id=42863 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::createPlugin): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setZoomLevel): Call functions on Frame instead of FrameView. 2010-09-17 Kenneth Russell Reviewed by James Robinson. [chromium] Roll forward Chromium DEPS to pick up Mesa DRT changes https://bugs.webkit.org/show_bug.cgi?id=46006 * DEPS: 2010-09-17 Kenneth Russell Reviewed by Dimitri Glazkov. [chromium] Add mesa as DumpRenderTree dependency https://bugs.webkit.org/show_bug.cgi?id=46001 * WebKit.gyp: 2010-09-13 Matt Perry Reviewed by Darin Fisher. Have V8DOMWindowShell ask the embedder whether to run a V8 extension in a particular script context. https://bugs.webkit.org/show_bug.cgi?id=45721 * public/WebFrameClient.h: (WebKit::WebFrameClient::allowScriptExtension): * public/WebScriptController.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::allowScriptExtension): * src/FrameLoaderClientImpl.h: * src/WebScriptController.cpp: (WebKit::WebScriptController::registerExtension): 2010-09-17 Eric Uhrhane Reviewed by David Levin. Remove unimplemented destructor declaration to fix Chromium build. https://bugs.webkit.org/show_bug.cgi?id=45987 * src/AsyncFileWriterChromium.h: 2010-09-16 Sheriff Bot Unreviewed, rolling out r67693. http://trac.webkit.org/changeset/67693 https://bugs.webkit.org/show_bug.cgi?id=45946 "Need to pick up a chromium change first" (Requested by dumi on #webkit). * public/WebHTTPBody.h: * src/WebHTTPBody.cpp: (WebKit::WebHTTPBody::elementAt): (WebKit::WebHTTPBody::appendFileRange): 2010-09-15 Dumitru Daniliuc Reviewed by Darin Fisher. Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&). * public/WebHTTPBody.h: * src/WebHTTPBody.cpp: (WebKit::WebHTTPBody::elementAt): 2010-09-16 Kenneth Russell Reviewed by James Robinson. Add entry points to GraphicsContext3D needed for Chromium compositor port https://bugs.webkit.org/show_bug.cgi?id=45939 Added entry points for two Chromium-specific extensions, and added a flag to the GraphicsContext3D constructor, currently unsupported by all ports (including Chromium), indicating whether the context should render directly to the passed HostWindow or off-screen per the current semantics. The switch to use GraphicsContext3D in Chromium's compositor will follow in a subsequent patch. No new tests; functionality is unchanged. Built and tested Chromium and WebKit on Mac OS X. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::GraphicsContext3D): (WebCore::GraphicsContext3D::create): * src/GraphicsContext3DInternal.h: 2010-09-16 Kenneth Russell Reviewed by James Robinson. [chromium] Add needed entry points to WebGraphicsContext3D for compositor https://bugs.webkit.org/show_bug.cgi?id=45921 * public/WebGraphicsContext3D.h: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::supportsMapSubCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::mapBufferSubDataCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::unmapBufferSubDataCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::mapTexSubImage2DCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::unmapTexSubImage2DCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM): * src/WebGraphicsContext3DDefaultImpl.h: 2010-09-15 Tony Chang Reviewed by Kent Tamura. [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations https://bugs.webkit.org/show_bug.cgi?id=42151 * public/WebDataSource.h: * src/WebDataSourceImpl.cpp: (WebKit::WebDataSourceImpl::applicationCacheHost): (WebKit::WebDataSourceImpl::setDeferMainResourceDataLoad): Added so DRT can set this flag before a load. * src/WebDataSourceImpl.h: 2010-09-16 Kenneth Russell Reviewed by James Robinson. Roll forward Chromium DEPS to r59706 https://bugs.webkit.org/show_bug.cgi?id=45916 * DEPS: 2010-09-16 Darin Adler Reviewed by Andreas Kling. Reduce use of HTMLInputElement::inputType so we can remove it later https://bugs.webkit.org/show_bug.cgi?id=45903 * src/DOMUtilitiesPrivate.cpp: (WebKit::elementHasLegalLinkAttribute): Use isImageButton. * src/WebPasswordFormUtils.cpp: (WebKit::findPasswordFormFields): Use isPasswordField. * src/WebSearchableFormData.cpp: (WebCore::IsInDefaultState): Use isCheckbox and isRadioButton. (WebCore::HasSuitableTextElement): Use isFileUpload and isPasswordField. 2010-09-16 Kenneth Russell Reviewed by James Robinson. [chromium] Expose separate GraphicsContext3DInternal.h https://bugs.webkit.org/show_bug.cgi?id=45914 * WebKit.gyp: * src/GraphicsContext3D.cpp: * src/GraphicsContext3DInternal.h: Added. 2010-09-16 Kenneth Russell Reviewed by James Robinson. [chromium] Add WebGraphicsContext3D accessor to WebView https://bugs.webkit.org/show_bug.cgi?id=45913 * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::graphicsContext3D): * src/WebViewImpl.h: 2010-09-16 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. Web Inspector: move resourceTracking flag under control of BackendSettings. Four Inspector API methods about resourceTracking flag were removed. Actual state of the flag is transfered as the response of setResourceTracking request. Initial state of the flag on the frontend side is obtained from settings.backend. https://bugs.webkit.org/show_bug.cgi?id=45887 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 2010-09-16 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation https://bugs.webkit.org/show_bug.cgi?id=45890 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): make sure debugger and profiler are initialized when inspected page navigation leads to renderer process change. 2010-09-16 Eric Uhrhane Reviewed by Jian Li. Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM. https://bugs.webkit.org/show_bug.cgi?id=45798 * src/AsyncFileWriterChromium.h: * src/AsyncFileWriterChromium.cpp: 2010-09-16 Nat Duca Reviewed by Darin Fisher. [chromium] Make compositor obey finish flag https://bugs.webkit.org/show_bug.cgi?id=45552 The compositor should obey the finish flag on doComposite. This flag causes the compositor to finish rendering before returning, which is needed when resizing the window to avoid flashes of green. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::composite): 2010-09-15 Jeremy Orlow Reviewed by Steve Block. Allow the embedder to specify the base path for IndexedDB. https://bugs.webkit.org/show_bug.cgi?id=45815 Need to add the extra .open() parameter to make this all work. * public/WebIDBFactory.h: (WebKit::WebIDBFactory::open): * src/IDBFactoryBackendProxy.cpp: (WebCore::IDBFactoryBackendProxy::open): * src/IDBFactoryBackendProxy.h: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::open): * src/WebIDBFactoryImpl.h: 2010-09-16 Jeremy Orlow Speculative build fix. * src/IDBIndexBackendProxy.cpp: 2010-09-08 Jeremy Orlow Reviewed by Steve Block. Complete index support for IndexedDB https://bugs.webkit.org/show_bug.cgi?id=45386 * public/WebIDBCursor.h: (WebKit::WebIDBCursor::direction): (WebKit::WebIDBCursor::key): (WebKit::WebIDBCursor::value): (WebKit::WebIDBCursor::update): (WebKit::WebIDBCursor::continueFunction): (WebKit::WebIDBCursor::remove): * public/WebIDBIndex.h: (WebKit::WebIDBIndex::storeName): (WebKit::WebIDBIndex::openObjectCursor): (WebKit::WebIDBIndex::openCursor): (WebKit::WebIDBIndex::getObject): (WebKit::WebIDBIndex::get): * public/WebIDBKey.h: * src/IDBCursorBackendProxy.cpp: (WebCore::IDBCursorBackendProxy::value): * src/IDBCursorBackendProxy.h: * src/IDBIndexBackendProxy.cpp: (WebCore::IDBIndexBackendProxy::storeName): (WebCore::IDBIndexBackendProxy::openObjectCursor): (WebCore::IDBIndexBackendProxy::openCursor): (WebCore::IDBIndexBackendProxy::getObject): (WebCore::IDBIndexBackendProxy::get): * src/IDBIndexBackendProxy.h: * src/WebIDBCursorImpl.cpp: (WebKit::WebIDBCursorImpl::value): * src/WebIDBCursorImpl.h: * src/WebIDBIndexImpl.cpp: (WebKit::WebIDBIndexImpl::storeName): (WebKit::WebIDBIndexImpl::openCursor): (WebKit::WebIDBIndexImpl::openObjectCursor): (WebKit::WebIDBIndexImpl::getObject): (WebKit::WebIDBIndexImpl::get): * src/WebIDBIndexImpl.h: 2010-09-15 Dumitru Daniliuc Reviewed by Darin Fisher. Overload WebHTTPBody::appendFileRange() to take a double modification time argument. https://bugs.webkit.org/show_bug.cgi?id=45829 The plan is to change all callers of WebHTTPBody::appendFileRange(..., const WebFileInfo&) to use the new method, and then remove it. * public/WebHTTPBody.h: * src/WebHTTPBody.cpp: (WebKit::WebHTTPBody::elementAt): (WebKit::WebHTTPBody::appendFileRange): 2010-09-14 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: Provide network-based load timing. Before this change, inspector used timers taken from within WebCore notifications (that are by definition synchronous and serialized). As a result, timing was affected by the routines running on the main thread (JavaScript and such). https://bugs.webkit.org/show_bug.cgi?id=45664 * public/WebURLLoadTiming.h: * public/WebURLLoaderClient.h: (WebKit::WebURLLoaderClient::didFinishLoading): * src/ResourceHandle.cpp: (WebCore::ResourceHandleInternal::didFinishLoading): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::didFinishLoading): * src/WebURLLoadTiming.cpp: (WebKit::WebURLLoadTiming::receiveHeadersStart): (WebKit::WebURLLoadTiming::setReceiveHeadersStart): 2010-09-15 Sheriff Bot Unreviewed, rolling out r67551. http://trac.webkit.org/changeset/67551 https://bugs.webkit.org/show_bug.cgi?id=45816 "Plugin tests fail" (Requested by yurys on #webkit). * public/WebURLLoaderClient.h: (WebKit::WebURLLoaderClient::didFinishLoading): * src/ResourceHandle.cpp: (WebCore::ResourceHandleInternal::didFinishLoading): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::didFinishLoading): 2010-09-14 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: Provide network-based load timing. Before this change, inspector used timers taken from within WebCore notifications (that are by definition synchronous and serialized). As a result, timing was affected by the routines running on the main thread (JavaScript and such). https://bugs.webkit.org/show_bug.cgi?id=45664 * public/WebURLLoadTiming.h: * public/WebURLLoaderClient.h: (WebKit::WebURLLoaderClient::didFinishLoading): * src/ResourceHandle.cpp: (WebCore::ResourceHandleInternal::didFinishLoading): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::didFinishLoading): * src/WebURLLoadTiming.cpp: (WebKit::WebURLLoadTiming::receiveHeadersStart): (WebKit::WebURLLoadTiming::setReceiveHeadersStart): 2010-09-14 Sheriff Bot Unreviewed, rolling out r67503. http://trac.webkit.org/changeset/67503 https://bugs.webkit.org/show_bug.cgi?id=45802 This patch broke GTK builds (Requested by jianli_ on #webkit). * src/ResourceHandle.cpp: 2010-09-14 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: Links from "Profiles" don't lead to "Scripts" https://bugs.webkit.org/show_bug.cgi?id=45756 * src/js/DevTools.js: remove obsolete code 2010-09-14 Tony Chang Reviewed by Kent Tamura. [chromium] fix http/tests/security/local-user-CSS-from-remote.html https://bugs.webkit.org/show_bug.cgi?id=45788 * DEPS: Include webkit_support::LocalFileToDataURL 2010-09-14 Tony Chang Reviewed by Ojan Vafai. [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed https://bugs.webkit.org/show_bug.cgi?id=45768 * public/WebKit.h: * src/WebKit.cpp: 2010-09-14 Mihai Parparita Reviewed by Tony Chang. blob: URL scheme does not work with Chromium DRT https://bugs.webkit.org/show_bug.cgi?id=45772 Roll Chromium forward to r59406, which registers the blob URL scheme for the Chromium DRT too. * DEPS: 2010-09-14 Jian Li Reviewed by David Levin. fast/files/apply-blob-url-to-img.html timeout on Leopard https://bugs.webkit.org/show_bug.cgi?id=45576 * src/ResourceHandle.cpp: Remove the no longer applicable static comment. 2010-09-14 Chris Guillory Reviewed by Chris Fleizach. Send all accessibility notifications to Chromium. https://bugs.webkit.org/show_bug.cgi?id=45156 Use postAccessibilityNotification to pass accessibility notifications to chromium. * WebKit.gyp: * public/WebAccessibilityNotification.h: Added. * public/WebViewClient.h: (WebKit::WebViewClient::postAccessibilityNotification): * src/AssertMatchingEnums.h: Added. * src/ChromeClientImpl.cpp: (WebKit::toWebAccessibilityNotification): (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren): (WebKit::ChromeClientImpl::postAccessibilityNotification): * src/ChromeClientImpl.h: 2010-09-14 Tony Chang Unreviewed, fix chromium win compile. * public/WebView.h: 2010-09-14 Tony Chang Reviewed by Dimitri Glazkov. [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme https://bugs.webkit.org/show_bug.cgi?id=45762 * public/WebView.h: add WebView::setDomainRelaxationForbidden * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setDomainRelaxationForbidden): * src/WebViewImpl.h: 2010-09-14 Yury Semikhatsky Reviewed by Andreas Kling. Move DebuggerScript.js from WebKit/chromium/src/js to WebCore/bindings/v8 https://bugs.webkit.org/show_bug.cgi?id=45739 * WebKit.grd: * WebKit.gypi: * src/js/DebuggerScript.js: Removed. * src/js/DevToolsHostStub.js: Removed. 2010-09-14 Hans Wennborg Reviewed by Jeremy Orlow. Make WebDeviceOrientationClientMock constructor private. https://bugs.webkit.org/show_bug.cgi?id=45743 Clients should use the create member function instead. DumpRenderTree and the Chromium test_shell have previously been updated to call create. * public/WebDeviceOrientationClientMock.h: (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock): 2010-09-13 Eric Uhrhane Reviewed by Darin Fisher. Add Chromium API for FileWriter https://bugs.webkit.org/show_bug.cgi?id=44360 Build file changes. * WebKit.gyp: Added a way to get a WebFileWriter. * public/WebFileSystem.h: (WebKit::WebFileSystem::createFileWriter): WebFileWriter writes and truncates files. * public/WebFileWriter.h: Added. WebFileWriterClient reports success/failure and progress events. * public/WebFileWriterClient.h: Added. AsyncFileWriterChromium is a connector that links FileWriter and WebFileWriter, FileWriterClient and WebFileWriterClient. * src/AsyncFileWriterChromium.cpp: Added. * src/AsyncFileWriterChromium.h: Added. 2010-09-13 W. James MacLean Reviewed by Darin Fisher. [chromium] Thumbnails not generated for GPU Rendered Pages https://bugs.webkit.org/show_bug.cgi?id=44127 Modified WebViewImpl::paint() to detect non-null canvas pointers when accelerated compositing is active, and instead fills the pixel buffer from the GPU framebuffer. Includes re-scaling support when provided canvas does not match size of current render layer. Limits pixel readback to rect passed to paint(), clipped by size of rootLayerTexture. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::doPixelReadbackToCanvas): (WebKit::WebViewImpl::paint): * src/WebViewImpl.h: 2010-09-13 James Robinson Reviewed by Dimitri Glazkov. [chromium] Return NULL from getSharedGraphicsContext3D if we couldn't initialize https://bugs.webkit.org/show_bug.cgi?id=45731 If we can't create a GraphicsContext3D, return NULL from getSharedGraphicsContext3D rather than an object with NULL internal pointers. Callers know how to handle a null return value but not one that has inconsistent internal state. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::getSharedGraphicsContext3D): 2010-09-13 Chris Guillory Reviewed by Chris Fleizach. WebAccessibilityCacheImpl needs to handle invalid accessibility object ids. https://bugs.webkit.org/show_bug.cgi?id=45572 * public/WebAccessibilityObject.h: * src/WebAccessibilityCacheImpl.cpp: (WebKit::WebAccessibilityCacheImpl::addOrGetId): * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::isAxObjectIdValid): 2010-09-13 Pavel Podivilov Reviewed by Dimitri Glazkov. [Chromium] fix broken dependency in ImageDiff https://bugs.webkit.org/show_bug.cgi?id=45684 * WebKit.gyp: 2010-09-13 Enrica Casucci Reviewed by Sam Weinig. Paste should be implemented in WebCore like Copy and Cut for Mac also. https://bugs.webkit.org/show_bug.cgi?id=45494 On the Mac platform, the implementation of the paste operation is all done at the WebKit level. In order to support it on WebKit2 it is necessary to refactor the code and move this functionality at the level of WebCore like we already have on Windows. The original code relies on some in AppKit functions that call back into WebKit causing problems in WebKit2. All this functionality has been moved at the level of the editor client where it can be dealt with appropriately. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::canShowMIMETypeAsHTML): Added stub. * src/FrameLoaderClientImpl.h: 2010-09-13 Jonathan Dixon Reviewed by Steve Block. [chromium] Port test shell geolocation fixes to DRT https://bugs.webkit.org/show_bug.cgi?id=45313 Ports over fixes from test shell: - http://codereview.chromium.org/3294007 - http://codereview.chromium.org/333800 Resets state between service instances, which fixes delayed-permission-allowed-for-multiple-requests.html Also re-apply rolled out patch http://trac.webkit.org/changeset/66886 :- Access to out-of-scope WebGeolocationServiceBridgeImpl https://bugs.webkit.org/show_bug.cgi?id=45112 Keep the WebGeolocationService pointer for lifetime of the bridge, to ensure it can be detached reliably Includes follow-up review comment to rename onWebGeolocationServiceDestroyed to didDestroyGeolocationService * public/WebGeolocationService.h: (WebKit::WebGeolocationService::~WebGeolocationService): * public/WebGeolocationServiceBridge.h: (WebKit::WebGeolocationServiceBridge::onWebGeolocationServiceDestroyed): * public/WebGeolocationServiceMock.h: * src/WebGeolocationServiceBridgeImpl.cpp: (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl): (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl): (WebKit::WebGeolocationServiceBridgeImpl::startUpdating): (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): (WebKit::WebGeolocationServiceBridgeImpl::suspend): (WebKit::WebGeolocationServiceBridgeImpl::resume): (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded): (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed): (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition): (WebKit::WebGeolocationServiceBridgeImpl::setLastError): (WebKit::WebGeolocationServiceBridgeImpl::didDestroyGeolocationService): (WebKit::WebGeolocationServiceBridgeImpl::isAttached): * src/WebGeolocationServiceMock.cpp: (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission): (WebKit::WebGeolocationServiceMockImpl::WebGeolocationServiceMockImpl): (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl): (WebKit::WebGeolocationServiceMockImpl::setMockGeolocationPermission): (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame): (WebKit::WebGeolocationServiceMockImpl::notifyPendingPermissions): 2010-09-13 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: upstream testExpandScope debugger test https://bugs.webkit.org/show_bug.cgi?id=45260 * src/js/DebuggerScript.js: copy scope variables into a new object, but for global scope object, with statement parameter and catch block exception variable pass the object itself to the injected script. * src/js/Tests.js: moved testExpandScope to LayoutTests 2010-09-13 Hans Wennborg Reviewed by Jeremy Orlow. Add WebDeviceOrientationClientMock::create() and use it from DRT. https://bugs.webkit.org/show_bug.cgi?id=45650 Since the virtual member functions of WebDeviceOrientationClientMock are not exported from the DLL, construction of the object must be done inside the DLL, or else the linker will complain (because the vtable cannot be set up). Clients should use the create() member function, and the constructor will be made private in a subsequent patch. * public/WebDeviceOrientationClientMock.h: (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock): * src/WebDeviceOrientationClientMock.cpp: (WebKit::WebDeviceOrientationClientMock::create): 2010-09-12 Kent Tamura Reviewed by Tony Chang. [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h https://bugs.webkit.org/show_bug.cgi?id=45517 * DEPS: Roll Chromium revision to r59033 to have webkit_support_gfx.h. * WebKit.gyp: 2010-09-10 MORITA Hajime Reviewed by Tony Chang. [Chromium] Implement textInputController.hasSpellingMarker() for Chromium https://bugs.webkit.org/show_bug.cgi?id=45441 Exported Frame::selectionStartHasSpellingMarkerFor() for DRT use. * public/WebFrame.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor): * src/WebFrameImpl.h: 2010-09-10 Jesus Sanchez-Palencia Reviewed by Darin Adler. Add NetworkingContext to avoid layer violations https://bugs.webkit.org/show_bug.cgi?id=42292 * src/ResourceHandle.cpp: (WebCore::ResourceHandle::create): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::loadResourceSynchronously): 2010-09-10 Sam Weinig Fix chromium build. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setZoomLevel): 2010-09-10 Ryosuke Niwa Unreviewed, speculative chromium build fix. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setZoomLevel): 2010-09-10 Sam Weinig Reviewed by Darin Adler. Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom. Precursor to https://bugs.webkit.org/show_bug.cgi?id=45522 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::createPlugin): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::setZoomLevel): * src/WebViewImpl.h: (WebKit::WebViewImpl::zoomTextOnly): Move tracking of text only zoom here from WebCore. 2010-09-10 Adam Barth Reviewed by Darin Fisher. Move code from WebKit-layer to DocumentLoader https://bugs.webkit.org/show_bug.cgi?id=45569 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::committedLoad): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::commitDocumentData): 2010-09-10 Tony Chang Unreviewed, fix chromium compile after r67238. shouldChangeSelection was removed from Frame. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectWordAroundPosition): 2010-09-10 Nat Duca Reviewed by Darin Fisher. [chromium] Accelerated Compositing: screen garbage when scrolling https://bugs.webkit.org/show_bug.cgi?id=45092 Introduce a new API on WebWidget for painting with accelerated compositing that allows the compositor to properly distingiush scrolling, invalidation and repainting from one another. The key change is that in accelerated rendering case, invalidates and scrolling pass directly to the compositor, rather than passing up to the client as was the case in the software path. For accelerated rendering, the previous paint() method is replaced by composite(). * public/WebWidget.h: * public/WebWidgetClient.h: (WebKit::WebWidgetClient::scheduleComposite): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::invalidateContentsAndWindow): (WebKit::ChromeClientImpl::scroll): * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::themeChanged): (WebKit::WebPopupMenuImpl::composite): * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::themeChanged): (WebKit::WebViewImpl::composite): (WebKit::WebViewImpl::setRootGraphicsLayer): (WebKit::WebViewImpl::setRootLayerNeedsDisplay): (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::updateRootLayerContents): (WebKit::WebViewImpl::doComposite): * src/WebViewImpl.h: * tests/PopupMenuTest.cpp: (WebKit::TestWebWidget::themeChanged): (WebKit::TestWebWidget::composite): 2010-09-10 David Holloway Reviewed by Adam Barth. Change WebKit::WebFormElement::wasUserSubmitted to use WebCore::HTMLFormElement::submittedByUserGesture instead of WebCore::HTMLFormElement::submissionTrigger. Chromium AutoFill feature semantics changed with respect to what we mean by "user submitted" form. A more accurate measure of the user manually submitting a form is via user gesture. https://bugs.webkit.org/show_bug.cgi?id=45128 * src/WebFormElement.cpp: (WebKit::WebFormElement::wasUserSubmitted): 2010-09-09 Darin Adler Reviewed by Adam Barth. Move functions from Frame to SelectionController as planned https://bugs.webkit.org/show_bug.cgi?id=45508 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionBoundsRect): Call functions on selection(). 2010-09-10 Adam Barth Chromium build fix (one hopes!) * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::commitDocumentData): 2010-09-10 Adam Barth Reviewed by Eric Seidel. Main resource bytes shouldn't bounce through FrameLoader https://bugs.webkit.org/show_bug.cgi?id=45496 Now return the bytes to the DocumentLoader. Also, removed comment about wrong code in the Mac port. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::commitDocumentData): 2010-09-08 Darin Adler Reviewed by Adam Barth. Move functions from Frame to Editor as planned https://bugs.webkit.org/show_bug.cgi?id=45218 * src/ContextMenuClientImpl.cpp: (WebKit::selectMisspelledWord): (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::find): (WebKit::WebFrameImpl::stopFinding): (WebKit::WebFrameImpl::scopeStringMatches): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::caretOrSelectionBounds): Changed call sites to use editor(). 2010-09-09 Kenneth Russell Reviewed by James Robinson. Memory leak in red/black tree https://bugs.webkit.org/show_bug.cgi?id=45472 Fixed memory leak in red/black tree where it was using operator new directly to allocate its internal nodes rather than the arena with which it was configured. Added allocateObject variant to arena supporting single-argument constructors. Added test to red/black tree unit tests to cover this functionality, and refactored TrackedAllocator into helper file to share between arena and red/black tree tests. * WebKit.gyp: * tests/ArenaTestHelpers.h: Added. (WebCore::ArenaTestHelpers::TrackedAllocator::create): (WebCore::ArenaTestHelpers::TrackedAllocator::allocate): (WebCore::ArenaTestHelpers::TrackedAllocator::free): (WebCore::ArenaTestHelpers::TrackedAllocator::isEmpty): (WebCore::ArenaTestHelpers::TrackedAllocator::numRegions): (WebCore::ArenaTestHelpers::TrackedAllocator::TrackedAllocator): * tests/PODArenaTest.cpp: * tests/PODRedBlackTreeTest.cpp: (WebCore::TEST): 2010-09-09 Tony Chang Reviewed by Dimitri Glazkov. [chromium] make linux checksums computed from pngs to match windows https://bugs.webkit.org/show_bug.cgi?id=45465 * src/WebKit.cpp: (WebKit::areLayoutTestImagesOpaque): Make linux match windows. 2010-09-10 Jay Civelli Reviewed by Darin Fisher. Add the destructor to WebDOMEvent to prevent a leak. https://bugs.webkit.org/show_bug.cgi?id=45287 * public/WebDOMEvent.h: (WebKit::WebDOMEvent::~WebDOMEvent): 2010-09-09 Chris Guillory Reviewed by Chris Fleizach. Add methods used to determine accessibility state. https://bugs.webkit.org/show_bug.cgi?id=45434 * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::canSetSelectedAttribute): (WebKit::WebAccessibilityObject::isCollapsed): (WebKit::WebAccessibilityObject::isLinked): (WebKit::WebAccessibilityObject::isReadOnly): (WebKit::WebAccessibilityObject::isVisible): 2010-09-08 Yury Semikhatsky Reviewed by Joseph Pecoraro. Web Inspector: add a sanity test for DOM storage view in the storage panel https://bugs.webkit.org/show_bug.cgi?id=45294 * src/js/Tests.js: removed testStoragePanel which was superseded by inspector layout tests. 2010-09-08 Yury Semikhatsky Reviewed by Joseph Pecoraro. Web Inspector: test that debugger won't pause on syntax errors https://bugs.webkit.org/show_bug.cgi?id=45388 * src/js/Tests.js: removed testAutoContinueOnSyntaxError which is now covered by inspector/debugger-autocontinue-on-syntax-error.html layout test 2010-09-08 Peter Kasting Reviewed by David Hyatt. Add smooth scrolling framework, and a Windows implementation. https://bugs.webkit.org/show_bug.cgi?id=32356 * src/WebScrollbarImpl.cpp: Plumb new ScrollbarClient functions. Allow wheel scrolls to be animated. (WebKit::WebScrollbarImpl::setLocation): (WebKit::WebScrollbarImpl::setValue): (WebKit::WebScrollbarImpl::scroll): (WebKit::WebScrollbarImpl::onMouseWheel): (WebKit::WebScrollbarImpl::onKeyDown): (WebKit::WebScrollbarImpl::setScrollOffsetFromAnimation): * src/WebScrollbarImpl.h: Plumb new ScrollbarClient functions. * src/win/WebInputEventFactory.cpp: Update comments now that we have smooth scrolling. (WebKit::WebInputEventFactory::mouseWheelEvent): 2010-09-08 Yury Semikhatsky Reviewed by Joseph Pecoraro. Web Inspector: remove some obsolete interactive tests https://bugs.webkit.org/show_bug.cgi?id=45371 * src/js/Tests.js: 2010-09-08 Hans Wennborg Reviewed by Jeremy Orlow. Plug leak in WebDeviceOrientationClientMock https://bugs.webkit.org/show_bug.cgi?id=45305 WebDeviceOrientationClientMock is responsible for destroying the WebDeviceOrientationController object pointed to by the argument passed to the setController() member function. Also use the new WebPrivateOnwPtr for m_clientMock. * public/WebDeviceOrientationClientMock.h: * src/WebDeviceOrientationClientMock.cpp: (WebKit::WebDeviceOrientationClientMock::setController): (WebKit::WebDeviceOrientationClientMock::initialize): (WebKit::WebDeviceOrientationClientMock::reset): 2010-09-07 Tony Chang Reviewed by Darin Fisher. [chromium] Make a public flag for how DRT generates bitmaps on Linux https://bugs.webkit.org/show_bug.cgi?id=45133 This is so it's possible for me to fix http://code.google.com/p/chromium/issues/detail?id=21386 . * public/WebKit.h: Add areLayoutTestImagesOpaque() * src/WebKit.cpp: (WebKit::areLayoutTestImagesOpaque): 2010-09-07 Dimitri Glazkov Unreviewed, rolling out r66886. http://trac.webkit.org/changeset/66886 https://bugs.webkit.org/show_bug.cgi?id=45112 Made * public/WebGeolocationService.h: * src/WebGeolocationServiceBridgeImpl.cpp: (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl): (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl): (WebKit::WebGeolocationServiceBridgeImpl::startUpdating): (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): (WebKit::WebGeolocationServiceBridgeImpl::suspend): (WebKit::WebGeolocationServiceBridgeImpl::resume): (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded): (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed): (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition): (WebKit::WebGeolocationServiceBridgeImpl::setLastError): (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient): (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed): * src/WebGeolocationServiceMock.cpp: 2010-09-07 Jonathan Dixon Reviewed by Jeremy Orlow. Access to out-of-scope WebGeolocationServiceBridgeImpl https://bugs.webkit.org/show_bug.cgi?id=45112 Keep the WebGeolocationService pointer for lifetime of the bridge, to ensure it can be detached reliably * public/WebGeolocationServiceBridge.h: (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge): * src/WebGeolocationServiceBridgeImpl.cpp: (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl): (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl): (WebKit::WebGeolocationServiceBridgeImpl::startUpdating): (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): (WebKit::WebGeolocationServiceBridgeImpl::suspend): (WebKit::WebGeolocationServiceBridgeImpl::resume): (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded): 2010-09-07 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: upstream two debugger tests https://bugs.webkit.org/show_bug.cgi?id=45262 * src/js/Tests.js: 2010-09-06 Jonathan Dixon Reviewed by Jeremy Orlow. Add new interface and empty impl. as precursor to bug 45112 https://bugs.webkit.org/show_bug.cgi?id=45257 * public/WebGeolocationServiceBridge.h: (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge): * src/WebGeolocationServiceBridgeImpl.cpp: (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed): 2010-09-06 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: fix chromium devtools tests https://bugs.webkit.org/show_bug.cgi?id=45258 * src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause): 2010-08-26 Jeremy Orlow Reviewed by Steve Block. Add index insertion support to IndexedDB. https://bugs.webkit.org/show_bug.cgi?id=44695 Add asserts on the [] operator. * public/WebVector.h: (WebKit::WebVector::operator[]): 2010-09-06 Anton Muhin Reviewed by Adam Barth. [v8] bypass caches when query memory usage from post GC and in crash handler. https://bugs.webkit.org/show_bug.cgi?id=45036 Add Chromium-specific API to query actual memory usage which bypasses any caches. * public/WebKitClient.h: (WebKit::WebKitClient::actualMemoryUsageMB): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::actualMemoryUsageMB): 2010-09-05 Peter Kasting Reviewed by Adam Barth. Make Chromium/Mac generate continuous mousewheel events with the same wheelDelta values as Safari/Mac. https://bugs.webkit.org/show_bug.cgi?id=45155 * src/mac/WebInputEventFactory.mm: (WebKit::WebInputEventFactory::mouseWheelEvent): 2010-09-05 Yury Semikhatsky Reviewed by Joseph Pecoraro. Web Inspector: remove WebDevToolsAgentClient::forceRepaint which is not used https://bugs.webkit.org/show_bug.cgi?id=45179 * public/WebDevToolsAgentClient.h: * src/DebuggerAgentImpl.cpp: (WebKit::DebuggerAgentImpl::debuggerOutput): * src/WebDevToolsAgentImpl.cpp: * src/WebDevToolsAgentImpl.h: 2010-09-05 Kenneth Russell Reviewed by Darin Fisher. Add unit tests for interval tree https://bugs.webkit.org/show_bug.cgi?id=45161 * WebKit.gyp: * tests/PODIntervalTreeTest.cpp: Added. (WebCore::valueToString): (WebCore::TEST): (WebCore::UserData1::valueToString): (WebCore::EndpointType1::valueToString): 2010-09-05 Kenneth Russell Reviewed by Darin Fisher. Add unit tests for red-black tree and (POD) arena https://bugs.webkit.org/show_bug.cgi?id=45060 * WebKit.gyp: * tests/PODArenaTest.cpp: Added. (WebCore::TestClass1::TestClass2::TestClass2): (WebCore::TEST_F): * tests/PODRedBlackTreeTest.cpp: Added. (WebCore::TEST): * tests/TreeTestHelpers.cpp: Added. (WebCore::TreeTestHelpers::generateSeed): (WebCore::TreeTestHelpers::initRandom): (WebCore::TreeTestHelpers::nextRandom): * tests/TreeTestHelpers.h: Added. 2010-09-03 Jesus Sanchez-Palencia Reviewed by Darin Adler. Add NetworkingContext to avoid layer violations https://bugs.webkit.org/show_bug.cgi?id=42292 Add Chromium's implementation of NetworkingContext. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::createNetworkingContext): * src/FrameLoaderClientImpl.h: 2010-09-02 Vangelis Kokkevis Reviewed by Darin Fisher. [chromium] Revert to software compositing if the accelerated compositor fails to initialize. If we tried to initialize the compositor for this WebView and failed, next time the associated chrome client is asked whether it can do accelerated compositing it will return false. https://bugs.webkit.org/show_bug.cgi?id=45124 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::allowsAcceleratedCompositing): * src/ChromeClientImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::allowsAcceleratedCompositing): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::getOnscreenGLES2Context): * src/WebViewImpl.h: 2010-09-03 James Robinson [chromium] Add one more include to fix the mac compile. * src/GraphicsContext3D.cpp: 2010-09-03 James Robinson [chromium] Compile fixes for 66746. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2010-09-03 Tony Chang Unreviewed, remove svn:executable flag from images and css files. * src/js/Images/segmentChromium.png: Removed property svn:executable. * src/js/Images/segmentHoverChromium.png: Removed property svn:executable. * src/js/Images/segmentHoverEndChromium.png: Removed property svn:executable. * src/js/Images/segmentSelectedChromium.png: Removed property svn:executable. * src/js/Images/segmentSelectedEndChromium.png: Removed property svn:executable. * src/js/Images/statusbarBackgroundChromium.png: Removed property svn:executable. * src/js/Images/statusbarBottomBackgroundChromium.png: Removed property svn:executable. * src/js/Images/statusbarButtonsChromium.png: Removed property svn:executable. * src/js/Images/statusbarMenuButtonChromium.png: Removed property svn:executable. * src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed property svn:executable. * src/js/devTools.css: Removed property svn:executable. 2010-09-03 James Robinson Reviewed by Chris Marrin. Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D https://bugs.webkit.org/show_bug.cgi?id=44926 Adds a SharedContext3D to WebViewImpl. The SharedContext3D has to live on WebViewImpl to be tied to the lifetime of the compositor context. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::getSharedGraphicsContext3D): * src/ChromeClientImpl.h: * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::initialize): (WebCore::GraphicsContext3DInternal::platformLayer): (WebCore::GraphicsContext3D::platformLayer): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::getSharedGraphicsContext3D): * src/WebViewImpl.h: 2010-08-31 Jeremy Orlow Reviewed by Steve Block. IDBCursor.continue() should reuse the .openCursor's IDBRequest object https://bugs.webkit.org/show_bug.cgi?id=44953 * src/WebIDBCallbacksImpl.cpp: (WebCore::WebIDBCallbacksImpl::onError): (WebCore::WebIDBCallbacksImpl::onSuccess): 2010-09-02 Yury Semikhatsky Reviewed by Pavel Feldman. REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector https://bugs.webkit.org/show_bug.cgi?id=44230 * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::disconnectFromBackend): * src/InspectorFrontendClientImpl.h: 2010-09-02 Satish Sampath Reviewed by Jeremy Orlow. Remove obsolete public/API methods in chromium port https://bugs.webkit.org/show_bug.cgi?id=45108 * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): 2010-09-02 Kent Tamura Reviewed by Dimitri Glazkov. [DRT/Chromium] Remove dependency to base/task.h and base/timer.h https://bugs.webkit.org/show_bug.cgi?id=45091 * DEPS: Roll Chromium revision to 58277 in order to have webkit_support::PostDelayedTask(). 2010-09-02 Ilya Sherman Reviewed by Eric Seidel. Exposing computing an element's inherited language, per the DOM, in the Chromium API -- primarily for use with autofill i18n. https://bugs.webkit.org/show_bug.cgi?id=44803 * public/WebElement.h: * src/WebElement.cpp: (WebKit::WebElement::computeInheritedLanguage): 2010-09-01 Mikhail Naganov Reviewed by Yury Semikhatsky. Remove dependency on JS files for V8 logs processing. https://bugs.webkit.org/show_bug.cgi?id=45045 * WebKit.gyp: 2010-09-01 Kent Tamura Unreviewed, rolling out r66576. http://trac.webkit.org/changeset/66576 https://bugs.webkit.org/show_bug.cgi?id=45016 This change is not needed. * public/WebKitClient.h: 2010-08-31 Dave Hyatt Reviewed by Sam Weinig. https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that the former can occur in more places without having to do the latter. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::layout): 2010-08-31 Kent Tamura Reviewed by Dimitri Glazkov. [Chromium] Add WebKitClient::callOnMainThreadWithDelay() https://bugs.webkit.org/show_bug.cgi?id=45016 It is required to remove base/task.h and base/timer.h dependency from DRT/Chromium. * public/WebKitClient.h: (WebKit::WebKitClient::callOnMainThreadWithDelay): Added. 2010-08-31 Kinuko Yasuda Reviewed by Jian Li. Add LocalFileSystem.requestFileSystem interface to DOMWindow https://bugs.webkit.org/show_bug.cgi?id=44734 * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableFileSystem): (WebKit::WebRuntimeFeatures::isFileSystemEnabled): 2010-08-24 Jeremy Orlow Reviewed by Steve Block. Implement the rest of IDBCursors + make them persistent https://bugs.webkit.org/show_bug.cgi?id=44546 * src/IDBCursorBackendProxy.cpp: (WebCore::IDBCursorBackendProxy::value): * src/IDBCursorBackendProxy.h: * src/WebIDBCursorImpl.cpp: (WebKit::WebIDBCursorImpl::value): 2010-08-27 John Gregg Reviewed by David Levin. Notifications should support a click event https://bugs.webkit.org/show_bug.cgi?id=44800 * public/WebNotification.h: * src/WebNotification.cpp: (WebKit::WebNotification::dispatchClickEvent): 2010-08-31 Jian Li Reviewed by Darin Fisher. Switch the Blob implementation to using the blob data registration model https://bugs.webkit.org/show_bug.cgi?id=44389 * src/WebSearchableFormData.cpp: (WebCore::HasSuitableTextElement): 2010-08-30 Nat Duca Reviewed by Adam Barth. [chromium] Accelerated Compositing: Artifacts/blink when enabling compositor. https://bugs.webkit.org/show_bug.cgi?id=44196 If accelerated compositing enables after a page loads, the dirtied portion of the screen will be only a subset of the full screen, leading to artefacts. Avoid these artefacts by invalidating the visible content rect on compositor initialization. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2010-08-30 Kinuko Yasuda Reviewed by Darin Fisher. Add DOMFileSystem implementation to support Entry manipulation operations https://bugs.webkit.org/show_bug.cgi?id=44732 Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.) * src/AsyncFileSystemChromium.cpp: (WebCore::AsyncFileSystemChromium::move): (WebCore::AsyncFileSystemChromium::copy): (WebCore::AsyncFileSystemChromium::remove): (WebCore::AsyncFileSystemChromium::readMetadata): (WebCore::AsyncFileSystemChromium::createFile): (WebCore::AsyncFileSystemChromium::createDirectory): (WebCore::AsyncFileSystemChromium::fileExists): (WebCore::AsyncFileSystemChromium::directoryExists): (WebCore::AsyncFileSystemChromium::readDirectory): 2010-08-30 Sheriff Bot Unreviewed, rolling out r66198. http://trac.webkit.org/changeset/66198 https://bugs.webkit.org/show_bug.cgi?id=44856 It made tests crash on Qt bot (Requested by Ossy_ on #webkit). * src/InspectorFrontendClientImpl.cpp: * src/InspectorFrontendClientImpl.h: 2010-08-29 Kent Tamura Reviewed by Darin Adler. Introduce isValidValue(const String&) of HTMLInputElement and HTMLTextAreaElement https://bugs.webkit.org/show_bug.cgi?id=43537 * public/WebInputElement.h: * src/WebInputElement.cpp: (WebKit::WebInputElement::isValidValue): 2010-08-29 Kent Tamura Reviewed by Dimitri Glazkov. [DRT/Chromium] Remove dependency to base/keyboard_codes.h https://bugs.webkit.org/show_bug.cgi?id=44847 * DEPS: Roll Chromium revision to 57823 to have a webkit_support change. 2010-08-28 Jian Li Reviewed by Darin Fisher. [chromium] Add webkit_support.gyp:blob to WebKit.gyp https://bugs.webkit.org/show_bug.cgi?id=44829 Also bump up chromium revision in DEPS in order to pick up the revision that contains blob change. * DEPS: * WebKit.gyp: 2010-08-28 Chris Guillory Reviewed by Chris Fleizach. Add AX notification for childrenChanged https://bugs.webkit.org/show_bug.cgi?id=44472 * public/WebViewClient.h: (WebKit::WebViewClient::didChangeAccessibilityObjectChildren): * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren): * src/ChromeClientImpl.h: 2010-08-27 Daniel Cheng Reviewed by Tony Chang. [chromium] Add new WebClipboard method for setting generic data in copy/cut handlers. https://bugs.webkit.org/show_bug.cgi?id=42121 * public/WebClipboard.h: (WebKit::WebClipboard::writeData): (WebKit::WebClipboard::readFilenames): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::clipboardWriteData): 2010-08-27 Kinuko Yasuda Reviewed by Dumitru Daniliuc. [chromium] Add chromium-side of AsyncFileSystem implementation https://bugs.webkit.org/show_bug.cgi?id=44434 * WebKit.gyp: * src/AssertMatchingEnums.cpp: Added assertions. * src/AsyncFileSystemChromium.cpp: Added. * src/AsyncFileSystemChromium.h: Added. * src/LocalFileSystemChromium.cpp: Added. * src/WebFileSystemCallbacksImpl.cpp: (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): * src/WebFileSystemCallbacksImpl.h: 2010-08-27 Michael Nordman Reviewed by David Levin. https://bugs.webkit.org/show_bug.cgi?id=44133 WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob. * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB. * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableXHRResponseBlob): (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled): 2010-08-25 Jeremy Orlow Reviewed by Steve Block. Add setVersion to IndexedDB https://bugs.webkit.org/show_bug.cgi?id=44630 * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::createObjectStore): (WebKit::WebIDBDatabase::removeObjectStore): (WebKit::WebIDBDatabase::setVersion): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::setVersion): * src/IDBDatabaseProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::setVersion): * src/WebIDBDatabaseImpl.h: 2010-08-27 Yury Semikhatsky Reviewed by Pavel Feldman. REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector https://bugs.webkit.org/show_bug.cgi?id=44230 * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::disconnectFromBackend): * src/InspectorFrontendClientImpl.h: 2010-08-27 Kent Tamura Reviewed by Pavel Feldman. [DRT/Chromium] Fix inspector test failures https://bugs.webkit.org/show_bug.cgi?id=44748 * DEPS: Update Chromium revision to 57605 to have a webkit_support change. 2010-08-26 Dumitru Daniliuc Unreviewed, Chromium build fix. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::markerTextForListItem): 2010-08-26 Dumitru Daniliuc Reviewed by Darin Fisher. Add support for markerTextForListItem() to Chromium's LayoutTestController. https://bugs.webkit.org/show_bug.cgi?id=44724 * public/WebBindings.h: * public/WebFrame.h: * src/WebBindings.cpp: (WebKit::getElementImpl): (WebKit::WebBindings::getElement): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::markerTextForListItem): * src/WebFrameImpl.h: 2010-08-26 James Robinson Reviewed by Darin Fisher. [chromium] Remove the USE(GLES2_RENDERING) define and associated code https://bugs.webkit.org/show_bug.cgi?id=43761 Removes API support to grab a GLES2Context from within WebCore. The compositor has a special codepath to grab its GLES2Context and no other codepaths need access to a raw context. Accelerated drawing elsewhere will go through GraphicsContext3D. * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: 2010-08-26 Ryosuke Niwa Reviewed by Eric Seidel. [chromium] WebEntities is broken https://bugs.webkit.org/show_bug.cgi?id=44708 For serialization purposes, we don't need to convert all entity references. This patch modifies WebEntities::WebEntities to use hard-coded entity lists for both HTML and XML, and deletes populateMapFromXMLEntities and populateMapFromHTMLEntityTable. No tests are added since the code is tested in DomSerializerTests * src/WebEntities.cpp: (WebKit::): (WebKit::WebEntities::WebEntities): 2010-08-26 Peter Kasting Reviewed by Dimitri Glazkov. Misc. cleanup split off from bug 32356. https://bugs.webkit.org/show_bug.cgi?id=44696 * src/WebScrollbarImpl.cpp: (WebKit::WebScrollbarImpl::setLocation): (WebKit::WebScrollbarImpl::onMouseWheel): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::propagateScroll): * src/win/WebInputEventFactory.cpp: (WebKit::WebInputEventFactory::mouseWheelEvent): 2010-08-26 Mikhail Naganov Reviewed by Pavel Feldman. Web Inspector: Store heap snapshots in InspectorProfilerAgent. Change the way heap snapshots are transported to Inspector to be aligned with CPU profiles. As a result, the Heap snapshots view of Profiles panel was upstreamed into WebCore. https://bugs.webkit.org/show_bug.cgi?id=44531 * DEPS: * WebKit.gypi: * src/js/DevTools.js: (): * src/js/HeapProfilerPanel.js: Removed. * src/js/ProfilerAgent.js: Removed. * src/js/ProfilerProcessor.js: Removed. * src/js/devTools.css: 2010-08-26 Yury Semikhatsky Unreviewed. Revert r66103 since Qt tests are failing. * src/InspectorFrontendClientImpl.cpp: * src/InspectorFrontendClientImpl.h: 2010-08-26 Yury Semikhatsky Reviewed by Pavel Feldman. REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector https://bugs.webkit.org/show_bug.cgi?id=44230 * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::disconnectFromBackend): * src/InspectorFrontendClientImpl.h: 2010-08-26 Kent Tamura Reviewed by Tony Chang. [DRT/Chromium] Enable DEVICE_ORIENTATION https://bugs.webkit.org/show_bug.cgi?id=44587 * features.gypi: 2010-08-25 Ilya Tikhonovsky Reviewed by Pavel Feldman. WebInspector: as far as we have 'seq' property in the each inspector message it would be better to remove explicit callId argument from Inspector.idl functions declarations. https://bugs.webkit.org/show_bug.cgi?id=44617 * src/js/ProfilerAgent.js: (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest): (devtools.ProfilerAgent.prototype._getNextLogLines): 2010-08-25 Sheriff Bot Unreviewed, rolling out r66074. http://trac.webkit.org/changeset/66074 https://bugs.webkit.org/show_bug.cgi?id=44660 Chromium canary turned red (Requested by yuzo on #webkit). * features.gypi: * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: 2010-08-25 Michael Nordman Reviewed by David Levin. https://bugs.webkit.org/show_bug.cgi?id=44133 WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob. * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB. * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableXHRResponseBlob): (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled): 2010-08-24 Victoria Kirst Reviewed by Darin Fisher. Adding a way to communicate video frames between Chromium and WebKit. The WebKit side acts as a middleman between Chromium and WebCore. The VideoFrameChromiumImpl is not being used by WebCore yet, as there still needs to be an implementation of WebVideoFrame in Chromium -- coming soon in a subsequent patch. API changes for Video Frame sharing between WebKit and Chromium https://bugs.webkit.org/show_bug.cgi?id=44539 * WebKit.gyp: * public/WebMediaPlayer.h: (WebKit::WebMediaPlayer::getCurrentFrame): (WebKit::WebMediaPlayer::putCurrentFrame): * public/WebVideoFrame.h: Added. * src/VideoFrameChromiumImpl.cpp: Added. (WebKit::VideoFrameChromiumImpl::toWebVideoFrame): (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl): (WebKit::VideoFrameChromiumImpl::type): (WebKit::VideoFrameChromiumImpl::format): (WebKit::VideoFrameChromiumImpl::width): (WebKit::VideoFrameChromiumImpl::height): (WebKit::VideoFrameChromiumImpl::planes): (WebKit::VideoFrameChromiumImpl::stride): (WebKit::VideoFrameChromiumImpl::data): * src/VideoFrameChromiumImpl.h: Added. * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::getCurrentFrame): (WebKit::WebMediaPlayerClientImpl::putCurrentFrame): (WebKit::WebMediaPlayerClientImpl::create): * src/WebMediaPlayerClientImpl.h: 2010-08-25 Eric Seidel Unreviewed. Build fix. Make Chromiums Broken WebPageSerializerImpl compile again https://bugs.webkit.org/show_bug.cgi?id=44652 Make it compile again. This code is still horribly wrong. * src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::endTagToString): 2010-08-20 Zhenyao Mo Reviewed by Kenneth Russell. WebGL must enforce restrictions even if running on OpenGL ES 2.0 https://bugs.webkit.org/show_bug.cgi?id=42908 * public/WebGraphicsContext3D.h: Add two new flags. * src/GraphicsContext3D.cpp: Ditto. (WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict): (WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses): (WebCore::GraphicsContext3D::isGLES2NPOTStrict): (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses): * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict): (WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses): * src/WebGraphicsContext3DDefaultImpl.h: Ditto. 2010-08-24 Zhenyao Mo Reviewed by Kenneth Russell. Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia) https://bugs.webkit.org/show_bug.cgi?id=38282 * src/WebImageDecoder.cpp: (WebKit::WebImageDecoder::init): Add premultiplyAlpha flag. 2010-08-25 Satish Sampath Reviewed by Jeremy Orlow. Pass the element's bounds to embedder during speech recognition. https://bugs.webkit.org/show_bug.cgi?id=44427 * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): (WebKit::WebSpeechInputController::cancelRecognition): (WebKit::WebSpeechInputController::stopRecording): * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::startRecognition): * src/WebSpeechInputControllerMockImpl.h: 2010-08-25 Pawel Hajdan Reviewed by Darin Fisher. Add an assertion to prevent re-initializing WebKit. https://bugs.webkit.org/show_bug.cgi?id=44545 This will help prevent crashes like: - http://code.google.com/p/chromium/issues/detail?id=52731 - http://code.google.com/p/chromium/issues/detail?id=52643 * src/WebKit.cpp: (WebKit::initialize): 2010-08-25 Jay Civelli Reviewed by Dimitri Glazkov. Adding missing test files and reenabling the WebFrame unit-test. https://bugs.webkit.org/show_bug.cgi?id=44492 * tests/WebFrameTest.cpp: (WebKit::TEST_F): * tests/data/iframes_test.html: Added. * tests/data/invisible_iframe.html: Added. * tests/data/visible_iframe.html: Added. * tests/data/zero_sized_iframe.html: Added. 2010-08-25 Kent Tamura Unreviewed, build fix. * DEPS: Roll Chromium revision to 57298 to fix upstream build. 2010-08-24 Dumitru Daniliuc Reviewed by Adam Barth. Build fix: Remove setHTML5ParserEnabled(), it's no longer used. * public/WebSettings.h: * src/WebSettingsImpl.cpp: * src/WebSettingsImpl.h: 2010-08-24 Jian Li Reviewed by Darin Fisher. [chromium] WebBlobRegistry cleanup. https://bugs.webkit.org/show_bug.cgi?id=44571 Remove unneeded method from WebBlobRegistry interface. Also remove unneeded WebBlobRegistryImpl.* files. They're already excluded from gyp files. * public/WebBlobRegistry.h: * src/WebBlobRegistryImpl.cpp: Removed. * src/WebBlobRegistryImpl.h: Removed. 2010-08-24 Adam Barth Reviewed by Dimitri Glazkov. [Chromium] Hulu popups are blocked https://bugs.webkit.org/show_bug.cgi?id=44572 We were blocking popups created by Flash Player because we were never setting the UserGestureIndicator for events. Most WebKit ports handle events through EventHandler, but Chromium is special (for some unknown reason) and dispatches events directly. That means Chromium misses out on some of the work done by EventHandler, including setting the UserGestureIndicator. I suspect this is covered by an existing LayoutTest, but I don't have the ability to run the Chromium LayoutTests on this machine. :( * src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleInputEvent): 2010-08-24 Jian Li Reviewed by Darin Fisher. [chromium] Update WebBlobData. https://bugs.webkit.org/show_bug.cgi?id=44481 Some changes to WebBlobData to match with chromium implementation. 1) Change to use WebCString for data, instead of WebData. 2) Separate path from URL. * public/WebBlobData.h: * src/WebBlobData.cpp: (WebKit::WebBlobData::itemAt): (WebKit::WebBlobData::appendData): (WebKit::WebBlobData::appendBlob): * src/WebBlobStorageData.cpp: (WebKit::WebBlobStorageData::itemAt): 2010-08-24 Marcus Bulach Reviewed by Jeremy Orlow. Hooks IDBKeyPath with IDBObjectStorage::put. https://bugs.webkit.org/show_bug.cgi?id=44275 Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath during IDBObjectStorage::put. * public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey): * public/WebKitClient.h: (WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath): 2010-08-24 Kent Tamura Reviewed by Jeremy Orlow. [DRT/Chromium] Support for IndexedDB tests https://bugs.webkit.org/show_bug.cgi?id=44490 * DEPS: Roll Chromium to r57145 to have a webkit_support change. 2010-08-24 Roland Steiner Unreviewed build fix. put the "DISABLED_" in front of the right identifier. * tests/WebFrameTest.cpp: (WebKit::TEST_F): 2010-08-23 Roland Steiner Reviewed by Tamura Kent. Disable failing test https://bugs.webkit.org/show_bug.cgi?id=44492 * tests/WebFrameTest.cpp: (WebKit::TEST_F): 2010-08-23 Jay Civelli Reviewed by Darin Fisher. Made WebFrame not report the text from hidden frames. (some pages contain hidden frames with garbage text that should not be indexed or used to detect the page's language). https://bugs.webkit.org/show_bug.cgi?id=39456 * WebKit.gyp: * public/WebCString.h: (WebKit::operator<): * public/WebURL.h: (WebKit::operator<): * src/WebCString.cpp: (WebKit::WebCString::compare): * src/WebFrameImpl.cpp: (WebKit::frameContentAsPlainText): * tests/RunAllTests.cpp: (main): * tests/WebFrameTest.cpp: Added. 2010-08-23 Kent Tamura Unreviewed, build fix for r65852. * src/WebNode.cpp: (WebKit::WebNode::parentNode): 2010-08-23 Kenneth Russell Reviewed by Dimitri Glazkov. Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D https://bugs.webkit.org/show_bug.cgi?id=44455 Updated Safari, Qt and Chromium WebGL ports to avoid referencing ArrayBuffer and ArrayBufferView types from GraphicsContext3D. Ran all WebGL layout tests; no new regressions. Built and tested WebKit on Mac OS X; built Chromium on Mac OS X and Linux. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::bufferData): (WebCore::GraphicsContext3DInternal::bufferSubData): 2010-08-23 Jian Li Reviewed by David Levin. Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from chromium project files. https://bugs.webkit.org/show_bug.cgi?id=44442 * WebKit.gyp: 2010-08-23 Satish Sampath Reviewed by Jeremy Orlow. Remove obsolete public/API methods in chromium port https://bugs.webkit.org/show_bug.cgi?id=44421 * public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): (WebKit::WebSpeechInputController::cancelRecognition): (WebKit::WebSpeechInputController::stopRecording): * public/WebSpeechInputListener.h: 2010-08-22 Daniel Bates Reviewed by Eric Seidel. Encapsulate document marker management into DocumentMarkerController https://bugs.webkit.org/show_bug.cgi?id=44383 Modify call sites in the Chromium port to use DocumentMarkerController. No functionality was changed, so no new tests. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::stopFinding): (WebKit::WebFrameImpl::addMarker): (WebKit::WebFrameImpl::setMarkerActive): 2010-08-22 Jian Li Reviewed by Darin Fisher. Add the blob URL member to FormData. https://bugs.webkit.org/show_bug.cgi?id=44387 As the result of adding the blob URL member to the FormData, we need to update the corresponding WebKit API for chromium. * public/WebHTTPBody.h: (WebKit::WebHTTPBody::Element::): * src/WebHTTPBody.cpp: (WebKit::WebHTTPBody::elementAt): (WebKit::WebHTTPBody::appendBlob): 2010-08-20 Kinuko Yasuda Unreviewed; build fix for chromium (and remove duplicated ChangeLog entry). 2010-08-20 James Robinson Synchronize default of use_accelerated_compositing gyp variable with downstream. Unreviewed. * features.gypi: 2010-08-20 Kinuko Yasuda Reviewed by Darin Fisher. [chromium] Add chromium-side callback implementation for FileSystem API https://bugs.webkit.org/show_bug.cgi?id=44350 Add WebFileSystemCallbacks that calls back the WebCore's implementation. * WebKit.gyp: * src/WebFileSystemCallbacksImpl.cpp: Added. * src/WebFileSystemCallbacksImpl.h: Added. 2010-08-20 Tony Chang Reviewed by Kent Tamura. [chromium] fix a null pointer crash when dispatching JS keyboard events https://bugs.webkit.org/show_bug.cgi?id=44313 * src/WebInputEventConversion.cpp: (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder): 2010-08-20 Jay Civelli Reviewed by Darin Fisher. Removing the deprecated class WebEvent and friends. https://bugs.webkit.org/show_bug.cgi?id=44296 * WebKit.gyp: * public/WebEvent.h: Removed. * public/WebEventListener.h: Removed. * public/WebMutationEvent.h: Removed. * public/WebNode.h: * src/EventListenerWrapper.cpp: (WebKit::EventListenerWrapper::webDOMEventListenerDeleted): * src/EventListenerWrapper.h: * src/WebEvent.cpp: Removed. * src/WebEventListener.cpp: Removed. * src/WebEventListenerPrivate.cpp: Removed. * src/WebEventListenerPrivate.h: Removed. * src/WebNode.cpp: (WebKit::WebNode::removeEventListener): 2010-08-19 Zhenyao Mo Reviewed by Kenneth Russell. Fix failing WebGL tests in Chromium in-process-webgl port https://bugs.webkit.org/show_bug.cgi?id=44305 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): Add implementation. 2010-08-19 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: enable DOM breakpoints for chromium https://bugs.webkit.org/show_bug.cgi?id=42886 * src/js/DevTools.js: (WebInspector.loaded): 2010-08-19 Vincent Scheib Reviewed by David Levin. [chromium] TilingData::tilePositionY has typo of X where Y should be used https://bugs.webkit.org/show_bug.cgi?id=44195 Unit tests added for tileSize and tilePosition. * tests/TilingDataTest.cpp: (WebCore::TEST): 2010-08-19 Kinuko Yasuda Reviewed by Darin Fisher. Add WebKit API for FileSystem API https://bugs.webkit.org/show_bug.cgi?id=43151 Add asynchronous FileSystem interface to WebKit API for FileSystem API. http://dev.w3.org/2009/dap/file-system/file-dir-sys.html * WebKit.gyp: * public/WebFileError.h: Added. * public/WebFileSystem.h: Added. * public/WebFileSystemEntry.h: Added. * public/WebFileSystemCallbacks.h: Added. * public/WebKitClient.h: (WebKit::WebKitClient::fileSystem): * public/WebFrameClient.h: (WebKit::WebFrameClient::openFileSystem): 2010-08-19 Kinuko Yasuda Reviewed by Jian Li. [Chromium] Rolls Chromium DEPS forward to 56564 https://bugs.webkit.org/show_bug.cgi?id=44281 Roll Chromium DEPS forward to 56564 to include WebFileSystem implementation changes. * DEPS: 2010-08-19 Vincent Scheib Reviewed by David Levin. Fixing previous Mac only build breakage with TilingDataTest.cpp https://bugs.webkit.org/show_bug.cgi?id=44223 TilingDataTest.cpp included the wrong header, which had a compile option around the definition of the WebCore namespace. Without the namespace defined, error. Fixed by correctly including TilingData.h, which has no conditional compilation. * WebKit.gyp: * tests/TilingDataTest.cpp: 2010-08-19 Jochen Eisinger Reviewed by Pavel Feldman. concatenated_devtools_js should depend on inspector_protocol_sources https://bugs.webkit.org/show_bug.cgi?id=44255 * WebKit.gyp: 2010-08-19 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: activate/deactivate breakpoints using v8 debugger flag. https://bugs.webkit.org/show_bug.cgi?id=44112 * src/js/DebuggerScript.js: (): 2010-08-19 Andrei Popescu Reviewed by Jeremy Orlow. [IndexedDB] Abort idle IDBTransactions when the JS context they were created in finishes execution. https://bugs.webkit.org/show_bug.cgi?id=44101 * WebKit.gyp: * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::transaction): * public/WebIDBFactory.h: (WebKit::WebIDBFactory::abortPendingTransactions): * public/WebIDBTransaction.h: Added. (WebKit::WebIDBTransaction::~WebIDBTransaction): (WebKit::WebIDBTransaction::mode): (WebKit::WebIDBTransaction::objectStore): (WebKit::WebIDBTransaction::abort): (WebKit::WebIDBTransaction::id): (WebKit::WebIDBTransaction::setCallbacks): * public/WebIDBTransactionCallbacks.h: Added. (WebKit::WebIDBTransactionCallbacks::~WebIDBTransactionCallbacks): (WebKit::WebIDBTransactionCallbacks::onAbort): (WebKit::WebIDBTransactionCallbacks::id): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::transaction): * src/IDBFactoryBackendProxy.cpp: (WebCore::IDBFactoryBackendProxy::abortPendingTransactions): * src/IDBFactoryBackendProxy.h: * src/IDBTransactionBackendProxy.cpp: Added. (WebCore::IDBTransactionBackendProxy::create): (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy): (WebCore::IDBTransactionBackendProxy::~IDBTransactionBackendProxy): (WebCore::IDBTransactionBackendProxy::objectStore): (WebCore::IDBTransactionBackendProxy::mode): (WebCore::IDBTransactionBackendProxy::abort): (WebCore::IDBTransactionBackendProxy::scheduleTask): (WebCore::IDBTransactionBackendProxy::sqliteDatabase): (WebCore::IDBTransactionBackendProxy::id): (WebCore::IDBTransactionBackendProxy::setCallbacks): * src/IDBTransactionBackendProxy.h: Added. * src/IDBTransactionCallbacksProxy.cpp: Added. (WebCore::IDBTransactionCallbacksProxy::create): (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy): (WebCore::IDBTransactionCallbacksProxy::~IDBTransactionCallbacksProxy): (WebCore::IDBTransactionCallbacksProxy::onAbort): (WebCore::IDBTransactionCallbacksProxy::id): * src/IDBTransactionCallbacksProxy.h: Added. * src/WebDOMStringList.cpp: (WebKit::WebDOMStringList::length): * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::transaction): * src/WebIDBDatabaseImpl.h: * src/WebIDBFactoryImpl.cpp: (WebKit::WebIDBFactoryImpl::abortPendingTransactions): * src/WebIDBFactoryImpl.h: * src/WebIDBTransactionCallbacksImpl.cpp: Added. (WebCore::WebIDBTransactionCallbacksImpl::WebIDBTransactionCallbacksImpl): (WebCore::WebIDBTransactionCallbacksImpl::~WebIDBTransactionCallbacksImpl): (WebCore::WebIDBTransactionCallbacksImpl::onAbort): (WebCore::WebIDBTransactionCallbacksImpl::id): * src/WebIDBTransactionCallbacksImpl.h: Added. * src/WebIDBTransactionImpl.cpp: Added. (WebKit::WebIDBTransactionImpl::WebIDBTransactionImpl): (WebKit::WebIDBTransactionImpl::~WebIDBTransactionImpl): (WebKit::WebIDBTransactionImpl::mode): (WebKit::WebIDBTransactionImpl::objectStore): (WebKit::WebIDBTransactionImpl::abort): (WebKit::WebIDBTransactionImpl::id): (WebKit::WebIDBTransactionImpl::setCallbacks): * src/WebIDBTransactionImpl.h: Added. (WebKit::): 2010-08-19 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium DevTools: There is no need in resource-based InjectedScript.js source. Now that we populate front-end after its onload handler, I don't think we need to install injected script early. https://bugs.webkit.org/show_bug.cgi?id=44029 * public/WebDevToolsAgentClient.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgentImpl::attach): (WebKit::WebDevToolsAgentImpl::frontendLoaded): 2010-08-19 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium DevTools: remove setRuntimeFeatureEnabled API method that is no longer used. https://bugs.webkit.org/show_bug.cgi?id=44237 * public/WebDevToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: * src/WebDevToolsAgentImpl.h: 2010-08-18 Jian Li Fix layout test crashes in chromium. * src/BlobRegistryProxy.cpp: (WebCore::BlobRegistryProxy::registerBlobURL): (WebCore::BlobRegistryProxy::unregisterBlobURL): 2010-08-18 Jian Li Fix chromium build break. * src/WebBlobStorageData.cpp: (WebKit::WebBlobStorageData::itemAt): 2010-08-18 Jian Li Reviewed by Darin Fisher. [chromium] Chromium side implementation of blob data and blob registry. https://bugs.webkit.org/show_bug.cgi?id=43871 * WebKit.gyp: * public/WebBlobData.h: Added. * public/WebBlobRegistry.h: Added. * public/WebBlobStorageData.h: Added. * public/WebKitClient.h: (WebKit::WebKitClient::blobRegistry): * src/BlobRegistryProxy.cpp: Added. * src/BlobRegistryProxy.h: Added. * src/WebBlobData.cpp: Added. * src/WebBlobRegistryImpl.cpp: Added. * src/WebBlobRegistryImpl.h: Added. * src/WebBlobStorageData.cpp: Added. 2010-08-18 Dumitru Daniliuc Reviewed by Darin Fisher. Propagate the m_downloadFilePath correctly. https://bugs.webkit.org/show_bug.cgi?id=44198 * src/WebURLRequest.cpp: (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): * src/WebURLResponse.cpp: (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): 2010-08-18 Victor Wang Unreviewed. Fix chromium multi dll build. * public/WebIDBKeyPath.h: 2010-08-18 Jay Civelli Reviewed by Darin Fisher. Renaming the WebEvent to WebDOMEvent and adding a new event class for mouse events so that the event listener API can be used to listen to them. The renaming is needed as there already is a WebMouseEvent class. https://bugs.webkit.org/show_bug.cgi?id=43453 * WebKit.gyp: * public/WebDOMEvent.h: Added. * public/WebDOMEventListener.h: Added. * public/WebDOMMouseEvent.h: Added. * public/WebDOMMutationEvent.h: Added. * public/WebNode.h: * src/EventListenerWrapper.cpp: * src/EventListenerWrapper.h: * src/WebDOMEvent.cpp: Added. * src/WebDOMEventListener.cpp: Added. * src/WebDOMEventListenerPrivate.cpp: Added. * src/WebDOMEventListenerPrivate.h: Added. * src/WebDOMMouseEvent.cpp: Added. * src/WebDOMMutationEvent.cpp: Added. * src/WebNode.cpp: (WebKit::WebNode::isElementNode): (WebKit::WebNode::addDOMEventListener): (WebKit::WebNode::removeDOMEventListener): 2010-08-17 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. Web Inspector: replace hand written InspectorBackendStub.js with generated one. https://bugs.webkit.org/show_bug.cgi?id=43791 * WebKit.gyp: 2010-08-18 Sheriff Bot Unreviewed, rolling out r65238. http://trac.webkit.org/changeset/65238 https://bugs.webkit.org/show_bug.cgi?id=44168 Check if clobbering chromium bot fixes the layout test failures (Requested by hamaji on #webkit). * public/WebFrameClient.h: (WebKit::WebFrameClient::frameDetached): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2010-08-18 Sheriff Bot Unreviewed, rolling out r65595. http://trac.webkit.org/changeset/65595 https://bugs.webkit.org/show_bug.cgi?id=44161 qt build failed (Requested by loislo on #webkit). * WebKit.gyp: 2010-08-17 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. Web Inspector: replace hand written InspectorBackendStub.js by generated one. https://bugs.webkit.org/show_bug.cgi?id=43791 * WebKit.gyp: 2010-08-17 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium DevTools: Support runtime property name/value pairs instead of feature names as navigation state. https://bugs.webkit.org/show_bug.cgi?id=44054 * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: (WebKit::WebDevToolsAgentClient::runtimePropertyChanged): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): * src/WebDevToolsAgentImpl.h: 2010-08-17 Jesus Sanchez-Palencia Reviewed by Darin Adler. Add NetworkingContext to avoid layer violations https://bugs.webkit.org/show_bug.cgi?id=42292 Preparation: Just add the files to the build system. * WebKit.gyp: Added new files. * src/FrameNetworkingContextImpl.h: Added. Placeholder with tentative code that might be changed when landing the rest of it. 2010-08-17 Sheriff Bot Unreviewed, rolling out r65516. http://trac.webkit.org/changeset/65516 https://bugs.webkit.org/show_bug.cgi?id=44126 broke chromium unit tests on mac and linux (Requested by johnny_g on #webkit). * WebKit.gyp: * src/WebFrameImpl.cpp: (WebKit::frameContentAsPlainText): * tests/RunAllTests.cpp: (main): * tests/WebFrameTest.cpp: Removed. 2010-08-17 Jay Civelli Reviewed by Darin Fisher. Made WebFrame not report the text from hidden frames. (some pages contain hidden frames with garbage text that should not be indexed or used to detect the page's language). https://bugs.webkit.org/show_bug.cgi?id=39456 * WebKit.gyp: * public/WebCString.h: (WebKit::operator<): * public/WebURL.h: (WebKit::operator<): * src/WebCString.cpp: (WebKit::WebCString::compare): * src/WebFrameImpl.cpp: (WebKit::frameContentAsPlainText): * tests/RunAllTests.cpp: (main): * tests/WebFrameTest.cpp: Added. 2010-08-17 Kelly Norton Reviewed by Pavel Feldman. Web Inspector: Fixes a crash in addTimelineRecord when InspectorTimelineAgent is enabled through WebDevToolsAgentImpl::setApuEnabled. https://bugs.webkit.org/show_bug.cgi?id=44105 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 2010-08-17 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: upstream Chromium debugger step tests https://bugs.webkit.org/show_bug.cgi?id=44106 * src/js/Tests.js: 2010-08-17 Sheriff Bot Unreviewed, rolling out r65500. http://trac.webkit.org/changeset/65500 https://bugs.webkit.org/show_bug.cgi?id=44108 Qt bots failed to compile. (Requested by loislo on #webkit). * WebKit.gyp: 2010-08-17 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. Web Inspector: replace hand written InspectorBackendStub.js by generated one. https://bugs.webkit.org/show_bug.cgi?id=43791 * WebKit.gyp: 2010-08-17 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: upstream Chromium console tests and remove a couple of tests that have already been covered with layout tests. https://bugs.webkit.org/show_bug.cgi?id=44057 * src/js/Tests.js: (.TestSuite.prototype.testConsoleEval): (.TestSuite.prototype.testConsoleLog): (.TestSuite.prototype.testEvalGlobal): 2010-08-16 Kinuko Yasuda Unreviewed; attempt to fix Chromium Windows build. * public/WebFileUtilities.h: 2010-08-16 Kinuko Yasuda Reviewed by Jian Li. [chromium] Prepare to rename WebFileSystem interface to WebFileUtilities https://bugs.webkit.org/show_bug.cgi?id=44077 We are going to have an implementation for HTML5 FileSystem API and it would probably be less confusing to use the name "WebFileSystem" for an WebKit API for the HTML5 API. This patch adds WebFileUtilities interface that is meant to replace the existing WebFileSystem. * WebKit.gyp: * public/WebFileSystem.h: * public/WebFileUtilities.h: Added. * public/WebKitClient.h: (WebKit::WebKitClient::fileUtilities): Added. * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::fileExists): (WebCore::ChromiumBridge::deleteFile): (WebCore::ChromiumBridge::deleteEmptyDirectory): (WebCore::ChromiumBridge::getFileSize): (WebCore::ChromiumBridge::getFileModificationTime): (WebCore::ChromiumBridge::directoryName): (WebCore::ChromiumBridge::pathByAppendingComponent): (WebCore::ChromiumBridge::makeAllDirectories): (WebCore::ChromiumBridge::getAbsolutePath): (WebCore::ChromiumBridge::isDirectory): (WebCore::ChromiumBridge::filePathToURL): (WebCore::ChromiumBridge::openFile): (WebCore::ChromiumBridge::closeFile): (WebCore::ChromiumBridge::seekFile): (WebCore::ChromiumBridge::truncateFile): (WebCore::ChromiumBridge::readFromFile): (WebCore::ChromiumBridge::writeToFile): 2010-08-16 Nate Chapin Unreviewed, build fix. Don't include TilingDataTest.cpp, since it doesn't compile on mac. * WebKit.gyp: 2010-08-16 James Robinson Compile fix. Fix up paintsIntoCanvasBuffer impl. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer): 2010-08-16 Vincent Scheib Reviewed by Dimitri Glazkov. Canvas2D does not support images larger than system's GPU max texture size https://bugs.webkit.org/show_bug.cgi?id=43864 Unit tests for TilingData class. * WebKit.gyp: * tests/TilingDataTest.cpp: Added. (WebCore::TEST): 2010-08-16 Alex Milowski Reviewed by David Levin. Added the ENABLE_MATHML=1 to the feature_defines. * features.gypi: 2010-08-16 Marcus Bulach Reviewed by Jeremy Orlow. Implements IDBKeyPath extractor. https://bugs.webkit.org/show_bug.cgi?id=43276 Unit-test IDBKeyPathExtractorTest.cpp. LayoutTests will arrive as IndexedDB infrastructure is fleshed out. * WebKit.gyp: * public/WebIDBKey.h: * public/WebIDBKeyPath.h: Added. (WebKit::WebIDBKeyPath::WebIDBKeyPath): (WebKit::WebIDBKeyPath::~WebIDBKeyPath): * public/WebPrivateOwnPtr.h: Added. (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr): (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr): (WebKit::WebPrivateOwnPtr::reset): (WebKit::WebPrivateOwnPtr::get): (WebKit::WebPrivateOwnPtr::operator->): * src/WebIDBKey.cpp: (WebKit::WebIDBKey::createFromValueAndKeyPath): * src/WebIDBKeyPath.cpp: Added. (WebKit::WebIDBKeyPath::create): (WebKit::WebIDBKeyPath::WebIDBKeyPath): (WebKit::WebIDBKeyPath::parseError): (WebKit::WebIDBKeyPath::assign): (WebKit::WebIDBKeyPath::reset): (WebKit::WebIDBKeyPath::operator const WTF::Vector&): * tests/IDBBindingUtilitiesTest.cpp: Added. (WebCore::LocalContext::LocalContext): (WebCore::LocalContext::~LocalContext): (WebCore::checkKeyFromValueAndKeyPathInternal): (WebCore::checkKeyPathNullValue): (WebCore::checkKeyPathStringValue): (WebCore::checkKeyPathNumberValue): (WebCore::TEST): 2010-07-28 Marcus Bulach Reviewed by Adam Barth. Implement IDBKeyPath parser. https://bugs.webkit.org/show_bug.cgi?id=42976 IDBKeyPath is an internal class, exposed only for unit tests for now. It'll allow indexed database implementation to traverse a given key path and obtain the corresponding properties from a SerializedScriptValue. * WebKit.gyp: * tests/IDBKeyPathTest.cpp: Added. (WebCore::ExpectedToken::ExpectedToken): (WebCore::checkKeyPath): (WebCore::TEST): 2010-08-16 Pavel Feldman Reviewed by Joseph Pecoraro. Web Inspector: upstream frontend-side WebSocket transport. https://bugs.webkit.org/show_bug.cgi?id=43970 Chromium already has an alternate WebSocket-based communication channel with the backend. Upstreaming it in this change. We will agree on the URI of the remote service as the protocol matures. * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): * src/js/DevTools.js: (WebInspector.loaded): (devtools.domContentLoaded): 2010-08-16 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: remove utility context related code from debugger agent https://bugs.webkit.org/show_bug.cgi?id=44049 * src/DebuggerAgentManager.cpp: (WebKit::DebuggerAgentManager::onV8DebugMessage): (WebKit::DebuggerAgentManager::pauseScript): * src/DebuggerAgentManager.h: 2010-08-16 Yuta Kitamura Reviewed by Shinichiro Hamaji. Attempt to fix Chromium's test_shell_tests. Port Chromium's WebEntities to HTMLEntityTable https://bugs.webkit.org/show_bug.cgi?id=44036 * src/WebEntities.cpp: (WebKit::): 2010-08-15 Adam Barth Reviewed by Eric Seidel. Port Chromium's WebEntities to HTMLEntityTable https://bugs.webkit.org/show_bug.cgi?id=44036 This code is wrong and needs to be removed. However, at least after this patch, it will compile. * src/WebEntities.cpp: (WebKit::): (WebKit::WebEntities::WebEntities): * src/WebEntities.h: 2010-08-13 Satish Sampath Reviewed by Jeremy Orlow. Support for multiple speech enabled elements in same page. https://bugs.webkit.org/show_bug.cgi?id=43922 * public/WebSpeechInputController.h: Bubbles up the requestId given by webcore to the embedder. (WebKit::WebSpeechInputController::startRecognition): (WebKit::WebSpeechInputController::cancelRecognition): (WebKit::WebSpeechInputController::stopRecording): * public/WebSpeechInputListener.h: Passes down the requestId given by embedder to webcore. (WebKit::WebSpeechInputListener::didCompleteRecording): (WebKit::WebSpeechInputListener::setRecognitionResult): (WebKit::WebSpeechInputListener::didCompleteRecognition): * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::setListener): (WebKit::SpeechInputClientImpl::startRecognition): (WebKit::SpeechInputClientImpl::stopRecording): (WebKit::SpeechInputClientImpl::cancelRecognition): (WebKit::SpeechInputClientImpl::didCompleteRecording): (WebKit::SpeechInputClientImpl::didCompleteRecognition): (WebKit::SpeechInputClientImpl::setRecognitionResult): * src/SpeechInputClientImpl.h: * src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl): (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl): (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording): (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition): (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition): (WebKit::WebSpeechInputControllerMockImpl::stopRecording): * src/WebSpeechInputControllerMockImpl.h: 2010-08-12 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: allow interrupting long running JS to execute inspector command https://bugs.webkit.org/show_bug.cgi?id=43900 * public/WebDevToolsAgent.h: (WebKit::WebDevToolsAgent::MessageDescriptor::~MessageDescriptor): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgent::interruptAndDispatch): (WebKit::WebDevToolsAgent::shouldInterruptForMessage): (WebKit::WebDevToolsAgent::processPendingMessages): * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): * src/WebDevToolsFrontendImpl.h: * src/js/DevTools.js: 2010-08-12 Aaron Boodman Reviewed by David Hyatt. Make the cascade level of "user" styles configurable https://bugs.webkit.org/show_bug.cgi?id=43457 * src/WebViewImpl.cpp: (WebKit::WebView::addUserStyleSheet): 2010-08-12 John Gregg Reviewed by Kent Tamura. [chromium] Add Notification::detachPresenter to the WebKit API. https://bugs.webkit.org/show_bug.cgi?id=43659 * public/WebNotification.h: * src/WebNotification.cpp: (WebKit::WebNotification::detachPresenter): 2010-08-11 Stephen White Reviewed by David Levin. Add support for BGRA pixel format to GraphicsContext3D. https://bugs.webkit.org/show_bug.cgi?id=43858 Although this has been standard in desktop GL since 1.2, it's an extension in GL ES 2.0, so a query function is provided to check for support. The DefaultImpl returns false, since it does not yet implement the TexImage2D internalFormat quirks. * public/WebGraphicsContext3D.h: (WebKit::WebGraphicsContext3D::supportsBGRA): * src/GraphicsContext3D.cpp: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA): * src/WebGraphicsContext3DDefaultImpl.h: 2010-08-12 Sheriff Bot Unreviewed, rolling out r65181. http://trac.webkit.org/changeset/65181 https://bugs.webkit.org/show_bug.cgi?id=43909 It broke 35 layout tests fail on chromium-win (Requested by hamaji on #webkit). * public/WebFrameClient.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2010-08-12 Sheriff Bot Unreviewed, rolling out r65221. http://trac.webkit.org/changeset/65221 https://bugs.webkit.org/show_bug.cgi?id=43896 Broke snow leopard build. (Requested by dave_levin on #webkit). * public/WebGraphicsContext3D.h: * src/GraphicsContext3D.cpp: * src/WebGraphicsContext3DDefaultImpl.cpp: * src/WebGraphicsContext3DDefaultImpl.h: 2010-08-11 Stephen White Reviewed by David Levin. Add support for BGRA pixel format to GraphicsContext3D. https://bugs.webkit.org/show_bug.cgi?id=43858 Although this has been standard in desktop GL since 1.2, it's an extension in GL ES 2.0, so a query function is provided to check for support. The DefaultImpl returns false, since it does not yet implement the TexImage2D internalFormat quirks. * public/WebGraphicsContext3D.h: (WebKit::WebGraphicsContext3D::supportsBGRA): * src/GraphicsContext3D.cpp: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA): * src/WebGraphicsContext3DDefaultImpl.h: 2010-08-11 James Hawkins Reviewed by Dmitry Titov. [Chromium] Notify the WebFrameClient when the frame is detached from the view. This is used to clear the cached frame in the FormManager. Eventually this will be removed once handling forms is moved into WebCore. https://bugs.webkit.org/show_bug.cgi?id=43648 * public/WebFrameClient.h: (WebKit::WebFrameClient::frameDetached): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2010-08-11 Dimitri Glazkov Build fix, turn off yet-unbaked DEVICE_ORIENTATION stuff. * features.gypi: Turned it off. 2010-08-11 Evan Stade Reviewed by David Levin. [chromium] linux chromium sends double clicks too often https://bugs.webkit.org/show_bug.cgi?id=43096 * WebKit.gyp: add the test * src/gtk/WebInputEventFactory.cpp: (WebKit::WebInputEventFactory::mouseEvent): check the x/y coordinates of the potential double click event * tests/WebInputEventFactoryTestGtk.cpp: Added. 2010-08-11 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Inform a plugin about the zoom level when it's created https://bugs.webkit.org/show_bug.cgi?id=42268 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::createPlugin): 2010-08-11 Yury Semikhatsky Unreviewed. Fix Chromium compilation. * DEPS: 2010-08-11 Yury Semikhatsky Unreviewed. Chromium build fix. * DEPS: bump up Chromium revision. 2010-08-11 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: remove InjectDispatch.js https://bugs.webkit.org/show_bug.cgi?id=43835 * WebKit.grd: * src/js/InjectDispatch.js: Removed. 2010-08-10 Kent Tamura Unreviewed, build fix. Chromium build fix for r65107. * src/WebAnimationControllerImpl.cpp: (WebKit::WebAnimationControllerImpl::suspendAnimations): (WebKit::WebAnimationControllerImpl::resumeAnimations): 2010-08-10 Kenneth Russell Reviewed by Dimitri Glazkov. Roll forward Chromium DEPS to r55584 https://bugs.webkit.org/show_bug.cgi?id=43811 * DEPS: 2010-08-10 Kavita Kanetkar Reviewed by Joseph Pecoraro. Web Inspector: Support appcache status change for Chrome https://bugs.webkit.org/show_bug.cgi?id=43531 * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): 2010-08-10 Kenneth Russell Reviewed by Dimitri Glazkov. Use Chromium OpenGL bindings rather than GLEW in WebGraphicsContextDefaultImpl https://bugs.webkit.org/show_bug.cgi?id=43754 Deleted per-platform OpenGL context management code, now abstracted via GLContext. Built and tested in Chromium with --in-process-webgl flag. * WebKit.gyp: * src/GraphicsContext3D.cpp: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent): (WebKit::WebGraphicsContext3DDefaultImpl::reshape): (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D): (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D): (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer): (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer): * src/WebGraphicsContext3DDefaultImpl.h: 2010-08-10 Jian Li Another chromium build fix. * src/AssertMatchingEnums.cpp: 2010-08-10 Gavin Barraclough Rubber stamped by Sam Weinig. Bug 43786 - Move AtomicStringHash from WebCore to WTF Also remove deprecated string headers from WebCore/platform/text. * src/WebKit.cpp: * src/WebPageSerializerImpl.h: * src/WebString.cpp: 2010-08-10 James Robinson Reviewed by Dimitri Glazkov. [chromium] Feature defines are out of sync between features.gypi and downstream feature_overrides.gypi https://bugs.webkit.org/show_bug.cgi?id=43756 This synchronizes the feature defines to what's currently downstream (at r55468). The difference between the build.webkit.org bots and the chromium bots has caused strange compilation failures lately. * features.gypi: 2010-08-10 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: get rid of utility context https://bugs.webkit.org/show_bug.cgi?id=43787 * public/WebDevToolsAgentClient.h: * src/DebuggerAgentImpl.cpp: * src/DebuggerAgentImpl.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl): (WebKit::WebDevToolsAgentImpl::attach): (WebKit::WebDevToolsAgentImpl::detach): (WebKit::WebDevToolsAgentImpl::frontendLoaded): (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): * src/WebDevToolsAgentImpl.h: 2010-08-10 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector, Chromium: reloading of inspected page hits assert in InspectorController::enableDebuggerFromFrontend() https://bugs.webkit.org/show_bug.cgi?id=43780 * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): 2010-08-10 Hans Wennborg Reviewed by Jeremy Orlow. Implement chromium WebDeviceOrientationClient wrapper and have WebViewImpl get it from WebViewClient. https://bugs.webkit.org/show_bug.cgi?id=43258 Provide a DeviceOrientationClient to Page by means of a DeviceOrientationClientProxy that proxies calls to a WebDeviceOrientationClient, an interface that can be implemented in the WebKit or Chromium layer. An implementation to be used for layout tests, wrapping DeviceOrientationClientMock, is provided. * WebKit.gyp: * public/WebDeviceOrientation.h: Added. (WebKit::WebDeviceOrientation::WebDeviceOrientation): * public/WebDeviceOrientationClient.h: Added. (WebKit::WebDeviceOrientationClient::~WebDeviceOrientationClient): * public/WebDeviceOrientationClientMock.h: Added. (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock): (WebKit::WebDeviceOrientationClientMock::~WebDeviceOrientationClientMock): * public/WebDeviceOrientationController.h: Added. (WebKit::WebDeviceOrientationController::WebDeviceOrientationController): * public/WebViewClient.h: (WebKit::WebViewClient::deviceOrientationClient): * src/DeviceOrientationClientProxy.cpp: Added. (WebKit::DeviceOrientationClientProxy::setController): (WebKit::DeviceOrientationClientProxy::startUpdating): (WebKit::DeviceOrientationClientProxy::stopUpdating): (WebKit::DeviceOrientationClientProxy::lastOrientation): * src/DeviceOrientationClientProxy.h: Added. (WebKit::DeviceOrientationClientProxy::DeviceOrientationClientProxy): * src/WebDeviceOrientation.cpp: Added. (WebKit::WebDeviceOrientation::WebDeviceOrientation): (WebKit::WebDeviceOrientation::operator=): (WebKit::WebDeviceOrientation::operator PassRefPtr): * src/WebDeviceOrientationClientMock.cpp: Added. (WebKit::WebDeviceOrientationClientMock::setController): (WebKit::WebDeviceOrientationClientMock::startUpdating): (WebKit::WebDeviceOrientationClientMock::stopUpdating): (WebKit::WebDeviceOrientationClientMock::lastOrientation): (WebKit::WebDeviceOrientationClientMock::setOrientation): (WebKit::WebDeviceOrientationClientMock::initialize): (WebKit::WebDeviceOrientationClientMock::reset): * src/WebDeviceOrientationController.cpp: Added. (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation): (WebKit::WebDeviceOrientationController::controller): * src/WebViewImpl.cpp: (WebKit::WebView::create): (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-08-10 Sheriff Bot Unreviewed, rolling out r64988. http://trac.webkit.org/changeset/64988 https://bugs.webkit.org/show_bug.cgi?id=43775 "It seems to break chromium's ui_tests" (Requested by hamaji on #webkit). * public/WebFrameClient.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2010-08-10 Yury Semikhatsky Unreviewed. Remove references to deleted header InspectorFrontend.h * src/WebDevToolsAgentImpl.cpp: 2010-08-10 Yury Semikhatsky Unreviewed. Fix Chromium compilation. * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::frontendLoaded): 2010-08-09 Gavin Barraclough Speculative chromium build fix V. * tests/KURLTest.cpp: (ComponentCase::TEST): 2010-08-09 Gavin Barraclough Speculative chromium build fix IV. * src/WebPageSerializerImpl.h: 2010-08-09 Gavin Barraclough Speculative chromium build fix II. * src/AssertMatchingEnums.cpp: 2010-08-09 Gavin Barraclough Speculative chromium build fix. * public/WebCString.h: 2010-08-06 Gavin Barraclough Rubber stamped by Sam Weinig Bug 43594 - Add string forwards to Forward.h This allows us to remove forward declarations for these classes from WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). * public/WebCString.h: * public/WebString.h: * src/DOMUtilitiesPrivate.h: * src/DebuggerAgentImpl.h: * src/DebuggerAgentManager.h: * src/WebDevToolsAgentImpl.h: * src/WebDevToolsFrontendImpl.h: * src/WebPageSerializerImpl.h: 2010-08-09 Vangelis Kokkevis Reviewed by Dimitri Glazkov. Skip the slow software rendering path of GraphicsContext3D if accelerated compositing is active. This fixes an issue with WebGL and the compositor in which the software rendering of WebGL would cause the current GL context to change while the compositor was processing layers. Tested by running several WebGL samples both with the compositor enabled and disabled. https://bugs.webkit.org/show_bug.cgi?id=43644 * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::initialize): (WebCore::GraphicsContext3DInternal::beginPaint): 2010-08-06 James Hawkins Reviewed by Dimitri Glazkov. [Chromium] Notify the WebFrameClient when the frame is detached from the view. This is used to clear the cached frame in the FormManager. Eventually this will be removed once handling forms is moved into WebCore. https://bugs.webkit.org/show_bug.cgi?id=43648 * public/WebFrameClient.h: (WebKit::WebFrameClient::frameDetached): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2010-08-09 Pavel Feldman Not reviewed: Chromium tests fix. Chromium: provisional interactive ui tests fix. * src/js/Tests.js: (.TestSuite.prototype.testShowStoragePanel.this): (.TestSuite.prototype.testShowStoragePanel): 2010-08-09 Pavel Feldman Not reviewed. Chromium tests fix. Disable runtime switch for device motion in chromium. https://bugs.webkit.org/show_bug.cgi?id=43717 * src/WebViewImpl.cpp: (WebKit::WebView::create): 2010-08-09 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium: Remove temporary device motion fix. https://bugs.webkit.org/show_bug.cgi?id=43713 * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDeviceOrientation): 2010-08-07 Jay Civelli Reviewed by Eric Seidel. Removed unecessary focus code. https://bugs.webkit.org/show_bug.cgi?id=43542 * src/ChromiumBridge.cpp: 2010-08-06 Victor Wang Reviewed by Kent Tamura. [Chromium] Add dllimport/dllexport to WebSpeechInputControllerMock::create so it works for windows dll build. https://bugs.webkit.org/show_bug.cgi?id=43627 * public/WebSpeechInputControllerMock.h: 2010-08-06 James Robinson Reviewed by Simon Fraser. Composited canvas should be treated the same by the compositor and not be WebGL specific https://bugs.webkit.org/show_bug.cgi?id=43589 Initializes the platformLayer as a CanvasLayerChromium, not a WebGLLayerChromium. The layer itself isn't WebGL-specific. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::initialize): (WebCore::GraphicsContext3DInternal::platformLayer): (WebCore::GraphicsContext3D::platformLayer): 2010-08-06 Jessie Berlin Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build. Unreviewed. * public/WebCString.h: * public/WebString.h: * src/DOMUtilitiesPrivate.h: * src/DebuggerAgentImpl.h: * src/DebuggerAgentManager.h: * src/WebDevToolsAgentImpl.h: * src/WebDevToolsFrontendImpl.h: * src/WebPageSerializerImpl.h: 2010-08-06 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium: disable device motion by default. https://bugs.webkit.org/show_bug.cgi?id=43623 * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDeviceMotion): (WebKit::WebRuntimeFeatures::isDeviceMotionEnabled): (WebKit::WebRuntimeFeatures::enableDeviceOrientation): 2010-08-06 Kavita Kanetkar Reviewed by Joseph Pecoraro. Web Inspector: Remove "Online/Offline" icon for Chrome's appcache devtools UI. https://bugs.webkit.org/show_bug.cgi?id=43450 * src/js/DevTools.js: (WebInspector.loaded): 2010-08-05 Marcus Bulach Reviewed by Jeremy Orlow. Initial bindings and plumbing for IDBCursor. https://bugs.webkit.org/show_bug.cgi?id=41888 Test: storage/indexeddb/idb-opencursor.html * WebKit.gyp: * public/WebIDBCallbacks.h: (WebKit::WebIDBCallbacks::onSuccess): * public/WebIDBCursor.h: Added. (WebKit::WebIDBCursor::~WebIDBCursor): (WebKit::WebIDBCursor::direction): (WebKit::WebIDBCursor::key): (WebKit::WebIDBCursor::value): (WebKit::WebIDBCursor::update): (WebKit::WebIDBCursor::continueFunction): (WebKit::WebIDBCursor::remove): * public/WebIDBKeyRange.h: Added. (WebKit::WebIDBKeyRange::~WebIDBKeyRange): (WebKit::WebIDBKeyRange::WebIDBKeyRange): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::openCursor): * src/IDBCallbacksProxy.cpp: (WebCore::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBCursorBackendProxy.cpp: Added. (WebCore::IDBCursorBackendProxy::create): (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy): (WebCore::IDBCursorBackendProxy::~IDBCursorBackendProxy): (WebCore::IDBCursorBackendProxy::direction): (WebCore::IDBCursorBackendProxy::key): (WebCore::IDBCursorBackendProxy::value): (WebCore::IDBCursorBackendProxy::update): (WebCore::IDBCursorBackendProxy::continueFunction): (WebCore::IDBCursorBackendProxy::remove): * src/IDBCursorBackendProxy.h: Added. * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::openCursor): * src/IDBObjectStoreProxy.h: * src/WebIDBCallbacksImpl.cpp: (WebCore::WebIDBCallbacksImpl::onSuccess): * src/WebIDBCallbacksImpl.h: * src/WebIDBCursorImpl.cpp: Added. (WebKit::WebIDBCursorImpl::WebIDBCursorImpl): (WebKit::WebIDBCursorImpl::~WebIDBCursorImpl): (WebKit::WebIDBCursorImpl::direction): (WebKit::WebIDBCursorImpl::key): (WebKit::WebIDBCursorImpl::value): (WebKit::WebIDBCursorImpl::update): (WebKit::WebIDBCursorImpl::continueFunction): (WebKit::WebIDBCursorImpl::remove): * src/WebIDBCursorImpl.h: Added. * src/WebIDBKeyRange.cpp: Added. (WebKit::WebIDBKeyRange::WebIDBKeyRange): (WebKit::WebIDBKeyRange::assign): (WebKit::WebIDBKeyRange::reset): (WebKit::WebIDBKeyRange::left): (WebKit::WebIDBKeyRange::right): (WebKit::WebIDBKeyRange::flags): * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::openCursor): * src/WebIDBObjectStoreImpl.h: 2010-08-05 Andrei Popescu Reviewed by Jeremy Orlow. [IndexedDB] IndexedDB is missing the Transaction interface. https://bugs.webkit.org/show_bug.cgi?id=42970 Add IDBTransaction boilerplate. * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::transaction): * src/IDBDatabaseProxy.h: 2010-08-05 Gavin Barraclough Rubber stamped by Sam Weinig Bug 43594 - Add string forwards to Forward.h This allows us to remove forward declarations for these classes from WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). * public/WebCString.h: * public/WebString.h: * src/DOMUtilitiesPrivate.h: * src/DebuggerAgentImpl.h: * src/DebuggerAgentManager.h: * src/WebDevToolsAgentImpl.h: * src/WebDevToolsFrontendImpl.h: * src/WebPageSerializerImpl.h: 2010-08-05 Brett Wilson Reviewed by Nate Chapin. Make the webkit unit tests depend on test_support_base https://bugs.webkit.org/show_bug.cgi?id=43584 * WebKit.gyp: 2010-08-04 Kenneth Russell Reviewed by Dimitri Glazkov. Style cleanups in WebGL https://bugs.webkit.org/show_bug.cgi?id=38761 Cleaned up all style violations in WebGL-related files reported by check-webkit-style. No logic or other changes. Built WebKit and Chromium and ran WebGL layout tests. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): * src/WebGraphicsContext3DDefaultImpl.cpp: * src/WebGraphicsContext3DDefaultImpl.h: 2010-08-05 Jian Li Reviewed by David Levin. Unify blob related feature defines to ENABLE(BLOB). https://bugs.webkit.org/show_bug.cgi?id=43081 * features.gypi: * src/WebHTTPBody.cpp: (WebKit::WebHTTPBody::elementAt): (WebKit::WebHTTPBody::appendFileRange): 2010-08-05 Nico Weber Reviewed by Jeremy Orlow. Remove useless const on return-by-value (fixes a clang warning) https://bugs.webkit.org/show_bug.cgi?id=43491 * src/WebInputEventConversion.cpp: (WebKit::toPlatformKeyboardEventType): 2010-08-05 Satish Sampath Reviewed by Jeremy Orlow. Add speech input controller mock in WebKit and a layout test. https://bugs.webkit.org/show_bug.cgi?id=43477 * WebKit.gyp: * public/WebSpeechInputControllerMock.h: Added WebKit speech input controller mock interface. * src/WebSpeechInputControllerMockImpl.cpp: Added implementation of the above mock. (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl): (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording): (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition): (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition): (WebKit::WebSpeechInputControllerMockImpl::stopRecording): (WebKit::WebSpeechInputControllerMock::create): 2010-08-05 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium DevTools: [REGRESSION] Frame navigation is not handled in devtools. https://bugs.webkit.org/show_bug.cgi?id=43556 * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgentImpl::detach): (WebKit::WebDevToolsAgentImpl::frontendLoaded): (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): 2010-08-05 John Gregg Reviewed by Darin Fisher. [chromium] WebFileChooserParams should have default constructor https://bugs.webkit.org/show_bug.cgi?id=43435 * public/WebFileChooserParams.h: (WebKit::WebFileChooserParams::WebFileChooserParams): 2010-08-05 Victoria Kirst Reviewed by David Levin. Added a repaint request so that VideoLayerChromium does not have a flickering problem when playing video. https://bugs.webkit.org/show_bug.cgi?id=43101 * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::repaint): 2010-08-05 Pavel Feldman Reviewed by Yury Semikhatsky. DevTools: get rid of delayed command dispatching on front-end side. https://bugs.webkit.org/show_bug.cgi?id=43479 * public/WebDevToolsFrontendClient.h: (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::attach): (WebKit::WebDevToolsAgentImpl::frontendLoaded): * src/WebDevToolsAgentImpl.h: * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): (WebKit::WebDevToolsFrontendImpl::frontendLoaded): * src/WebDevToolsFrontendImpl.h: * src/js/DevTools.js: (WebInspector.doLoadedDone): * src/js/Tests.js: (.uiTests.runTest): (.): 2010-08-02 Kenneth Russell Reviewed by Dimitri Glazkov. Port Chromium's accelerated compositing to Mac OS X https://bugs.webkit.org/show_bug.cgi?id=43398 * public/WebGLES2Context.h: - Added resizeOnscreenContent, needed on Mac OS X to report window size changes. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::resize): - Send resize notification to the WebGLES2Context. (WebKit::WebViewImpl::updateRootLayerContents): - Ported to Core Graphics. (WebKit::WebViewImpl::gles2Context): - Added initial size notification upon context creation. 2010-08-04 Pavel Feldman Reviewed by Yury Semikhatsky. DevTools: get rid of delayed command dispatching on front-end side. https://bugs.webkit.org/show_bug.cgi?id=43479 * public/WebDevToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::frontendLoaded): * src/WebDevToolsAgentImpl.h: 2010-08-03 James Robinson Reviewed by Darin Fisher. Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API https://bugs.webkit.org/show_bug.cgi?id=43221 Implements functions in term of Platform3DObjects instead of WebGL types. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): (WebCore::GraphicsContext3DInternal::beginPaint): (WebCore::GraphicsContext3DInternal::bindAttribLocation): (WebCore::GraphicsContext3DInternal::getActiveAttrib): (WebCore::GraphicsContext3DInternal::getActiveUniform): (WebCore::GraphicsContext3DInternal::getAttribLocation): (WebCore::GraphicsContext3DInternal::getProgramInfoLog): (WebCore::GraphicsContext3DInternal::getShaderInfoLog): (WebCore::GraphicsContext3DInternal::getShaderSource): (WebCore::GraphicsContext3DInternal::getUniformLocation): (WebCore::GraphicsContext3DInternal::shaderSource): 2010-08-03 Dimitri Glazkov Unreviewed, build fix. Roll chromium to 54723 to unbreak the builds. * DEPS: 2010-08-03 Andrei Popescu Reviewed by Jeremy Orlow. [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore https://bugs.webkit.org/show_bug.cgi?id=43420 * src/IDBCallbacksProxy.cpp: (WebCore::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::objectStore): * src/IDBDatabaseProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::create): * src/IDBObjectStoreProxy.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl): * src/WebIDBObjectStoreImpl.h: 2010-08-03 Yury Semikhatsky Unreviewed. Fix Chromium interactive UI tests. * src/js/Tests.js: (.TestSuite.prototype.testResourceHeaders): 2010-07-30 Andrei Popescu Reviewed by Jeremy Orlow. Rename IDBDatabaseRequest to IDBDatabase https://bugs.webkit.org/show_bug.cgi?id=43250 * src/IDBCallbacksProxy.cpp: (WebCore::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::create): * src/IDBDatabaseProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl): (WebKit::WebIDBDatabaseImpl::name): (WebKit::WebIDBDatabaseImpl::description): (WebKit::WebIDBDatabaseImpl::version): (WebKit::WebIDBDatabaseImpl::objectStores): (WebKit::WebIDBDatabaseImpl::createObjectStore): (WebKit::WebIDBDatabaseImpl::objectStore): (WebKit::WebIDBDatabaseImpl::removeObjectStore): * src/WebIDBDatabaseImpl.h: 2010-08-02 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium DevTools: Get rid of DevTools RPC. https://bugs.webkit.org/show_bug.cgi?id=43335 * WebKit.gyp: * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: (WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend): (WebKit::WebDevToolsAgentClient::sendDebuggerOutput): (WebKit::WebDevToolsAgentClient::sendDispatchToAPU): * public/WebDevToolsFrontend.h: * public/WebDevToolsFrontendClient.h: (WebKit::WebDevToolsFrontendClient::sendMessageToBackend): * public/WebDevToolsMessageData.h: Removed. * public/WebDevToolsMessageTransport.h: Removed. * src/APUAgentDelegate.h: Removed. * src/DebuggerAgent.h: Removed. * src/DebuggerAgentImpl.cpp: (WebKit::DebuggerAgentImpl::DebuggerAgentImpl): (WebKit::DebuggerAgentImpl::debuggerOutput): * src/DebuggerAgentImpl.h: * src/DebuggerAgentManager.cpp: (WebKit::DebuggerAgentManager::debugDetach): (WebKit::DebuggerAgentManager::onV8DebugMessage): (WebKit::DebuggerAgentManager::executeDebuggerCommand): (WebKit::DebuggerAgentManager::sendCommandToV8): (WebKit::DebuggerAgentManager::sendContinueCommandToV8): * src/DevToolsRPC.h: Removed. * src/DevToolsRPCJS.h: Removed. * src/InspectorClientImpl.cpp: * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::sendMessageToBackend): * src/ProfilerAgent.h: Removed. * src/ProfilerAgentImpl.cpp: Removed. * src/ProfilerAgentImpl.h: Removed. * src/ToolsAgent.h: Removed. * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): (WebKit::WebDevToolsAgentImpl::attach): (WebKit::WebDevToolsAgentImpl::didClearWindowObject): (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend): (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): * src/WebDevToolsAgentImpl.h: * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): (WebKit::WebDevToolsFrontendImpl::frontendLoaded): (WebKit::WebDevToolsFrontendImpl::executeScript): * src/WebDevToolsFrontendImpl.h: * src/js/DevTools.js: (devtools.dispatch): (devtools.ToolsAgent): * src/js/DevToolsHostStub.js: * src/js/ProfilerAgent.js: (devtools.ProfilerAgent): (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest): (devtools.ProfilerAgent.prototype._getNextLogLines): (devtools.ProfilerAgent.prototype._didGetProfilerLogLines): * src/js/ProfilerProcessor.js: (devtools.profiler.Processor.prototype.printError): 2010-08-02 Kent Tamura Reviewed by Dimitri Glazkov. [DRT/Chromium] Remove dependencies to some Chromium headers https://bugs.webkit.org/show_bug.cgi?id=43396 * DEPS: Update Chromium revision to 54649 in order to have a webkit_support change (r54646) 2010-07-27 Luiz Agostini Reviewed by Darin Fisher. PopupMenu refactoring in preparation to WebKit2 https://bugs.webkit.org/show_bug.cgi?id=42592 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu instances, concrete classes that inherit from ChromeClient needed to be changed to implement the new methods. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural): (WebKit::ChromeClientImpl::createPopupMenu): (WebKit::ChromeClientImpl::createSearchPopupMenu): * src/ChromeClientImpl.h: 2010-08-02 Kent Tamura Reviewed by Dimitri Glazkov. [DRT/Chromium] Always initialize GTK https://bugs.webkit.org/show_bug.cgi?id=43327 * WebKit.gyp: Add GTK dependency for DRT. 2010-08-02 Jeremy Orlow Speculative revert of 64425 due to Chromium instability https://bugs.webkit.org/show_bug.cgi?id=43347 * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: * tests/PopupMenuTest.cpp: (WebKit::SelectPopupMenuTest::SetUp): 2010-07-27 Luiz Agostini Reviewed by Darin Fisher. PopupMenu refactoring in preparation to WebKit2 https://bugs.webkit.org/show_bug.cgi?id=42592 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu instances, concrete classes that inherit from ChromeClient needed to be changed to implement the new methods. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural): (WebKit::ChromeClientImpl::createPopupMenu): (WebKit::ChromeClientImpl::createSearchPopupMenu): * src/ChromeClientImpl.h: 2010-07-31 Sheriff Bot Unreviewed, rolling out r64422. http://trac.webkit.org/changeset/64422 https://bugs.webkit.org/show_bug.cgi?id=43304 Build fixes are needed for Snow Leopard and Windows. (Requested by lca on #webkit). * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: 2010-07-27 Luiz Agostini Reviewed by Darin Fisher. PopupMenu refactoring in preparation to WebKit2 https://bugs.webkit.org/show_bug.cgi?id=42592 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu instances, concrete classes that inherit from ChromeClient needed to be changed to implement the new methods. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural): (WebKit::ChromeClientImpl::createPopupMenu): (WebKit::ChromeClientImpl::createSearchPopupMenu): * src/ChromeClientImpl.h: 2010-07-30 Joseph Pecoraro Reviewed by David Kilzer. Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas) https://bugs.webkit.org/show_bug.cgi?id=40627 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota): * src/ChromeClientImpl.h: 2010-07-30 James Robinson Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of USE(ACCELERATED_COMPOSITING) to match WebCore. Fixes the compile when USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false. * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: 2010-07-27 Darin Fisher Reviewed by Brady Eidson. History.pushState() + navigation operates on top frame when called from nested context https://bugs.webkit.org/show_bug.cgi?id=43080 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource can be null if the Frame has already been detached from the Page. This happens if a popstate event handler removes the frame. 2010-07-29 Jeremy Orlow Reviewed by Steve Block. Rename all the IDBIndex classses to match the latest conventions https://bugs.webkit.org/show_bug.cgi?id=43190 Fix up stuff in WebKit layer to handle the renamings in WebCore. * WebKit.gyp: * src/IDBCallbacksProxy.cpp: (WebCore::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBIndexBackendProxy.cpp: Added. (WebCore::IDBIndexBackendProxy::create): (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy): (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy): (WebCore::IDBIndexBackendProxy::name): (WebCore::IDBIndexBackendProxy::keyPath): (WebCore::IDBIndexBackendProxy::unique): * src/IDBIndexBackendProxy.h: Added. * src/IDBIndexProxy.cpp: Removed. * src/IDBIndexProxy.h: Removed. * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::index): * src/IDBObjectStoreProxy.h: * src/WebIDBCallbacksImpl.cpp: (WebCore::WebIDBCallbacksImpl::onSuccess): * src/WebIDBIndexImpl.cpp: (WebKit::WebIDBIndexImpl::WebIDBIndexImpl): (WebKit::WebIDBIndexImpl::name): (WebKit::WebIDBIndexImpl::keyPath): (WebKit::WebIDBIndexImpl::unique): * src/WebIDBIndexImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::index): 2010-07-30 Satish Sampath Reviewed by Jeremy Orlow. Add a check for WebViewClient being null. https://bugs.webkit.org/show_bug.cgi?id=43240 * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::SpeechInputClientImpl): 2010-07-30 Hans Wennborg Reviewed by Steve Block. Disable runtime switch for device orientation in chromium https://bugs.webkit.org/show_bug.cgi?id=43237 Explicitly set the runtime switch for device orientation in WebView::create until we implement the feature. If the flag is accidentally on while no DeviceOrientationClient is provided, the program will crash. * src/WebViewImpl.cpp: (WebKit::WebView::create): 2010-07-26 Andrei Popescu Reviewed by Jeremy Orlow. [IndexedDB] IndexedDatabase should be called IDBFactory. https://bugs.webkit.org/show_bug.cgi?id=42967 * WebKit.gyp: * public/WebIDBFactory.h: Added. (WebKit::WebIDBFactory::~WebIDBFactory): (WebKit::WebIDBFactory::databases): (WebKit::WebIDBFactory::open): * public/WebIndexedDatabase.h: Removed. * public/WebKitClient.h: (WebKit::WebKitClient::idbFactory): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::idbFactory): * src/IDBFactoryBackendProxy.cpp: Added. (WebCore::IDBFactoryBackendProxy::create): (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy): (WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy): (WebCore::IDBFactoryBackendProxy::open): * src/IDBFactoryBackendProxy.h: Added. * src/IndexedDatabaseProxy.cpp: Removed. * src/IndexedDatabaseProxy.h: Removed. * src/WebIDBFactoryImpl.cpp: Added. (WebKit::WebIDBFactory::create): (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl): (WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl): (WebKit::WebIDBFactoryImpl::open): * src/WebIDBFactoryImpl.h: Added. * src/WebIndexedDatabaseImpl.cpp: Removed. * src/WebIndexedDatabaseImpl.h: Removed. 2010-07-29 Andrei Popescu Reviewed by Jeremy Orlow. [IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build https://bugs.webkit.org/show_bug.cgi?id=43186 Add WEBKIT_API to WebDOMStringList default ctor. * public/WebDOMStringList.h: 2010-07-29 Satish Sampath Reviewed by Steve Block. Runtime feature switch for speech input https://bugs.webkit.org/show_bug.cgi?id=43146 Add a runtime feature switch that decides whether speech input attributes are available or not. Defaults to true. * public/WebRuntimeFeatures.h: * src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::SpeechInputClientImpl): * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableSpeechInput): (WebKit::WebRuntimeFeatures::isSpeechInputEnabled): 2010-07-28 Kavita Kanetkar Reviewed by Pavel Feldman. Web Inspector: Enable UI for chromium's appcache inspection. https://bugs.webkit.org/show_bug.cgi?id=43098 * src/js/DevTools.js: (WebInspector.loaded): 2010-07-28 Dominic Mazzoni Reviewed by Dimitri Glazkov. Add access to the computed style display to WebAccessibilityObject. https://bugs.webkit.org/show_bug.cgi?id=43044 * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::hasComputedStyle): (WebKit::WebAccessibilityObject::computedStyleDisplay): 2010-07-28 Hans Wennborg Reviewed by Jeremy Orlow. Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium https://bugs.webkit.org/show_bug.cgi?id=43122 Enable the compile-time switch for device orientation. The switch was already enabled in features_override.gypi in the Chromium repository (in revision 53317), and should be set here as well. The feature is being implemented behind a run-time flag which defaults to off in Chromium. * features.gypi: Set ENABLE_DEVICE_ORIENTATION=1. 2010-07-28 Gene Gutnik Reviewed by Darin Fisher. Fix mouse coordinate conversion. WindowX,Y is an absolute mouse coordinates within browser window, x,y - are coordinates relative to the plugin. https://bugs.webkit.org/show_bug.cgi?id=42987 * src/WebInputEventConversion.cpp: (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder): * src/WebInputEventConversion.h: * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleMouseEvent): (WebKit::WebPluginContainerImpl::handleWheelEvent): 2010-07-28 James Robinson Reviewed by Darin Fisher. [chromium] Add a bool to Settings to control accelerated 2d canvas https://bugs.webkit.org/show_bug.cgi?id=43094 * public/WebSettings.h: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled): * src/WebSettingsImpl.h: 2010-07-28 Brett Wilson Reviewed by Darin Fisher. Fix forward declares to be struct instead of class. https://bugs.webkit.org/show_bug.cgi?id=43127 * public/WebFont.h: 2010-07-28 Pavel Feldman Reviewed by Dimitri Glazkov. Chromium DevTools: [REGRESSION] sourceURL is not respected. https://bugs.webkit.org/show_bug.cgi?id=43124 * src/js/DebuggerScript.js: 2010-07-28 Andrei Popescu Reviewed by Jeremy Orlow. [IndexedDB] WebDOMStringList default ctor does not initialize its m_private member variable so any attempt to append strings to a WebDOMStringList instance results in a crash. https://bugs.webkit.org/show_bug.cgi?id=43120 Makes the default WebKit::WebDOMStringList ctor actually create its wrapped WebCore::DOMStringList instance. * public/WebDOMStringList.h: * src/WebDOMStringList.cpp: (WebKit::WebDOMStringList::WebDOMStringList): 2010-07-26 Steve Block Reviewed by Jeremy Orlow. Page clients should be passed to Page constructor via structure of pointers https://bugs.webkit.org/show_bug.cgi?id=42834 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): 2010-07-28 Pavel Feldman Not reviewed: chromium tests fix. Chromium Dev Tools: [REGRESSION] Pause is not working. https://bugs.webkit.org/show_bug.cgi?id=43118 * src/js/DevTools.js: (InspectorBackend.pause): 2010-07-27 Kinuko Yasuda Reviewed by Ojan Vafai. Add FILE_SYSTEM build flag for FileSystem API https://bugs.webkit.org/show_bug.cgi?id=42915 * features.gypi: 2010-07-27 James Hawkins Unreviewed Build Fix. Add a missing itemIcon() method to TestPopupMenuClient. * tests/PopupMenuTest.cpp: (WebKit::TestPopupMenuClient::itemIcon): 2010-07-27 James Hawkins Reviewed by Darin Fisher. [Chromium] Add the ability to show right-aligned icons in the AutoFill popup. https://bugs.webkit.org/show_bug.cgi?id=43076 * public/WebView.h: * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::getIcon): (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): (WebKit::AutoFillPopupMenuClient::itemIcon): (WebKit::AutoFillPopupMenuClient::initialize): (WebKit::AutoFillPopupMenuClient::setSuggestions): * src/AutoFillPopupMenuClient.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::applyAutoFillSuggestions): (WebKit::WebViewImpl::applyAutocompleteSuggestions): * src/WebViewImpl.h: 2010-07-27 Brett Wilson Reviewed by Darin Fisher. Add the ability to select fonts and do basic text drawing to the Chromium WebKit API. https://bugs.webkit.org/show_bug.cgi?id=42999 * WebKit.gyp: * public/WebFloatPoint.h: Added. (WebKit::WebFloatPoint::WebFloatPoint): (WebKit::WebFloatPoint::operator=): (WebKit::WebFloatPoint::operator WebCore::FloatPoint): (WebKit::operator==): (WebKit::operator!=): * public/WebFloatRect.h: Added. (WebKit::WebFloatRect::isEmpty): (WebKit::WebFloatRect::WebFloatRect): (WebKit::WebFloatRect::operator=): (WebKit::WebFloatRect::operator WebCore::FloatRect): (WebKit::operator==): (WebKit::operator!=): * public/WebFont.h: Added. * public/WebFontDescription.h: Added. (WebKit::WebFontDescription::): (WebKit::WebFontDescription::WebFontDescription): * public/WebTextRun.h: Added. (WebKit::WebTextRun::WebTextRun): * src/AssertMatchingEnums.cpp: * src/WebFontDescription.cpp: Added. (WebKit::WebFontDescription::WebFontDescription): (WebKit::WebFontDescription::operator WebCore::FontDescription): * src/WebFontImpl.cpp: Added. (WebKit::WebFont::Create): (WebKit::WebFontImpl::WebFontImpl): (WebKit::WebFontImpl::fontDescription): (WebKit::WebFontImpl::ascent): (WebKit::WebFontImpl::descent): (WebKit::WebFontImpl::height): (WebKit::WebFontImpl::lineSpacing): (WebKit::WebFontImpl::xHeight): (WebKit::WebFontImpl::drawText): (WebKit::WebFontImpl::width): (WebKit::WebFontImpl::offsetForPosition): (WebKit::WebFontImpl::selectionRectForText): * src/WebFontImpl.h: Added. * src/WebTextRun.cpp: Added. (WebKit::WebTextRun::operator WebCore::TextRun): 2010-07-27 Dumitru Daniliuc Reviewed by David Levin. Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE). https://bugs.webkit.org/show_bug.cgi?id=43035 Make Chromium compile with ENABLE_DATABASE=0. * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::databaseGetFileSize): * src/DatabaseObserver.cpp: * src/WebDatabase.cpp: (WebCore::AbstractDatabase::stringIdentifier): (WebCore::AbstractDatabase::displayName): (WebCore::AbstractDatabase::estimatedSize): (WebCore::AbstractDatabase::securityOrigin): (WebKit::WebDatabase::updateDatabaseSize): (WebKit::WebDatabase::closeDatabaseImmediately): 2010-07-27 Pavel Podivilov Reviewed by Pavel Feldman. Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled. https://bugs.webkit.org/show_bug.cgi?id=41461 * src/js/DebuggerScript.js: (): 2010-07-27 Ilya Tikhonovsky Reviewed by Pavel Feldman. WebInspector: Current implementation of message based inspector transport generated by CodeGeneratorInspector should be upstreamed from WebKit/chromium to WebCore. https://bugs.webkit.org/show_bug.cgi?id=42983 * WebKit.gypi: * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::sendMessageToBackend): * src/InspectorFrontendClientImpl.h: * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController): (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): * src/WebDevToolsAgentImpl.h: * src/js/InspectorControllerImpl.js: Removed. 2010-07-27 Dominic Mazzoni Reviewed by Chris Fleizach. Add accessors for node and document to WebAccessibilityObject, needed to support some Windows screenreader functionality. https://bugs.webkit.org/show_bug.cgi?id=43001 * public/WebAccessibilityObject.h: * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::node): (WebKit::WebAccessibilityObject::document): 2010-07-27 Dominic Mazzoni Reviewed by Chris Fleizach. For Windows accessibility, have WebElement provide access to its attributes. https://bugs.webkit.org/show_bug.cgi?id=43004 * WebKit.gyp: * public/WebAttribute.h: Added. (WebKit::WebAttribute::~WebAttribute): (WebKit::WebAttribute::WebAttribute): (WebKit::WebAttribute::operator=): * public/WebElement.h: * public/WebNamedNodeMap.h: Added. (WebKit::WebNamedNodeMap::~WebNamedNodeMap): (WebKit::WebNamedNodeMap::WebNamedNodeMap): (WebKit::WebNamedNodeMap::operator=): * src/WebAttribute.cpp: Added. (WebKit::WebAttribute::reset): (WebKit::WebAttribute::assign): (WebKit::WebAttribute::WebAttribute): (WebKit::WebAttribute::localName): (WebKit::WebAttribute::value): * src/WebElement.cpp: (WebKit::WebElement::attributes): * src/WebNamedNodeMap.cpp: Added. (WebKit::WebNamedNodeMap::reset): (WebKit::WebNamedNodeMap::assign): (WebKit::WebNamedNodeMap::WebNamedNodeMap): (WebKit::WebNamedNodeMap::length): (WebKit::WebNamedNodeMap::attributeItem): 2010-07-27 Satish Sampath Reviewed by Kent Tamura. Simplify speech input plumbing in webcore and webkit https://bugs.webkit.org/show_bug.cgi?id=43008 * src/SpeechInputClientImpl.cpp: Move functionality to WebCore::SpeechInput and make this a dummy proxy. (WebKit::SpeechInputClientImpl::startRecognition): (WebKit::SpeechInputClientImpl::cancelRecognition): (WebKit::SpeechInputClientImpl::didCompleteRecording): (WebKit::SpeechInputClientImpl::didCompleteRecognition): (WebKit::SpeechInputClientImpl::setRecognitionResult): * src/SpeechInputClientImpl.h: 2010-07-26 Dominic Mazzoni Reviewed by Chris Fleizach. Add accessor to get the doctype of a WebDocument, needed to implement Windows accessibility. https://bugs.webkit.org/show_bug.cgi?id=43003 * WebKit.gyp: * public/WebDocument.h: * public/WebDocumentType.h: Added. (WebKit::WebDocumentType::WebDocumentType): (WebKit::WebDocumentType::operator=): (WebKit::WebDocumentType::assign): * src/WebDocument.cpp: (WebKit::WebDocument::doctype): * src/WebDocumentType.cpp: Added. (WebKit::WebDocumentType::name): (WebKit::WebDocumentType::WebDocumentType): (WebKit::WebDocumentType::operator=): (WebKit::WebDocumentType::operator PassRefPtr): 2010-07-26 Satish Sampath Reviewed by Steve Block. Add WebKit plumbing to connect speech requests and callbacks between WebCore and the embedder. https://bugs.webkit.org/show_bug.cgi?id=42367 No new tests, the relevant LayoutTestController bindings and tests will be added in the next patch. * public/WebSpeechInputController.h: Added new interface, implemented by embedder and called by WebKit (WebKit::WebSpeechInputController::~WebSpeechInputController): * public/WebSpeechInputListener.h: Added new interface, implemented by WebKit and called by embedder. (WebKit::WebSpeechInputListener::~WebSpeechInputListener): * public/WebViewClient.h: (WebKit::WebViewClient::createSpeechInputClient): New method to get the embedder's speech input client interface. * src/SpeechInputClientImpl.cpp: Added new class, implementation of a two way connector between WebCore and the embedder for requests and responses. (WebKit::SpeechInputClientImpl::SpeechInputClientImpl): (WebKit::SpeechInputClientImpl::~SpeechInputClientImpl): (WebKit::SpeechInputClientImpl::startRecognition): (WebKit::SpeechInputClientImpl::stopRecording): (WebKit::SpeechInputClientImpl::didCompleteRecording): (WebKit::SpeechInputClientImpl::setRecognitionResult): (WebKit::SpeechInputClientImpl::didCompleteRecognition): * src/SpeechInputClientImpl.h: Added. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): Pass on the above mentioned speech input connector to WebCore. * src/WebViewImpl.h: 2010-07-26 Ilya Tikhonovsky Reviewed by Pavel Feldman. Chromium DevTools: refactor query params, add basic support for WebSocket-based backend. https://bugs.webkit.org/show_bug.cgi?id=42893 * src/js/DevTools.js: (devtools.ToolsAgent.prototype.dispatchOnClient_): (WebInspector.loaded): (WebInspector.doLoadedDone): (devtools.domContentLoaded): * src/js/InspectorControllerImpl.js: 2010-07-24 Pavel Feldman Not reviewed: chromium build fix. * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::fillResourceList): 2010-07-23 Kavita Kanetkar Reviewed by Joseph Pecoraro. Implement remaining Inspector support for chrome's appcache https://bugs.webkit.org/show_bug.cgi?id=42426 * src/ApplicationCacheHost.cpp: Plugging in chrome's appcache info. (WebCore::ApplicationCacheHost::applicationCacheInfo): (WebCore::ApplicationCacheHost::fillResourceList): * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-07-23 Pavel Feldman Reviewed by Reviewed by Yury Semikhatsky. Chromium DevTools: migrate from utility context-based injected script dispatch to upstream schema. https://bugs.webkit.org/show_bug.cgi?id=42883 * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: * src/WebDevToolsAgentImpl.h: * src/js/DevToolsHostStub.js: * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-07-23 Pavel Feldman Not reviewed: rolling out r63963. * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript): * src/WebDevToolsAgentImpl.h: * src/js/DevToolsHostStub.js: (.window.dispatchOnInjectedScript): * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript): 2010-07-23 Pavel Feldman Reviewed by Reviewed by Yury Semikhatsky. Chromium DevTools: migrate from utility context-based injected script dispatch to upstream schema. https://bugs.webkit.org/show_bug.cgi?id=42883 * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: * src/WebDevToolsAgentImpl.h: * src/js/DevToolsHostStub.js: * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-07-23 Kent Tamura Reviewed by Shinichiro Hamaji. Roll Chromium revision https://bugs.webkit.org/show_bug.cgi?id=42876 * DEPS: Roll Chromium revision to r53434 in order to have the logger initialization change (r53303) 2010-07-22 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. WebInspector: CodeGeneratorInspector was extended and now it can generate InspectorBackedDispatcher's code. This dispatcher will validate and dispatch incoming inspector commands only by native code without using javaScript. That is necessary step for RemoteDebugging support. https://bugs.webkit.org/show_bug.cgi?id=42588 * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController): * src/WebDevToolsAgentImpl.h: * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl.prototype.callInspectorController_): 2010-07-22 Darin Fisher Reviewed by David Levin. [Chromium] Propagate return value of EventHandler::handleMouseWheelEvent to caller of WebViewImpl::handleInputEvent. https://bugs.webkit.org/show_bug.cgi?id=42835 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::mouseWheel): (WebKit::WebViewImpl::handleInputEvent): * src/WebViewImpl.h: 2010-07-22 Darin Fisher Reviewed by Kent Tamura. https://bugs.webkit.org/show_bug.cgi?id=42808 Pass context menu events through WebInputEvent to WebPlugin::handleInputEvent. The DOM treats a context menu event as a type of mouse event. We therefore do the same here, and reuse the WebMouseEvent subclass. This makes sense since a context menu event has (x,y)-coordinates. * public/WebInputEvent.h: (WebKit::WebInputEvent::): (WebKit::WebInputEvent::isMouseEventType): * src/WebInputEventConversion.cpp: (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 2010-07-22 Andrey Kosyakov Reviewed by Yury Semikhatsky. Web Inspector: Stop granting universal access to inspector front-end page. https://bugs.webkit.org/show_bug.cgi?id=42817 * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::frontendLoaded): 2010-07-22 Alexander Pavlov Reviewed by Pavel Feldman. Web Inspector: Rename method for CSS rule source range retrieval and fix return object format https://bugs.webkit.org/show_bug.cgi?id=42379 * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-07-21 Pavel Feldman Reviewed by Yury Semikhatsky. Chromium Dev Tools: Separators are missing in the context menu. https://bugs.webkit.org/show_bug.cgi?id=42761 * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::populateCustomMenuItems): 2010-07-21 Kent Tamura Reviewed by Dimitri Glazkov. [DRT/Chromium] Copy the test plugin into DumpRenderTree.app/ https://bugs.webkit.org/show_bug.cgi?id=42733 This was dropped in plugin copy refactoring. * WebKit.gyp: 2010-07-21 Brady Eidson Reviewed by Geoffrey Garen. Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry https://bugs.webkit.org/show_bug.cgi?id=42783 * src/WebSecurityPolicy.cpp: (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal): (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess): (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure): 2010-07-21 Bo Liu Reviewed by Darin Fisher. [Chromium] Add chromium WebMediaPlayer to PlatformMedia https://bugs.webkit.org/show_bug.cgi?id=41295 * WebKit.gyp: * public/WebMediaElement.h: Added. * src/WebMediaElement.cpp: Added. (WebKit::WebMediaElement::player): (WebKit::WebMediaElement::WebMediaElement): (WebKit::WebMediaElement::operator=): (WebKit::WebMediaElement::operator PassRefPtr): * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::fromMediaElement): (WebKit::WebMediaPlayerClientImpl::mediaPlayer): (WebKit::WebMediaPlayerClientImpl::platformLayer): (WebKit::WebMediaPlayerClientImpl::platformMedia): * src/WebMediaPlayerClientImpl.h: 2010-07-21 Finnur Thorarinsson Reviewed by Dimitri Glazkov. Avoid crashing during find-in-page when |view| is NULL. https://bugs.webkit.org/show_bug.cgi?id=42760 There are no layout tests because we don't have a repro case to work with, so this is a speculative fix based on crash dump diagnosis. See bug for details. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::shouldScopeMatches): 2010-07-21 Hans Wennborg Reviewed by Steve Block. Runtime feature switch for device orientation https://bugs.webkit.org/show_bug.cgi?id=42265 Add a runtime feature switch that decides whether device orientation events are available or not. Defaults to true. * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDeviceOrientation): (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled): 2010-07-21 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: should be possible to debug inspector https://bugs.webkit.org/show_bug.cgi?id=42730 * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 2010-07-16 James Hawkins Reviewed by Darin Fisher. [Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to verify that the user submitted the form instead of JS when saving form data in AutoFill. https://bugs.webkit.org/show_bug.cgi?id=42479 * public/WebFormElement.h: * src/WebFormElement.cpp: (WebKit::WebFormElement::wasUserSubmitted): 2010-07-20 Daniel Erat Reviewed by Ojan Vafai. Subpixel rendering always disabled for Chromium Linux https://bugs.webkit.org/show_bug.cgi?id=42220 Honor Fontconfig subpixel rendering setting on Chromium Linux. * src/gtk/WebFontInfo.cpp: (WebKit::WebFontInfo::renderStyleForStrike): 2010-07-20 Darin Fisher Fix Chromium build bustage. * src/ResourceHandle.cpp: (WebCore::ResourceHandle::hasAuthenticationChallenge): Add implementation of this method that always returns false. 2010-07-20 Darin Fisher Reviewed by Jian Li. [Chromium] Add interface for downloading to a file. This can be used in the future to support XMLHttpRequest.responseBlob, but it also serves a use case in Chromium. https://bugs.webkit.org/show_bug.cgi?id=42657 * public/WebURLLoaderClient.h: (WebKit::WebURLLoaderClient::willSendRequest): (WebKit::WebURLLoaderClient::didSendData): (WebKit::WebURLLoaderClient::didReceiveResponse): (WebKit::WebURLLoaderClient::didDownloadData): (WebKit::WebURLLoaderClient::didReceiveData): (WebKit::WebURLLoaderClient::didFinishLoading): (WebKit::WebURLLoaderClient::didFail): * public/WebURLRequest.h: * public/WebURLResponse.h: * src/WebURLRequest.cpp: (WebKit::WebURLRequest::downloadToFile): (WebKit::WebURLRequest::setDownloadToFile): * src/WebURLRequestPrivate.h: (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): * src/WebURLResponse.cpp: (WebKit::WebURLResponse::downloadFilePath): (WebKit::WebURLResponse::setDownloadFilePath): * src/WebURLResponsePrivate.h: 2010-07-20 Sheriff Bot Unreviewed, rolling out r63750. http://trac.webkit.org/changeset/63750 https://bugs.webkit.org/show_bug.cgi?id=42648 This revision breaks the windows builds (Requested by hwennborg on #webkit). * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: 2010-07-19 Victor Wang Reviewed by Darin Fisher. [Chromium] Add webkit api reset to WebIDBDatabaseError and WebIDBKey and refactor their destructors for chromium multi dll build. https://bugs.webkit.org/show_bug.cgi?id=42574 * public/WebIDBDatabaseError.h: (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError): * public/WebIDBKey.h: (WebKit::WebIDBKey::~WebIDBKey): * src/WebIDBDatabaseError.cpp: (WebKit::WebIDBDatabaseError::reset): * src/WebIDBKey.cpp: (WebKit::WebIDBKey::reset): 2010-07-20 Hans Wennborg Reviewed by Steve Block. Runtime feature switch for device orientation https://bugs.webkit.org/show_bug.cgi?id=42265 Add a runtime feature switch that decides whether device orientation events are available or not. Defaults to true. * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDeviceOrientation): (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled): 2010-07-19 Victoria Kirst Reviewed by David Levin. Updated WebMediaPlayer to support accelerated rendering and to create and return a VideoChromiumLayer as its platform layer. https://bugs.webkit.org/show_bug.cgi?id=42234 * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::platformLayer): (WebKit::WebMediaPlayerClientImpl::create): * src/WebMediaPlayerClientImpl.h: (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering): 2010-07-19 Kenneth Russell Reviewed by Nate Chapin. WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage https://bugs.webkit.org/show_bug.cgi?id=34719 Fixed compiler warning introduced by original patch. * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 2010-07-19 Tony Chang Reviewed by Kent Tamura. [chromium] refactor npapi plugin copy step https://bugs.webkit.org/show_bug.cgi?id=42493 This is to avoid duplicate copy rules in the Linux make build. * WebKit.gyp: * DEPS: 52483:52869 2010-07-19 Ilya Tikhonovsky Reviewed by Pavel Feldman. Web Inspector: Live edit is not working in chromium. https://bugs.webkit.org/show_bug.cgi?id=42572 * src/js/DebuggerScript.js: 2010-07-16 Pavel Podivilov Reviewed by Pavel Feldman. [V8] Web Inspector: get actual breakpoint location from v8 and pass it to ScripDebugServer. https://bugs.webkit.org/show_bug.cgi?id=42452 * src/js/DebuggerScript.js: 2010-07-17 John Gregg Reviewed by Kent Tamura. [chromium] directory upload: pass the attribute up to the chrome client https://bugs.webkit.org/show_bug.cgi?id=42475 This allows chromium to display the native system directory picker when the directory attribute is present on the input element. * public/WebFileChooserParams.h: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::runOpenPanel): 2010-07-16 Zhe Su Reviewed by Darin Adler. REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms https://bugs.webkit.org/show_bug.cgi?id=42253 Implement EditorClient::willSetInputMethodState which replaces setInputMethodState method. * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::willSetInputMethodState): (WebKit::EditorClientImpl::setInputMethodState): * src/EditorClientImpl.h: 2010-07-16 Kent Tamura Reviewed by Darin Fisher. [Chromium] UI implementation for Windows https://bugs.webkit.org/show_bug.cgi?id=42259 * public/WebThemeEngine.h: (WebKit::WebThemeEngine::paintSpinButton): Added. * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::paintSpinButton): Added. It calls WebThemeEngine::paintSpinButton(). 2010-07-16 James Robinson Reviewed by Darin Fisher. [chromium] Avoid crashing if offscreen GLES2 context creation fails https://bugs.webkit.org/show_bug.cgi?id=42469 If creating or initializing an offscreen GLES2Context fails we should return null rather than crashing or returning an invalid context. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::getOffscreenGLES2Context): 2010-07-15 Tony Gentilcore Reviewed by Darin Fisher. Enable window.webkitPerformance (Web Timing) for chromium https://bugs.webkit.org/show_bug.cgi?id=42313 * features.gypi: 2010-07-16 Sheriff Bot Unreviewed, rolling out r63551. http://trac.webkit.org/changeset/63551 https://bugs.webkit.org/show_bug.cgi?id=42460 "Problems with gyp" (Requested by yurys on #webkit). * DEPS: 2010-07-16 Yury Semikhatsky Unreviewed. Bump up Chromium revision. * DEPS: 2010-07-16 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: disable AppCache in chromium. https://bugs.webkit.org/show_bug.cgi?id=41858 * src/js/DevTools.js: (WebInspector.loaded): 2010-07-16 Alexander Pavlov Reviewed by Yury Semikhatsky. Web Inspector: [Chromium] A non-existent resource is referenced from devTools.css The erroneous rule has been removed. https://bugs.webkit.org/show_bug.cgi?id=42454 * src/js/devTools.css: 2010-07-16 Andrey Kosyakov Reviewed by Pavel Feldman. Check that end node of a range has a valid renderer in WebViewImpl::caretOrSelectionBounds() to avoid crash in Position::getInlineBoxAndOffset() when start node has renderer but end one doesn't. https://bugs.webkit.org/show_bug.cgi?id=42449 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::caretOrSelectionBounds): 2010-07-16 Mikhail Naganov Reviewed by Pavel Feldman. Make JS memory stats available via 'Performance' object (Web Timing). This statistics is populated only if 'WebKitMemoryInfoEnabled' preference is set. 'console.memory' is kept until Web Timing object becomes visible by default (currently it is hidden under compile-time flag). These stats are guarded with the same preference. https://bugs.webkit.org/show_bug.cgi?id=41617 * public/WebSettings.h: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setMemoryInfoEnabled): * src/WebSettingsImpl.h: 2010-07-15 Victor Wang Reviewed by David Levin. [Chromium] Chromium webkit dll updates: -. Fix WEBKIT_IMPLEMENTATION in WebCommon so dllimport works as expected. -. Update webkit.gyp so targets that depend on webkit has correct macros defined. https://bugs.webkit.org/show_bug.cgi?id=42177 * WebKit.gyp: * public/WebCommon.h: 2010-07-13 Zhenyao Mo Reviewed by Nate Chapin. WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage https://bugs.webkit.org/show_bug.cgi?id=34719 * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): Implement paintRenderingResultsToCanvas(). (WebCore::GraphicsContext3DInternal::beginPaint): Just use paintRenderingResultsToCanvas(). 2010-07-15 Victor Wang Reviewed by David Levin. Roll Chromium DEPS forward to r52483. https://bugs.webkit.org/show_bug.cgi?id=42386 * DEPS: 2010-07-15 Scott Violet Reviewed by David Levin. [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name https://bugs.webkit.org/show_bug.cgi?id=42385 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name. 2010-07-15 Sheriff Bot Unreviewed, rolling out r63446. http://trac.webkit.org/changeset/63446 https://bugs.webkit.org/show_bug.cgi?id=42412 It broke the Chromium Windows bot due to missing dependencies there. (Requested by dave_levin on #webkit). * DEPS: 2010-07-15 Victor Wang Reviewed by David Levin. Roll Chromium DEPS forward to r52483. https://bugs.webkit.org/show_bug.cgi?id=42386 * DEPS: 2010-07-15 Michael Nordman Reviewed by Darin Fisher. WebKitAPI additions to support inspecting application caches. https://bugs.webkit.org/show_bug.cgi?id=41993 * public/WebApplicationCacheHost.h: (WebKit::WebApplicationCacheHost::CacheInfo::CacheInfo): (WebKit::WebApplicationCacheHost::ResourceInfo::ResourceInfo): (WebKit::WebApplicationCacheHost::getAssociatedCacheInfo): (WebKit::WebApplicationCacheHost::getResourceList): (WebKit::WebApplicationCacheHost::deleteAssociatedCacheGroup): * public/WebApplicationCacheHostClient.h: (WebKit::WebApplicationCacheHostClient::didChangeCacheAssociation): * src/ApplicationCacheHostInternal.h: (WebCore::ApplicationCacheHostInternal::didChangeCacheAssociation): 2010-07-15 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: differentiate between blocking and connecting timers. https://bugs.webkit.org/show_bug.cgi?id=42372 * public/WebURLResponse.h: * src/WebURLResponse.cpp: (WebKit::WebURLResponse::connectionReused): (WebKit::WebURLResponse::setConnectionReused): 2010-07-15 Pavel Podivilov Reviewed by Yury Semikhatsky. Fix mac compilation failure https://bugs.webkit.org/show_bug.cgi?id=42344 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): 2010-07-14 George Yakovlev Reviewed by Darin Fisher. Allow Chromium access to Select control choices https://bugs.webkit.org/show_bug.cgi?id=41384 * WebKit.gyp: * public/WebOptionElement.h: Added. (WebKit::WebOptionElement::WebOptionElement): (WebKit::WebOptionElement::operator=): (WebKit::WebOptionElement::assign): * public/WebSelectElement.h: * src/WebOptionElement.cpp: Added. (WebKit::WebOptionElement::setValue): (WebKit::WebOptionElement::value): (WebKit::WebOptionElement::index): (WebKit::WebOptionElement::text): (WebKit::WebOptionElement::defaultSelected): (WebKit::WebOptionElement::setDefaultSelected): (WebKit::WebOptionElement::label): (WebKit::WebOptionElement::disabled): (WebKit::WebOptionElement::WebOptionElement): (WebKit::WebOptionElement::operator=): (WebKit::WebOptionElement::operator PassRefPtr): * src/WebSelectElement.cpp: (WebKit::WebSelectElement::listItems): 2010-07-14 Sheriff Bot Unreviewed, rolling out r63389. http://trac.webkit.org/changeset/63389 https://bugs.webkit.org/show_bug.cgi?id=42311 It broke the Chromium Linux build. (Requested by dave_levin on #webkit). * DEPS: * WebKit.gyp: * public/WebCommon.h: 2010-07-14 Scott Violet Reviewed by David Levin. [chromium] Autofill menu shows seperator at the wrong place when an entry is deleted https://bugs.webkit.org/show_bug.cgi?id=42210 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): Updates internal data appropriately. (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Now called before removal to see if can remove. * src/AutoFillPopupMenuClient.h: Fixed whitespace and added method. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Added call to canRemoveSuggestionAtIndex. 2010-07-14 James Robinson Unreviewed. Compile fix, initialization/declaration order mismatch. * src/GLES2ContextInternal.h: 2010-07-14 Jay Civelli Reviewed by David Levin. [chromium] don't restrict the width of the autofill popup. https://bugs.webkit.org/show_bug.cgi?id=42206 * src/WebViewImpl.cpp: 2010-07-14 Victor Wang Reviewed by Darin Fisher. [Chromium] Chromium webkit dll updates: -. Fix WEBKIT_IMPLEMENTATION in WebCommon so dllimport works as expected. -. Update webkit.gyp so targets that depend on webkit has correct macros defined. -. Roll forward chromium deps to r52273. https://bugs.webkit.org/show_bug.cgi?id=42177 * DEPS: * WebKit.gyp: * public/WebCommon.h: 2010-07-14 James Hawkins UNREVIEWED Build Fix. Fix a typo. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::applyAutoFillSuggestions): 2010-07-14 James Robinson Reviewed by Darin Fisher. Breaks all dependencies on Page from platform/ and cleans up GLES2Context lifetime https://bugs.webkit.org/show_bug.cgi?id=42203 Rather than constructing a GLES2Context from a Page, pass the LayerRendererChromium a GLES2Context in from the constructor. This way the platform/ directory can remain ignorant of Page and friends. Also adds functions on ChromeClientChromium to request onscreen and offscreen GLES2Contexts for callers in WebCore that need them. * WebKit.gyp: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::getOnscreenGLES2Context): (WebKit::ChromeClientImpl::getOffscreenGLES2Context): * src/ChromeClientImpl.h: * src/GLES2Context.cpp: (WebCore::GLES2ContextInternal::create): (WebCore::GLES2Context::create): (WebCore::GLES2Context::GLES2Context): * src/GLES2ContextInternal.cpp: Added. (WebCore::GLES2ContextInternal::~GLES2ContextInternal): * src/GLES2ContextInternal.h: Added. (WebCore::GLES2ContextInternal::getWebGLES2Context): (WebCore::GLES2ContextInternal::GLES2ContextInternal): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::getOnscreenGLES2Context): (WebKit::WebViewImpl::getOffscreenGLES2Context): * src/WebViewImpl.h: 2010-07-14 James Hawkins Reviewed by Darin Fisher. [Chromium] Use the unique ID instead of the profile label to identify the accepted AutoFill suggestion. https://bugs.webkit.org/show_bug.cgi?id=42301 * public/WebView.h: * public/WebViewClient.h: (WebKit::WebViewClient::didAcceptAutoFillSuggestion): (WebKit::WebViewClient::didSelectAutoFillSuggestion): * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::valueChanged): (WebKit::AutoFillPopupMenuClient::selectionChanged): (WebKit::AutoFillPopupMenuClient::initialize): (WebKit::AutoFillPopupMenuClient::setSuggestions): (WebKit::AutoFillPopupMenuClient::textFieldStyle): * src/AutoFillPopupMenuClient.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::applyAutoFillSuggestions): (WebKit::WebViewImpl::applyAutocompleteSuggestions): * src/WebViewImpl.h: 2010-07-14 Jay Civelli Reviewed by David Levin. Don't notify the WebView that the popup has been closed when the selection is cleared, as the popup is not gone and would linger as a ghost popup. https://bugs.webkit.org/show_bug.cgi?id=42180 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::selectionCleared): 2010-07-14 Sam Weinig Fix the chromium mac build. * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::setCursor): 2010-07-14 Sam Weinig Reviewed by Darin Adler. Patch for https://bugs.webkit.org/show_bug.cgi?id=42232 Make changing Cursors work in WebKit2. * src/ChromeClientImpl.h: (WebKit::ChromeClientImpl::setCursor): Change prototype to match new one. * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::setCursor): * src/WebPopupMenuImpl.h: Add empty setCursor function to satisfy the HostWindow interface. 2010-07-13 Alexey Proskuryakov Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=42201 Use ResourceHandle object for synchronous loading * src/ResourceHandle.cpp: (WebCore::ResourceHandle::request): This method is no longer const in cross-platform code, and is called firstRequest. 2010-07-14 Sheriff Bot Unreviewed, rolling out r63305. http://trac.webkit.org/changeset/63305 https://bugs.webkit.org/show_bug.cgi?id=42256 "debugger-breakpoints-not-activated-on-reload.html fails on GTK" (Requested by yurys on #webkit). * src/js/DebuggerScript.js: (): 2010-07-14 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: remove v8 debugger code that doesn't use ScriptDebugServer https://bugs.webkit.org/show_bug.cgi?id=42164 * WebKit.gypi: * src/DebuggerAgentManager.cpp: (WebKit::DebuggerAgentManager::debugAttach): (WebKit::DebuggerAgentManager::debugDetach): * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::windowObjectCleared): * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl): (WebKit::WebDevToolsAgentImpl::attach): (WebKit::WebDevToolsAgentImpl::didNavigate): (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy): * src/js/DebuggerAgent.js: Removed. * src/js/DevTools.js: (devtools.ToolsAgent): (WebInspector.loaded): * src/js/DevToolsHostStub.js: * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): * src/js/Tests.js: (.TestSuite.prototype.testAutoContinueOnSyntaxError): (.TestSuite.prototype.testExpandScope.examineScopes): (.TestSuite.prototype.testExpandScope): (.TestSuite.prototype.testDebugIntrinsicProperties): 2010-07-14 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. WebInspector: Clean-up InspectorBackend code. In the next changes InspectorBackend content will be generated by scripts. As far as generator is very simple thing all nontrivial function should be moved to InspectorController and DOMAgent. https://bugs.webkit.org/show_bug.cgi?id=42171 * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): (.devtools.InspectorBackendImpl.prototype.pause): (.devtools.InspectorBackendImpl.prototype.resume): (.devtools.InspectorBackendImpl.prototype.stepIntoStatement): (.devtools.InspectorBackendImpl.prototype.stepOutOfFunction): (.devtools.InspectorBackendImpl.prototype.stepOverStatement): (else.devtools.InspectorBackendImpl.prototype.pause): 2010-07-14 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled. https://bugs.webkit.org/show_bug.cgi?id=41461 * src/js/DebuggerScript.js: (): 2010-07-14 Kent Tamura Unreviewed, 2nd attempt to fix build on 'Webkit.org Reliability Builder'. * WebKit.gyp: 2010-07-14 Kent Tamura Unreviewed, attempt to fix build on 'Webkit.org Reliability Builder'. * WebKit.gyp: 2010-07-14 Kent Tamura Reviewed by David Levin. [Chromium] Upstreaming inspector_resources target https://bugs.webkit.org/show_bug.cgi?id=41669 'inspector_resource' is currently in src/webkit/webkit.gyp of Chromium tree. We move it to WebKit tree because: - DumpRenderTree in WebKit tree needs it, and - It's hard to refer to WebKit.gypi and WebCore.gypi from webkit_support in both cases of Chromium-tree build and WebKit-tree build. * WebKit.gyp: 2010-07-13 Kent Tamura Reviewed by Darin Fisher. [Chromium] Linux implementation of UI https://bugs.webkit.org/show_bug.cgi?id=41925 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setScrollbarColors): Call PlatformThemeChromiumGtk::setScrollbarColors() instead of RenderThemeChromiumLinux::setScrollbarColors(). 2010-07-13 Chris Guillory Reviewed by David Levin. Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp. https://bugs.webkit.org/show_bug.cgi?id=42092 * src/WebAccessibilityCacheImpl.cpp: (WebKit::WebAccessibilityCacheImpl::WeakHandle::create): (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle): 2010-07-13 Albert J. Wong Unreviewed, build fix. [chromium] The comparision between signed/unsigned breaks the chromium mac build. * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::getSuggestion): (WebKit::AutoFillPopupMenuClient::getLabel): 2010-07-10 Zhenyao Mo Reviewed by Darin Fisher. Implement bufferData and bufferSubData with ArrayBuffer as input https://bugs.webkit.org/show_bug.cgi?id=41884 * src/GraphicsContext3D.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input. (WebCore::GraphicsContext3DInternal::bufferData): (WebCore::GraphicsContext3DInternal::bufferSubData): 2010-07-10 Zhenyao Mo Reviewed by Darin Fisher. Need to emulate MAX_VARYING_VECTORS/MAX_FRAGMENT_UNIFORM_VECTORs/MAX_VERTEX_UNIFORM_VECTORS for glGet https://bugs.webkit.org/show_bug.cgi?id=42032 * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate the enums. 2010-07-13 Andrey Kosyakov Reviewed by Yury Semikhatsky. Web Inspector: catch and log JS exceptions resulting from executing a script on inspector front-end to prevent renderer from crashing. https://bugs.webkit.org/show_bug.cgi?id=42157 * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::executeScript): 2010-07-13 Kent Tamura Unreviewed, build fix. Fix a build error by r63179 for Chromium. * tests/PopupMenuTest.cpp: (WebKit::TestPopupMenuClient::itemLabel): Added. 2010-07-12 Jay Civelli Reviewed by Kent Tamura. Making the autofill popup use labels to show the label associated with an item. https://bugs.webkit.org/show_bug.cgi?id=41964 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::getSuggestion): (WebKit::AutoFillPopupMenuClient::getLabel): (WebKit::AutoFillPopupMenuClient::itemLabel): (WebKit::AutoFillPopupMenuClient::setSuggestions): (WebKit::AutoFillPopupMenuClient::convertListIndexToInternalIndex): * src/AutoFillPopupMenuClient.h: 2010-07-12 Sheriff Bot Unreviewed, rolling out r63171. http://trac.webkit.org/changeset/63171 https://bugs.webkit.org/show_bug.cgi?id=42144 Broke Chromium canary (Requested by tkent on #webkit). * WebKit.gyp: 2010-07-12 Kent Tamura Reviewed by David Levin. [Chromium] Upstreaming inspector_resources target https://bugs.webkit.org/show_bug.cgi?id=41669 'inspector_resource' is currently in src/webkit/webkit.gyp of Chromium tree. We move it to WebKit tree because: - DumpRenderTree in WebKit tree needs it, and - It's hard to refer to WebKit.gypi and WebCore.gypi from webkit_support in both cases of Chromium-tree build and WebKit-tree build. * WebKit.gyp: 2010-07-12 Viet-Trung Luu Reviewed by Darin Fisher. [Chromium] Pass key down events on to plugins. https://bugs.webkit.org/show_bug.cgi?id=42113 * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 2010-07-12 Pavel Feldman Reviewed by Joseph Pecoraro. Web Inspector: provide starts and ends for network phases instead of duration. https://bugs.webkit.org/show_bug.cgi?id=42091 * public/WebURLLoadTiming.h: * public/WebURLResponse.h: * src/WebURLLoadTiming.cpp: (WebKit::WebURLLoadTiming::proxyStart): (WebKit::WebURLLoadTiming::setProxyStart): (WebKit::WebURLLoadTiming::proxyEnd): (WebKit::WebURLLoadTiming::setProxyEnd): (WebKit::WebURLLoadTiming::dnsStart): (WebKit::WebURLLoadTiming::setDNSStart): (WebKit::WebURLLoadTiming::dnsEnd): (WebKit::WebURLLoadTiming::setDNSEnd): (WebKit::WebURLLoadTiming::connectStart): (WebKit::WebURLLoadTiming::setConnectStart): (WebKit::WebURLLoadTiming::connectEnd): (WebKit::WebURLLoadTiming::setConnectEnd): (WebKit::WebURLLoadTiming::sendStart): (WebKit::WebURLLoadTiming::setSendStart): (WebKit::WebURLLoadTiming::sendEnd): (WebKit::WebURLLoadTiming::setSendEnd): (WebKit::WebURLLoadTiming::receiveHeadersStart): (WebKit::WebURLLoadTiming::setReceiveHeadersStart): (WebKit::WebURLLoadTiming::receiveHeadersEnd): (WebKit::WebURLLoadTiming::setReceiveHeadersEnd): (WebKit::WebURLLoadTiming::sslStart): (WebKit::WebURLLoadTiming::setSSLStart): (WebKit::WebURLLoadTiming::sslEnd): (WebKit::WebURLLoadTiming::setSSLEnd): * src/WebURLResponse.cpp: (WebKit::WebURLResponse::wasCached): (WebKit::WebURLResponse::setWasCached): 2010-07-12 Sheriff Bot Unreviewed, rolling out r63156. http://trac.webkit.org/changeset/63156 https://bugs.webkit.org/show_bug.cgi?id=42129 broke chromium compile (Requested by jamesr on #webkit). * WebKit.gyp: * public/WebAccessibilityObject.h: * public/WebAttribute.h: Removed. * public/WebDocumentType.h: Removed. * public/WebElement.h: * public/WebNamedNodeMap.h: Removed. * public/WebNode.h: * public/WebRenderStyle.h: Removed. * src/WebAccessibilityObject.cpp: * src/WebAttribute.cpp: Removed. * src/WebDocumentType.cpp: Removed. * src/WebElement.cpp: * src/WebNamedNodeMap.cpp: Removed. * src/WebNode.cpp: * src/WebRenderStyle.cpp: Removed. 2010-07-12 Dominic Mazzoni Reviewed by Darin Fisher. Add methods to WebAccessibilityObject to access the Node and Document, and then add methods to access some document, node, and element properties needed for Windows accessibility. https://bugs.webkit.org/show_bug.cgi?id=41569 * WebKit.gyp: * public/WebAccessibilityObject.h: * public/WebAttribute.h: Added. (WebKit::WebAttribute::~WebAttribute): (WebKit::WebAttribute::WebAttribute): (WebKit::WebAttribute::operator=): * public/WebDocumentType.h: Added. (WebKit::WebDocumentType::WebDocumentType): (WebKit::WebDocumentType::operator=): (WebKit::WebDocumentType::assign): * public/WebElement.h: * public/WebNamedNodeMap.h: Added. (WebKit::WebNamedNodeMap::~WebNamedNodeMap): (WebKit::WebNamedNodeMap::WebNamedNodeMap): (WebKit::WebNamedNodeMap::operator=): * public/WebNode.h: * public/WebRenderStyle.h: Added. (WebKit::WebRenderStyle::~WebRenderStyle): (WebKit::WebRenderStyle::WebRenderStyle): (WebKit::WebRenderStyle::operator=): * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::node): (WebKit::WebAccessibilityObject::document): * src/WebAttribute.cpp: Added. (WebKit::WebAttribute::reset): (WebKit::WebAttribute::assign): (WebKit::WebAttribute::WebAttribute): (WebKit::WebAttribute::localName): (WebKit::WebAttribute::value): * src/WebDocumentType.cpp: Added. (WebKit::WebDocumentType::name): (WebKit::WebDocumentType::WebDocumentType): (WebKit::WebDocumentType::operator=): (WebKit::WebDocumentType::operator PassRefPtr): * src/WebElement.cpp: (WebKit::WebElement::attributes): * src/WebNamedNodeMap.cpp: Added. (WebKit::WebNamedNodeMap::reset): (WebKit::WebNamedNodeMap::assign): (WebKit::WebNamedNodeMap::WebNamedNodeMap): (WebKit::WebNamedNodeMap::length): (WebKit::WebNamedNodeMap::attributeItem): * src/WebNode.cpp: (WebKit::WebNode::element): (WebKit::WebNode::hasComputedStyle): (WebKit::WebNode::computedStyle): * src/WebRenderStyle.cpp: Added. (WebKit::WebRenderStyle::reset): (WebKit::WebRenderStyle::assign): (WebKit::WebRenderStyle::WebRenderStyle): (WebKit::WebRenderStyle::display): 2010-07-12 Alexander Pavlov Reviewed by Yury Semikhatsky. [Chromium] Crash when stepping on a breakpoint while debugging Web Inspector https://bugs.webkit.org/show_bug.cgi?id=41958 * src/WebViewImpl.cpp: (WebKit::WebView::willEnterModalLoop): (WebKit::WebView::didExitModalLoop): 2010-07-12 Jeremy Orlow Speculative fix for visual studio retardedness. * public/WebCommon.h: 2010-07-12 Jeremy Orlow Build fix. Add an include. * public/WebCommon.h: 2010-06-27 Jeremy Orlow Reviewed by Dumitru Daniliuc. Implement IDBObjectStore.get/set/remove https://bugs.webkit.org/show_bug.cgi?id=41250 Plumbing for new features, IDBKey, and added support for both invalid (i.e. not serializable) and null (i.e. the RefPtr was 0) to SerializedScriptValue. * WebKit.gyp: * public/WebIDBCallbacks.h: (WebKit::WebIDBCallbacks::onSuccess): * public/WebIDBKey.h: Added. (WebKit::WebIDBKey::WebIDBKey): (WebKit::WebIDBKey::operator=): (WebKit::WebIDBKey::): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::get): (WebKit::WebIDBObjectStore::set): (WebKit::WebIDBObjectStore::remove): (WebKit::WebIDBObjectStore::createIndex): (WebKit::WebIDBObjectStore::index): (WebKit::WebIDBObjectStore::removeIndex): * public/WebSerializedScriptValue.h: * src/IDBCallbacksProxy.cpp: (WebCore::IDBCallbacksProxy::onSuccess): * src/IDBCallbacksProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::get): (WebCore::IDBObjectStoreProxy::set): (WebCore::IDBObjectStoreProxy::remove): * src/IDBObjectStoreProxy.h: * src/WebIDBCallbacksImpl.cpp: (WebCore::WebIDBCallbacksImpl::onSuccess): * src/WebIDBCallbacksImpl.h: * src/WebIDBKey.cpp: Added. (WebKit::WebIDBKey::~WebIDBKey): (WebKit::WebIDBKey::createNull): (WebKit::WebIDBKey::createInvalid): (WebKit::WebIDBKey::assign): (WebKit::WebIDBKey::assignNull): (WebKit::WebIDBKey::assignInvalid): (WebKit::WebIDBKey::type): (WebKit::WebIDBKey::string): (WebKit::WebIDBKey::number): (WebKit::WebIDBKey::WebIDBKey): (WebKit::WebIDBKey::operator=): (WebKit::WebIDBKey::operator PassRefPtr): * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::get): (WebKit::WebIDBObjectStoreImpl::set): (WebKit::WebIDBObjectStoreImpl::remove): * src/WebIDBObjectStoreImpl.h: * src/WebSerializedScriptValue.cpp: (WebKit::WebSerializedScriptValue::createInvalid): 2010-07-09 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind https://bugs.webkit.org/show_bug.cgi?id=42011 * public/WebPlugin.h: (WebKit::WebPlugin::startFind): 2010-07-09 Leon Clarke Reviewed by Adam Barth. add support for link prefetching https://bugs.webkit.org/show_bug.cgi?id=3652 * public/WebURLRequest.h: (WebKit::WebURLRequest::): 2010-07-09 Michael Nordman Reviewed by Dumitru Daniliuc. Use class ProgressEvent when raising appcache related progress events and set the 'total', 'loaded', and 'lengthComputable' attributes. Also raise the final progress event with the 'total' and 'loaded' attribute values are equal to one another to keep pace with the spec for this feature. https://bugs.webkit.org/show_bug.cgi?id=37602 * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): (WebCore::ApplicationCacheHost::stopDeferringEvents): (WebCore::ApplicationCacheHost::dispatchDOMEvent): * src/ApplicationCacheHostInternal.h: (WebCore::ApplicationCacheHostInternal::notifyEventListener): (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener): 2010-07-09 David Holloway Reviewed by Dimitri Glazkov. Roll Chromium DEPS forward to r51736. https://bugs.webkit.org/show_bug.cgi?id=41867 * DEPS: 2010-07-09 Pavel Feldman Not reviewed: chromium build fix. * public/WebGLES2Context.h: 2010-07-09 Yael Aharon Reviewed by Laszlo Gombos. NotificationPresenter needs a cancelRequestPermission API https://bugs.webkit.org/show_bug.cgi?id=41783 Updated the NotificationPresenter API. * src/NotificationPresenterImpl.cpp: (WebKit::NotificationPresenterImpl::checkPermission): (WebKit::NotificationPresenterImpl::requestPermission): * src/NotificationPresenterImpl.h: (WebKit::NotificationPresenterImpl::cancelRequestsForPermission): 2010-07-08 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: Provide detailed network info in the resources panel. https://bugs.webkit.org/show_bug.cgi?id=40227 * WebKit.gyp: * public/WebDevToolsAgent.h: * public/WebURLLoadTiming.h: Added. (WebKit::WebURLLoadTiming::~WebURLLoadTiming): (WebKit::WebURLLoadTiming::WebURLLoadTiming): (WebKit::WebURLLoadTiming::operator=): (WebKit::WebURLLoadTiming::isNull): * public/WebURLRequest.h: * public/WebURLResponse.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::willSendRequest): * src/WebDevToolsAgentImpl.h: * src/WebURLLoadTiming.cpp: Added. (WebKit::WebURLLoadTiming::initialize): (WebKit::WebURLLoadTiming::reset): (WebKit::WebURLLoadTiming::assign): (WebKit::WebURLLoadTiming::setDomainLookupTimes): (WebKit::WebURLLoadTiming::setConnectStartTime): (WebKit::WebURLLoadTiming::setRequestTimes): (WebKit::WebURLLoadTiming::setHeadersAvailableTime): (WebKit::WebURLLoadTiming::WebURLLoadTiming): (WebKit::WebURLLoadTiming::operator=): (WebKit::WebURLLoadTiming::operator PassRefPtr): * src/WebURLRequest.cpp: (WebKit::WebURLRequest::reportLoadTiming): (WebKit::WebURLRequest::setReportLoadTiming): * src/WebURLResponse.cpp: (WebKit::WebURLResponse::setConnectionID): (WebKit::WebURLResponse::setLoadTiming): 2010-07-08 Jay Civelli Reviewed by Darin Fisher. [chromium] Exposing the EditorClient text field related methods to the WebViewClient. Also adding some more accessors methods to the WebNode and WebInputElement. This is needed to move the password autocomplete out of the Chromium WebKit API to the Chromium code. https://bugs.webkit.org/show_bug.cgi?id=41286 * public/WebInputElement.h: * public/WebNode.h: (WebKit::operator!=): (WebKit::operator<): * public/WebViewClient.h: (WebKit::WebViewClient::textFieldDidBeginEditing): (WebKit::WebViewClient::textFieldDidEndEditing): (WebKit::WebViewClient::textDidChangeInTextField): (WebKit::WebViewClient::textFieldHandlingKeyDown): (WebKit::WebViewClient::didAcceptAutocompleteSuggestion): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::textFieldDidBeginEditing): (WebKit::EditorClientImpl::textFieldDidEndEditing): (WebKit::EditorClientImpl::textDidChangeInTextField): (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted): (WebKit::EditorClientImpl::doTextFieldCommandFromEvent): * src/WebInputElement.cpp: (WebKit::WebInputElement::readOnly): (WebKit::WebInputElement::setSelectionRange): (WebKit::WebInputElement::selectionStart): (WebKit::WebInputElement::selectionEnd): * src/WebNode.cpp: (WebKit::WebNode::lessThan): 2010-07-08 Aaron Boodman Reviewed by Timothy Hatcher. Add the ability for user scripts and user styles to affect just the top frame. https://bugs.webkit.org/show_bug.cgi?id=41529 * public/WebView.h: (WebKit::WebView::): (WebKit::WebView::addUserScript): (WebKit::WebView::addUserStyleSheet): * src/AssertMatchingEnums.cpp: * src/WebViewImpl.cpp: (WebKit::WebView::addUserScript): (WebKit::WebView::addUserStyleSheet): 2010-07-08 James Robinson Reviewed by Darin Fisher. Allow resizing and getting the texture ID from an offscreen GLES2Context https://bugs.webkit.org/show_bug.cgi?id=41828 When using an offscreen GLES2Context the caller needs to be able to resize the backing store managed by the embedder and get access to a texture id to pass to the compositor. WebGL does these actions in an indirect way, it will be refactored to use this path. * public/WebGLES2Context.h: * src/GLES2Context.cpp: (WebCore::GLES2Context::resizeOffscreenContent): (WebCore::GLES2Context::getOffscreenContentParentTextureId): 2010-07-08 Vitaly Repeshko Reviewed by Pavel Feldman. [chromium] Fix deletion has begun assert in TestWebPopupMenuImpl. https://bugs.webkit.org/show_bug.cgi?id=41899 * tests/PopupMenuTest.cpp: (WebKit::TestWebPopupMenuImpl::create): (WebKit::TestWebViewClient::TestWebViewClient): (WebKit::TestWebViewClient::createPopupMenu): 2010-07-08 Vitaly Repeshko Reviewed by Pavel Feldman. [chromium] Fix deletion has begun assertion in TestImage destructor. https://bugs.webkit.org/show_bug.cgi?id=41883 * tests/DragImageTest.cpp: (WebCore::TestImage::create): (WebCore::TEST): 2010-07-08 Vitaly Repeshko Reviewed by Pavel Feldman. Fix adoptRef usage violations (mostly in chromium) https://bugs.webkit.org/show_bug.cgi?id=41863 * src/IDBCallbacksProxy.cpp: (WebCore::IDBCallbacksProxy::create): * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenu::create): * src/WebViewImpl.cpp: (WebKit::WebView::create): 2010-07-07 Alexander Pavlov Reviewed by Darin Fisher. [Chromium] Crash when re-entering message loop Allow re-entrancy of the message loop by tracking all suspended pages through a PageGroupLoadDeferrer stack. https://bugs.webkit.org/show_bug.cgi?id=41697 * src/WebViewImpl.cpp: (WebKit::WebView::willEnterModalLoop): (WebKit::WebView::didExitModalLoop): * src/js/Tests.js: (.TestSuite.prototype.evaluateInConsole_): (.TestSuite.prototype.testCompletionOnPause): (.TestSuite.prototype.testMessageLoopReentrant.this): 2010-07-08 David Holloway Reviewed by Darin Fisher. [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for use by other code in WebKit/chromium/src. Specific use of these methods is made in WebFrameImpl.cpp. This is preferred to the cast operator call that was happening prior to this change. https://bugs.webkit.org/show_bug.cgi?id=41477 * public/WebNode.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::registerPasswordListener): (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): (WebKit::WebFrameImpl::getPasswordListener): * src/WebFrameImpl.h: 2010-07-07 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: convert script offset to webkit format https://bugs.webkit.org/show_bug.cgi?id=41755 * src/js/DebuggerScript.js: (): 2010-07-07 Kent Tamura Reviewed by Adam Barth. [DRT/Chromium] DumpRenderTree should depend on ImageDiff https://bugs.webkit.org/show_bug.cgi?id=41749 We usually use DumpRenderTree with ImageDiff. So ImageDiff should be built with DumpRenderTree. Without this change, ImageDiff is not built in a case of Chromium tree build. test_shell in Chromium tree also depends on image_diff. * WebKit.gyp: 2010-07-07 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Add a few more methods to WebPlugin so that Pepper v2 plugins can support copy/zoom/find https://bugs.webkit.org/show_bug.cgi?id=41649 * public/WebPlugin.h: (WebKit::WebPlugin::hasSelection): (WebKit::WebPlugin::selectionAsText): (WebKit::WebPlugin::selectionAsMarkup): (WebKit::WebPlugin::setZoomFactor): (WebKit::WebPlugin::supportsFind): (WebKit::WebPlugin::startFind): (WebKit::WebPlugin::selectFindResult): (WebKit::WebPlugin::stopFind): * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::pluginContainerFromFrame): (WebKit::ChromePluginPrintContext::end): (WebKit::ChromePluginPrintContext::computePageRects): (WebKit::ChromePluginPrintContext::spoolPage): (WebKit::WebFrameImpl::executeCommand): * src/WebFrameImpl.h: * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::copy): (WebKit::WebPluginContainerImpl::handleKeyboardEvent): * src/WebPluginContainerImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setZoomLevel): 2010-07-07 James Hawkins Reviewed by Dimitri Glazkov. [Chromium] Add setSuggestedValue to WebInputElement https://bugs.webkit.org/show_bug.cgi?id=41785 * public/WebInputElement.h: * src/WebInputElement.cpp: (WebKit::WebInputElement::setSuggestedValue): (WebKit::WebInputElement::suggestedValue): 2010-07-07 James Robinson and Vincent Scheib Reviewed by Dimitri Glazkov. WebCore::GLES2Context should allow creating onscreen and offscreen contexts https://bugs.webkit.org/show_bug.cgi?id=41492 You should be able to create a GLES2Context for rendering both on screen and off screen (to a texture). Currently WebGL does the latter by side stepping the WebCore::GLES2Context API completely. Longer term it should move over to using this. * src/GLES2Context.cpp: (WebCore::GLES2ContextInternal::initializeOnscreen): (WebCore::GLES2ContextInternal::initializeOffscreen): (WebCore::GLES2Context::createOnscreen): (WebCore::GLES2Context::createOffscreen): 2010-07-07 Sam Weinig Reviewed by Anders Carlsson. Patch for https://bugs.webkit.org/show_bug.cgi?id=41772 Add basic piping for BackForwardControllerClient. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): 2010-07-07 Sheriff Bot Unreviewed, rolling out r62645. http://trac.webkit.org/changeset/62645 https://bugs.webkit.org/show_bug.cgi?id=41757 "Broken inspector tests on several platforms" (Requested by eseidel on #webkit). * src/js/DebuggerScript.js: (): 2010-07-07 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled. https://bugs.webkit.org/show_bug.cgi?id=41461 * src/js/DebuggerScript.js: (): 2010-07-06 Darin Adler Try to fix build. Why do the Chromium bots stop after the first error they encounter? * src/WebWorkerImpl.cpp: (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): Removed unneeded release called on a PassOwnPtr to pass it as an argument of type PassOwnPtr. 2010-07-06 Darin Adler Try to fix build. * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::dispatchTaskToMainThread): Use leakPtr instead of release. * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): Removed unneeded release called on a PassOwnPtr to pass it as an argument of type PassOwnPtr. 2010-07-06 Darin Adler Try to fix build. * src/WebSharedWorkerImpl.cpp: (WebKit::WebSharedWorkerImpl::connectTask): Removed unneeded release called on a PassOwnPtr to pass it as an argument of type PassOwnPtr. 2010-07-06 Darin Adler Try to fix build. * src/WebDataSourceImpl.cpp: (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): Call leakPtr here instead of release. Comment makes it really unclear why it's OK! 2010-07-06 Darin Adler Try to fix build. * src/SharedWorkerRepository.cpp: (WebCore::SharedWorkerRepository::connect): Removed unneeded release called on a PassOwnPtr to pass it as an argument of type PassOwnPtr. 2010-07-05 Yury Semikhatsky Reviewed by Pavel Feldman. [v8] Web Inspector: remove v8-specific code dealing with getOwnPropertyNames from InjectedScript.js https://bugs.webkit.org/show_bug.cgi?id=41595 * src/js/DebuggerScript.js: 2010-07-03 Erik Arvidsson Reviewed by Ojan Vafai. Fix issue where a contextmenu event was reporting the wrong target if the context menu was shown due to pressing the context menu key (or Shift+F10). https://bugs.webkit.org/show_bug.cgi?id=38129 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::sendContextMenuEvent): 2010-07-02 Yury Semikhatsky Reviewed by Pavel Feldman. [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute https://bugs.webkit.org/show_bug.cgi?id=41511 * src/WebBindings.cpp: (WebKit::getEvent): 2010-07-01 Sheriff Bot Unreviewed, rolling out r62349. http://trac.webkit.org/changeset/62349 https://bugs.webkit.org/show_bug.cgi?id=41499 It broke the chromium Linux build. (Requested by dave_levin on #webkit). * public/WebNode.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::registerPasswordListener): (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): 2010-07-01 David Holloway Reviewed by Darin Fisher. [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for use by other code in WebKit/chromium/src. Specific use of these methods is made in WebFrameImpl.cpp. This is preferred to the cast operator call that was happening prior to this change. https://bugs.webkit.org/show_bug.cgi?id=41477 * public/WebNode.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::registerPasswordListener): (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): 2010-07-01 Kenneth Russell Reviewed by Dimitri Glazkov. Stop linking against opengl32.lib in Windows Chromium port https://bugs.webkit.org/show_bug.cgi?id=41424 * WebKit.gyp: * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent): * src/WebGraphicsContext3DDefaultImpl.h: 2010-07-01 Sheriff Bot Unreviewed, rolling out r62246. http://trac.webkit.org/changeset/62246 https://bugs.webkit.org/show_bug.cgi?id=41470 "Worker tests are broken in Chromium" (Requested by yurys on #webkit). * src/WebBindings.cpp: (WebKit::getEvent): 2010-07-01 David Holloway Reviewed by Darin Fisher. [chromium] Consolidates AutoFill and Autocomplete popup menus into a single popup menu. This change combines SuggestionsPopupMenuClient, AutoFillPopupMenuClient, and AutocompletePopupMenuClient classes into a single consolidated AutoFillPopupMenuClient class. Prior to this change the contents of the AutoFill popup menu only included AutoFill suggestions and similarly the Autocomplete popup menu only included Autocomplete suggestions. With this consolidation, both AutoFill and Autocomplete suggestions can now be displayed in a single menu. https://bugs.webkit.org/show_bug.cgi?id=41236 * WebKit.gyp: * public/WebFrame.h: * public/WebView.h: * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient): (WebKit::AutoFillPopupMenuClient::~AutoFillPopupMenuClient): (WebKit::AutoFillPopupMenuClient::valueChanged): (WebKit::AutoFillPopupMenuClient::selectionCleared): (WebKit::AutoFillPopupMenuClient::itemText): (WebKit::AutoFillPopupMenuClient::itemStyle): (WebKit::AutoFillPopupMenuClient::menuStyle): (WebKit::AutoFillPopupMenuClient::clientPaddingLeft): (WebKit::AutoFillPopupMenuClient::clientPaddingRight): (WebKit::AutoFillPopupMenuClient::popupDidHide): (WebKit::AutoFillPopupMenuClient::setTextFromItem): (WebKit::AutoFillPopupMenuClient::fontSelector): (WebKit::AutoFillPopupMenuClient::hostWindow): (WebKit::AutoFillPopupMenuClient::createScrollbar): (WebKit::AutoFillPopupMenuClient::initialize): (WebKit::AutoFillPopupMenuClient::getWebView): (WebKit::AutoFillPopupMenuClient::textFieldStyle): * src/AutoFillPopupMenuClient.h: (WebKit::AutoFillPopupMenuClient::itemToolTip): (WebKit::AutoFillPopupMenuClient::itemAccessibilityText): (WebKit::AutoFillPopupMenuClient::itemIsEnabled): (WebKit::AutoFillPopupMenuClient::clientInsetLeft): (WebKit::AutoFillPopupMenuClient::clientInsetRight): (WebKit::AutoFillPopupMenuClient::listSize): (WebKit::AutoFillPopupMenuClient::selectedIndex): (WebKit::AutoFillPopupMenuClient::itemIsLabel): (WebKit::AutoFillPopupMenuClient::itemIsSelected): (WebKit::AutoFillPopupMenuClient::shouldPopOver): (WebKit::AutoFillPopupMenuClient::valueShouldChangeOnHotTrack): (WebKit::AutoFillPopupMenuClient::setAutocompleteMode): (WebKit::AutoFillPopupMenuClient::getTextField): (WebKit::AutoFillPopupMenuClient::getSelectedIndex): (WebKit::AutoFillPopupMenuClient::setSelectedIndex): * src/AutocompletePopupMenuClient.cpp: Removed. * src/AutocompletePopupMenuClient.h: Removed. * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::textFieldDidEndEditing): (WebKit::EditorClientImpl::doAutofill): (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted): * src/SuggestionsPopupMenuClient.cpp: Removed. * src/SuggestionsPopupMenuClient.h: Removed. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::currentHistoryItem): (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): * src/WebFrameImpl.h: * src/WebViewImpl.cpp: (WebKit::): (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::mouseDown): (WebKit::WebViewImpl::mouseUp): (WebKit::WebViewImpl::selectPopupHandleKeyEvent): (WebKit::WebViewImpl::autocompleteHandleKeyEvent): (WebKit::WebViewImpl::hideAutoFillPopup): (WebKit::WebViewImpl::setFocus): (WebKit::WebViewImpl::applyAutoFillSuggestions): (WebKit::WebViewImpl::applyAutocompleteSuggestions): (WebKit::WebViewImpl::hidePopups): (WebKit::WebViewImpl::refreshAutoFillPopup): * src/WebViewImpl.h: (WebKit::WebViewImpl::autoFillPopupDidHide): 2010-07-01 Yury Semikhatsky Reviewed by Adam Barth. [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute https://bugs.webkit.org/show_bug.cgi?id=41350 * src/WebBindings.cpp: (WebKit::getEvent): 2010-07-01 Aaron Boodman Reviewed by Darin Fisher. Make the user script API static. This makes it more convenient to use if you don't have a WebView instance yet. Added static versions of the three methods and re-route current ones temporarily through the static versions. Will remove the non-static versions once Chromium has been updated. Also, expose the URLPattern configuration for user stylesheets, since they were not before. https://bugs.webkit.org/show_bug.cgi?id=41385 * public/WebView.h: (WebKit::WebView::addUserScript): (WebKit::WebView::addUserStyleSheet): * src/WebViewImpl.cpp: (WebKit::WebView::addUserScript): (WebKit::WebView::addUserStyleSheet): (WebKit::WebView::removeAllUserContent): 2010-06-30 Kenneth Russell Reviewed by Dimitri Glazkov. Roll forward Chromium DEPS to r51287 https://bugs.webkit.org/show_bug.cgi?id=41430 * DEPS: 2010-06-25 Pavel Feldman Reviewed by Yury Semikhatsky. Chrome DevTools: Finalize migration to new WebView constructor (devtools agent is now created within WebViewImpl only). https://bugs.webkit.org/show_bug.cgi?id=41212 * public/WebDevToolsAgent.h: * public/WebView.h: * src/WebDevToolsAgentImpl.cpp: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::initializeLoader): * tests/PopupMenuTest.cpp: (WebKit::SelectPopupMenuTest::SetUp): 2010-06-29 Zhenyao Mo Reviewed by Dimitri Glazkov. Implement getAttachedShaders https://bugs.webkit.org/show_bug.cgi?id=31172 * public/WebGraphicsContext3D.h: Declaration of getAttachedShaders(). * src/GraphicsContext3D.cpp: Implementation of getAttachedShaders(). * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. * src/WebGraphicsContext3DDefaultImpl.h: Declaration of getAttachedShaders(). 2010-06-29 Dumitru Daniliuc Reviewed by Darin Fisher. Simplify the WebDatabase interface. https://bugs.webkit.org/show_bug.cgi?id=40607 Do not ref()/deref() the private AbstractDatabase member. This allows us to use WebDatabase in the destructors of the DB classes. * public/WebDatabase.h: (WebKit::WebDatabase::WebDatabase): * src/WebDatabase.cpp: (WebKit::WebDatabase::name): (WebKit::WebDatabase::displayName): (WebKit::WebDatabase::estimatedSize): (WebKit::WebDatabase::securityOrigin): (WebKit::WebDatabase::WebDatabase): 2010-06-29 Zhe Su Reviewed by Darin Fisher. A crash caused by the patch of bug 40608. https://bugs.webkit.org/show_bug.cgi?id=41334 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::caretOrSelectionBounds): 2010-06-29 Victor Wang Reviewed by Darin Fisher. [chromium]: Update webkit for chromium multi dll build. 1. Export more webkit APIs for chromium multi dll build. 2. Update DumpRenderTree sources so it can build with webkit.dll 3. Temp disable webkit unit tests for chromium multi dll build. https://bugs.webkit.org/show_bug.cgi?id=41231 * WebKit.gyp: * public/WebAccessibilityCache.h: * public/WebAccessibilityObject.h: * public/WebEventListener.h: * public/WebGeolocationServiceMock.h: * public/WebGraphicsContext3D.h: * public/WebIDBDatabaseError.h: (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): (WebKit::WebIDBDatabaseError::operator=): * public/WebNotification.h: * public/WebPasswordFormData.h: * public/WebSearchableFormData.h: * public/WebStorageEventDispatcher.h: * public/WebString.h: (WebKit::WebString::WebString): (WebKit::WebString::operator=): 2010-06-29 Vangelis Kokkevis Reviewed by Darin Fisher. [Chromium] Hooking up GraphicsContext3D to the gpu compositor. GraphicsContext3DInternal is now initialized with a pointer to the HostWindow that corresponds to the WebView containing the context. The initializer forces a WebGLES2Context to be created for the WebView (if one doesn't already exist) and uses the view's GL context as a parent to the GL context created for WebGL. This allows the compositor to read the texture associated with WebGL's frame buffer. We also plumb though GraphicsContext3D's prepareTexture and platformLayer methods which are required by the compositor code. https://bugs.webkit.org/show_bug.cgi?id=41243 * public/WebGraphicsContext3D.h: * public/WebView.h: Made gles2Context() a virtual method on WebView instead of WebViewImpl to allow access to it from GraphicsContext3DInternal::initialize(). * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::initialize): (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): (WebCore::GraphicsContext3DInternal::platformTexture): (WebCore::GraphicsContext3DInternal::prepareTexture): (WebCore::GraphicsContext3DInternal::platformLayer): (WebCore::GraphicsContext3D::create): (WebCore::GraphicsContext3D::prepareTexture): (WebCore::GraphicsContext3D::platformLayer): * src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::initialize): (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId): (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture): * src/WebGraphicsContext3DDefaultImpl.h: * src/WebViewImpl.h: 2010-06-29 Pavel Podivilov Reviewed by Yury Semikhatsky. Web Inspector: return line number where breakpoint was actually set by v8 from setBreakpoint function. https://bugs.webkit.org/show_bug.cgi?id=40781 * src/js/DebuggerScript.js: (): 2010-06-23 John Gregg Reviewed by Kent Tamura. add ENABLE_DIRECTORY_UPLOAD build support https://bugs.webkit.org/show_bug.cgi?id=41100 * features.gypi: 2010-06-28 Zhe Su Reviewed by Jian Li. [chromium]Remove deprecated code related to input method. https://bugs.webkit.org/show_bug.cgi?id=41244 Also update TestWebWidget in tests/PopupMenuTest.cpp to add missing implementations. * WebKit.gyp: * public/WebCompositionCommand.h: Removed. * public/WebViewClient.h: * public/WebWidget.h: * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::setInputMethodState): * src/WebPopupMenuImpl.cpp: * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: * src/WebViewImpl.h: * tests/PopupMenuTest.cpp: (WebKit::TestWebWidget::setComposition): (WebKit::TestWebWidget::confirmComposition): (WebKit::TestWebWidget::textInputType): (WebKit::TestWebWidget::caretOrSelectionBounds): 2010-06-27 John Abd-El-Malek Reviewed by Darin Fisher. [chromium] Get the selected text from plugins for right click menu https://bugs.webkit.org/show_bug.cgi?id=41242 * public/WebContextMenuData.h: (WebKit::WebContextMenuData::): * public/WebPlugin.h: (WebKit::WebPlugin::selectedText): * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::selectedText): * src/WebPluginContainerImpl.h: 2010-06-28 Yury Semikhatsky Unreviewed. Fix Chromium debugger tests. * src/js/Tests.js: (.TestSuite.prototype.testDebugIntrinsicProperties): 2010-06-25 Yuzo Fujishima Reviewed by Shinichiro Hamaji. Improve default value handling for page format properties. https://bugs.webkit.org/show_bug.cgi?id=41150 * public/WebFrame.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::pageSizeAndMarginsInPixels): * src/WebFrameImpl.h: 2010-06-26 Sheriff Bot Unreviewed, rolling out r61943. http://trac.webkit.org/changeset/61943 https://bugs.webkit.org/show_bug.cgi?id=41251 Totally breaks webkit_unit_tests on Chromium linux and mac (Requested by mnaganov on #webkit). * WebKit.gyp: * src/WebFrameImpl.cpp: (WebKit::frameContentAsPlainText): * tests/RunAllTests.cpp: (main): * tests/WebFrameTest.cpp: Removed. * tests/data/iframes_test.html: Removed. * tests/data/invisible_iframe.html: Removed. * tests/data/visible_iframe.html: Removed. * tests/data/zero_sized_iframe.html: Removed. 2010-06-26 Tony Gentilcore Reviewed by Dimitri Glazkov. Disable Web Timing support by default for chromium port. https://bugs.webkit.org/show_bug.cgi?id=38924 * features.gypi: 2010-06-25 Jay Civelli Reviewed by Darin Fisher. [chromium] Made WebFrame not report the text from hidden frames. (some pages contain hidden frames with garbage text that should not be indexed or used to detect the page's language). https://bugs.webkit.org/show_bug.cgi?id=39456 * DEPS: * WebKit.gyp: * src/WebFrameImpl.cpp: (WebKit::frameContentAsPlainText): * tests/RunAllTests.cpp: (main): * tests/WebFrameTest.cpp: Added. * tests/data: Added. * tests/data/iframes_test.html: Added. * tests/data/invisible_iframe.html: Added. * tests/data/visible_iframe.html: Added. * tests/data/zero_sized_iframe.html: Added. 2010-06-25 Bernhard Bauer Reviewed by Darin Fisher. Add plugin accessors to WebPluginContainer. https://bugs.webkit.org/show_bug.cgi?id=41145 * public/WebPluginContainer.h: * src/WebPluginContainerImpl.h: (WebKit::WebPluginContainerImpl::setPlugin): 2010-06-25 Sterling Swigart Reviewed by David Levin. Resetting ENABLE_IMAGE_RESIZER to 0. Image.webkitGetImage needs to be developed under a 0 value, at least until both the JSC and V8 bindings are in place. https://bugs.webkit.org/show_bug.cgi?id=41116 * features.gypi: ENABLE_IMAGE_RESIZER=0 2010-06-25 Victor Wang Reviewed by Darin Fisher. [Chromium] Update chromium webkit gyp so it has option to be built as DLL. Chromium webkit is built as webkit.dll on windows if it is inside chromium build and variable component is set to shared_library. https://bugs.webkit.org/show_bug.cgi?id=41161 * WebKit.gyp: 2010-06-25 John Abd-El-Malek Reviewed by David Levin. [chromium] Send unhandled events to Node's default handler https://bugs.webkit.org/show_bug.cgi?id=41223 * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleEvent): 2010-06-25 Daniel Cheng Reviewed by Darin Fisher. [chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data. This change adds new stubs for querying for data in a clipboard or drag operation. This is so adding support for more data types in clipboard/drag operations doesn't become increasingly expensive, since we currently copy all the drag data we need every time a new web drop target is entered. It also adds a new mechanism to write back to the system clipboard that isn't tied to one data type. https://bugs.webkit.org/show_bug.cgi?id=40540 * public/WebClipboard.h: (WebKit::WebClipboard::): (WebKit::WebClipboard::isFormatAvailable): (WebKit::WebClipboard::readPlainText): (WebKit::WebClipboard::readHTML): (WebKit::WebClipboard::writePlainText): (WebKit::WebClipboard::writeHTML): (WebKit::WebClipboard::writeURL): (WebKit::WebClipboard::writeImage): (WebKit::WebClipboard::writeData): (WebKit::WebClipboard::readAvailableTypes): (WebKit::WebClipboard::readData): (WebKit::WebClipboard::readFilenames): * public/WebKitClient.h: * src/AssertMatchingEnums.cpp: * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::clipboardWriteData): (WebCore::ChromiumBridge::clipboardReadAvailableTypes): (WebCore::ChromiumBridge::clipboardReadData): (WebCore::ChromiumBridge::clipboardReadFilenames): 2010-06-25 Lei Zheng Reviewed by Dimitri Glazkov. [Chromium] Add a flag to the ResourceResponse for tracking if a request was fetched when Alternate-Protocol is available. https://bugs.webkit.org/show_bug.cgi?id=41001 * public/WebURLResponse.h: * src/WebURLResponse.cpp: (WebKit::WebURLResponse::wasAlternateProtocolAvailable): (WebKit::WebURLResponse::setWasAlternateProtocolAvailable): 2010-06-25 Michael Nordman Reviewed by Dumitru Daniliuc. Additional API to pass additional info needed for AppCache progress events. https://bugs.webkit.org/show_bug.cgi?id=37602 Also, delete an obsolete method from the worker API. * public/WebApplicationCacheHostClient.h: define a new method * public/WebSharedWorker.h: remove an obsolte method * src/ApplicationCacheHostInternal.h: implement the new method (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener): 2010-06-25 John Gregg Reviewed by Darin Fisher. Notification should expose ltr/rtl as TextDirection, not String https://bugs.webkit.org/show_bug.cgi?id=40871 * public/WebNotification.h: * src/WebNotification.cpp: (WebKit::WebNotification::direction): 2010-06-24 Eric Seidel Reviewed by Adam Barth. Clean up and document DocumentWriter::replaceDocument code path https://bugs.webkit.org/show_bug.cgi?id=41182 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::loadJavaScriptURL): - Make Chromium use DocumentWriter like it should. 2010-06-24 Vangelis Kokkevis Reviewed by Darin Fisher. [Chromium] A WebView can now own a GLES2Context which gets created on demand. This context will typically be created for the gpu compositor and used as a parent context for any elements on the page that use the gpu for rendering (e.g. WebGL) and need to pass their backbuffer directly to the compositor. https://bugs.webkit.org/show_bug.cgi?id=41010 * public/WebGLES2Context.h: * src/GLES2Context.cpp: (WebCore::GLES2ContextInternal::getWebGLES2Context): (WebCore::GLES2ContextInternal::initialize): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::gles2Context): * src/WebViewImpl.h: 2010-06-24 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: Inspector cleanup + better DevTools alignment with Inspector. https://bugs.webkit.org/show_bug.cgi?id=41094 - Merged InspectorClient implementation into WebDevToolsAgent - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing) - Removed a lot of legacy code from WebDevToolsAgentImpl - Removed a lot of overrides from DevTools.js - Simplified devtools stubs - Got rid of all logic from within InjectDispatch.js * public/WebView.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): * src/InspectorClientImpl.cpp: (WebKit::InspectorClientImpl::inspectorDestroyed): (WebKit::InspectorClientImpl::openInspectorFrontend): (WebKit::InspectorClientImpl::highlight): (WebKit::InspectorClientImpl::hideHighlight): (WebKit::InspectorClientImpl::populateSetting): (WebKit::InspectorClientImpl::storeSetting): (WebKit::InspectorClientImpl::sendMessageToFrontend): (WebKit::InspectorClientImpl::resourceTrackingWasEnabled): (WebKit::InspectorClientImpl::resourceTrackingWasDisabled): (WebKit::InspectorClientImpl::timelineProfilerWasStarted): (WebKit::InspectorClientImpl::timelineProfilerWasStopped): (WebKit::InspectorClientImpl::devToolsAgent): * src/InspectorClientImpl.h: * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::inspectedURLChanged): * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): (WebKit::WebDevToolsAgentImpl::inspectorDestroyed): (WebKit::WebDevToolsAgentImpl::openInspectorFrontend): (WebKit::WebDevToolsAgentImpl::highlight): (WebKit::WebDevToolsAgentImpl::hideHighlight): (WebKit::WebDevToolsAgentImpl::populateSetting): (WebKit::WebDevToolsAgentImpl::storeSetting): (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled): (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled): (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted): (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped): * src/WebDevToolsAgentImpl.h: * src/WebDevToolsAgentPrivate.h: * src/WebViewImpl.cpp: (WebKit::WebView::create): (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: * src/js/DevTools.js: (devtools.ToolsAgent): (): (devtools): * src/js/DevToolsHostStub.js: (.window.setDebuggerScriptSource): (.window.dispatchOnInjectedScript): * src/js/InjectDispatch.js: (dispatch): * src/js/InspectorControllerImpl.js: 2010-06-24 Pavel Feldman Not reviewed: revert 61766. * WebKit.gyp: * public/WebView.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): * src/InspectorClientImpl.cpp: Added. (WebKit::InspectorClientImpl::InspectorClientImpl): (WebKit::InspectorClientImpl::~InspectorClientImpl): (WebKit::InspectorClientImpl::inspectorDestroyed): (WebKit::InspectorClientImpl::openInspectorFrontend): (WebKit::invalidateNodeBoundingRect): (WebKit::InspectorClientImpl::highlight): (WebKit::InspectorClientImpl::hideHighlight): (WebKit::InspectorClientImpl::populateSetting): (WebKit::InspectorClientImpl::storeSetting): (WebKit::InspectorClientImpl::sendMessageToFrontend): * src/InspectorClientImpl.h: Added. * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::inspectedURLChanged): * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad): (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): (WebKit::WebDevToolsAgentImpl::jsDispatchToApu): (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf): (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged): * src/WebDevToolsAgentImpl.h: * src/WebDevToolsAgentPrivate.h: * src/WebViewImpl.cpp: (WebKit::WebView::create): (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::setDevToolsAgent): * src/WebViewImpl.h: * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::initializeLoader): * src/js/DevTools.js: (devtools.ToolsAgent): (devtools.ToolsAgent.prototype.frameNavigate_): (): * src/js/DevToolsHostStub.js: (.RemoteDebuggerAgentStub): (.RemoteDebuggerAgentStub.prototype.getContextId): (.RemoteDebuggerAgentStub.prototype.processDebugCommands): (.RemoteProfilerAgentStub): (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules): (.RemoteProfilerAgentStub.prototype.getLogLines): (.RemoteToolsAgentStub): (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript): (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController): (.ProfilerStubHelper): (.ProfilerStubHelper.GetInstance): (.ProfilerStubHelper.prototype.StopProfiling): (.ProfilerStubHelper.prototype.StartProfiling): (.ProfilerStubHelper.prototype.getActiveProfilerModules): (.ProfilerStubHelper.prototype.getLogLines): (.RemoteDebuggerCommandExecutorStub): (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand): (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript): (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_): (.DevToolsHostStub): (.DevToolsHostStub.prototype.reset): (.DevToolsHostStub.prototype.setting): (.DevToolsHostStub.prototype.setSetting): * src/js/InjectDispatch.js: (ApuAgentDispatcher.dispatchToApu): (dispatch): * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl.prototype.debuggerEnabled): (devtools.InspectorBackendImpl.prototype.profilerEnabled): 2010-06-23 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: Inspector cleanup + better DevTools alignment with Inspector. https://bugs.webkit.org/show_bug.cgi?id=41094 - Merged InspectorClient implementation into WebDevToolsAgent - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing) - Removed a lot of legacy code from WebDevToolsAgentImpl - Removed a lot of overrides from DevTools.js - Simplified devtools stubs - Got rid of all logic from within InjectDispatch.js * WebKit.gyp: * public/WebDevToolsAgent.h: * public/WebView.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): * src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::inspectedURLChanged): * src/ToolsAgent.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): (WebKit::WebDevToolsAgentImpl::inspectorDestroyed): (WebKit::WebDevToolsAgentImpl::openInspectorFrontend): (WebKit::WebDevToolsAgentImpl::highlight): (WebKit::WebDevToolsAgentImpl::hideHighlight): (WebKit::WebDevToolsAgentImpl::populateSetting): (WebKit::WebDevToolsAgentImpl::storeSetting): (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled): (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled): (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted): (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped): * src/WebDevToolsAgentImpl.h: * src/WebDevToolsAgentPrivate.h: * src/WebViewImpl.cpp: (WebKit::WebView::create): (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::initializeLoader): * src/js/DevTools.js: (devtools.ToolsAgent): (): (devtools): * src/js/DevToolsHostStub.js: (.window.setDebuggerScriptSource): (.window.dispatchOnInjectedScript): * src/js/InjectDispatch.js: (dispatch): * src/js/InspectorControllerImpl.js: 2010-06-24 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: implement layout tests for debugger https://bugs.webkit.org/show_bug.cgi?id=40774 * src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 2010-06-23 Tony Chang Reviewed by Darin Fisher. layout test for a crash in chromium multipart request handling https://bugs.webkit.org/show_bug.cgi?id=41050 Also roll DEPS to pick up the crash fix. * DEPS: 2010-06-23 Yuzo Fujishima Reviewed by Shinichiro Hamaji. Make page format data methods accessible from Chromium https://bugs.webkit.org/show_bug.cgi?id=41056 * public/WebFrame.h: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::isPageBoxVisible): (WebKit::WebFrameImpl::pageAreaRectInPixels): (WebKit::WebFrameImpl::preferredPageSizeInPixels): * src/WebFrameImpl.h: 2010-06-22 Adam Barth Reviewed by Eric Seidel. Rename HTMLDocumentParser to LegacyHTMLDocumentParser https://bugs.webkit.org/show_bug.cgi?id=41043 * src/WebEntities.cpp: 2010-06-22 Pavel Feldman Not reviewed: follow up to r61655 to make Chromium tests happy. * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-06-22 Mikhail Naganov Reviewed by Pavel Feldman. [Chromium] Clean up after removal of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread. https://bugs.webkit.org/show_bug.cgi?id=40914 * public/WebDevToolsAgentClient.h: 2010-06-22 Mikhail Naganov Reviewed by Pavel Feldman. [Chromium] Add a sanity test for heap profiler. https://bugs.webkit.org/show_bug.cgi?id=40917 * src/js/Tests.js: (.TestSuite.prototype.testHeapProfiler.findDisplayedNode): (.TestSuite.prototype.testHeapProfiler.findVisibleView): (.TestSuite.prototype.testHeapProfiler): 2010-06-21 MORITA Hajime Reviewed by Darin Fisher. [Chromium] Dragging outside the frame immediately causes page to scroll http://webkit.org/b/40461 This is regression that was introduced at http://webkit.org/b/39725. There are 2 problems: 1. It starts auto-scrolling immediately. We should have some delay. 2. The scroll continues even after a mouse cursor goes outside a frame. The scroll should be stopped when the curosr has left. This change introduced DragScrollTimer to handle 1. At the same time, it fixed DragScrollTimer::scrollDistanceFor() to handle 2, We now stop scrolling when the cursor gone. * WebKit.gyp: * src/DragScrollTimer.cpp: Added. (WebKit::distanceToRect): (WebKit::DragScrollTimer::DragScrollTimer): (WebKit::DragScrollTimer::~DragScrollTimer): (WebKit::DragScrollTimer::stop): (WebKit::DragScrollTimer::scroll): (WebKit::DragScrollTimer::update): (WebKit::DragScrollTimer::triggerScroll): (WebKit::DragScrollTimer::scrollDistanceFor): * src/DragScrollTimer.h: Added. (WebKit::DragScrollTimer::fired): (WebKit::DragScrollTimer::shouldScroll): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::dragSourceEndedAt): (WebKit::WebViewImpl::dragSourceMovedTo): (WebKit::WebViewImpl::dragTargetDrop): (WebKit::WebViewImpl::dragTargetDragEnterOrOver): * src/WebViewImpl.h: 2010-06-21 Kent Tamura Reviewed by Dimitri Glazkov. [Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER https://bugs.webkit.org/show_bug.cgi?id=40905 EVENTSOURCE: It is already enabled in Chromium browser. This fixes some tests with Chromium DRT. FILE_WRITER and IMAGE_RESIZER: Enable experimental features in order to test them before enabling them in Chromium browser. * features.gypi: 2010-06-21 Satish Sampath Reviewed by Steve Block. Speech Input Patch 0: Added compilation argument to conditionally compile pending patches. https://bugs.webkit.org/show_bug.cgi?id=40878 * features.gypi: 2010-06-21 Mikhail Naganov Reviewed by Yury Semikhatsky. [Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread. Also, move WebDevToolsMessageTransport to its own header file. https://bugs.webkit.org/show_bug.cgi?id=40913 * DEPS: * WebKit.gyp: * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: * public/WebDevToolsMessageTransport.h: Added. (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport): * src/WebDevToolsAgentImpl.cpp: (WebKit::): 2010-06-20 Yury Semikhatsky Reviewed by Pavel Feldman. [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes v8 debugging protocol. * src/DebuggerAgentManager.cpp: (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol): 2010-06-19 Jay Civelli Reviewed by David Levin. Adding a < operator to WebURLs so they can be used in std::maps. https://bugs.webkit.org/show_bug.cgi?id=40632 * public/WebCString.h: (WebKit::operator<): * public/WebURL.h: (WebKit::operator<): * src/WebCString.cpp: (WebKit::WebCString::compare): 2010-06-19 Kent Tamura Unreviewed. Build fix for r61488. * features.gypi: Define use_accelerated_compositing. 2010-06-19 Thomas Van Lenten Reviewed by David Levin. Warnings from -Wextra in a Chromium Mac build 1. checks of unsigned >= 0 2. enumeral and non-enumeral type in conditional expression 3. copy ctors that don't call the super copy ctor or ctor https://bugs.webkit.org/show_bug.cgi?id=40791 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::getSuggestion): (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): (WebKit::AutoFillPopupMenuClient::valueChanged): (WebKit::AutoFillPopupMenuClient::selectionChanged): * src/AutocompletePopupMenuClient.cpp: (WebKit::AutocompletePopupMenuClient::getSuggestion): (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex): 2010-06-19 Zhe Su Reviewed by Darin Fisher. [chromium]Refactor input method related APIs. https://bugs.webkit.org/show_bug.cgi?id=40608 * WebKit.gyp: * public/WebCompositionCommand.h: * public/WebCompositionUnderline.h: Added. (WebKit::WebCompositionUnderline::WebCompositionUnderline): * public/WebTextInputType.h: Added. (WebKit::): * public/WebViewClient.h: * public/WebWidget.h: * public/WebWidgetClient.h: (WebKit::WebWidgetClient::resetInputMethod): * src/CompositionUnderlineBuilder.h: Added. (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder): * src/CompositionUnderlineVectorBuilder.cpp: Added. (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder): * src/CompositionUnderlineVectorBuilder.h: Added. * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::setInputMethodState): * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::setComposition): (WebKit::WebPopupMenuImpl::confirmComposition): (WebKit::WebPopupMenuImpl::textInputType): (WebKit::WebPopupMenuImpl::caretOrSelectionBounds): * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleCompositionEvent): (WebKit::WebViewImpl::setComposition): (WebKit::WebViewImpl::confirmComposition): (WebKit::WebViewImpl::textInputType): (WebKit::WebViewImpl::caretOrSelectionBounds): * src/WebViewImpl.h: 2010-06-19 Victoria Kirst Reviewed by David Levin. Modifying the WebMediaPlayer interface to be compatible with a change in chrome. This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome has been updated, so this commit should NOT break chromium anymore, nor should it cause any test failures. https://bugs.webkit.org/show_bug.cgi?id=39445 * public/WebMediaPlayer.h: Changed buffered() to be non-const. 2010-06-19 Zhenyao Mo Reviewed by Dimitri Glazkov. fast/canvas/webgl/get-active-test.html failed in Chrome Mac https://bugs.webkit.org/show_bug.cgi?id=40496 * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent(). (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib): (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform): (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): 2010-06-18 Aaron Boodman Remove WebKit::WebDocument::isXHTMLDocument. https://bugs.webkit.org/show_bug.cgi?id=40815 * public/WebDocument.h: Remove isXHTMLDocument(). * src/WebDocument.cpp: Ditto. 2010-06-19 Aaron Boodman Unreviewed, rolling out r61466. http://trac.webkit.org/changeset/61466 https://bugs.webkit.org/show_bug.cgi?id=40816 Landed wrong change * src/WebKit.cpp: (WebKit::shutdown): 2010-06-18 Aaron Boodman WebKit API: Undo static hooks into V8 when WebKit is shut downm https://bugs.webkit.org/show_bug.cgi?id=40816 * src/WebKit.cpp: (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded(). 2010-06-18 Drew Wilson Reviewed by Darin Fisher. [Chromium] Plumbing for top-level frame names https://bugs.webkit.org/show_bug.cgi?id=40430 * public/WebFrame.h: Removed obsolete clearName() API and added better documentation for setName(). * src/WebFrameImpl.cpp: Removed clearName() API. * src/WebFrameImpl.h: Removed clearName() API. 2010-06-18 Drew Wilson Reviewed by Dumitru Daniliuc. Roll chromium DEPS 50089:50171 https://bugs.webkit.org/show_bug.cgi?id=40842 * DEPS: Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName(). 2010-06-18 Mikhail Naganov Reviewed by Yury Semikhatsky. Implement 'takeHeapSnapshot' in InspectorController. https://bugs.webkit.org/show_bug.cgi?id=40834 * src/js/HeapProfilerPanel.js: (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): * src/js/ProfilerAgent.js: (devtools.ProfilerAgent.prototype.startProfiling): 2010-06-18 Anton Muhin Reviewed by Dimitri Glazkov. [v8] Finish migration to new named property query API https://bugs.webkit.org/show_bug.cgi?id=40771 Remove definition which allowed gradual transition to new API. See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase. Requires V8 roll. * DEPS: 2010-06-17 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: bring XHR console records back. - adds "Enable XHR Monitor" / "Disable XHR Monitor" actions to the console's context menu - make the chosen option persist in the settings. https://bugs.webkit.org/show_bug.cgi?id=40799 * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-06-15 Dumitru Daniliuc Reviewed by Adam Barth. Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase. https://bugs.webkit.org/show_bug.cgi?id=39041 * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDatabase): (WebKit::WebRuntimeFeatures::isDatabaseEnabled): 2010-06-17 Tony Chang Reviewed by Kent Tamura. [chromium] cleanup redundant DEPS value and remove buildbot cleanup code https://bugs.webkit.org/show_bug.cgi?id=40615 * DEPS: tools/data_pack was listed twice for linux (harmless, but unnecessary) 2010-06-17 Jeremy Moskovich Reviewed by Darin Fisher. [Chromium API] Implement WebSandboxSupport on OS X and add stubs to allow OOP loading of fonts. https://bugs.webkit.org/show_bug.cgi?id=40544 * WebKit.gyp: Add mac WebSandboxSupport.h * public/mac/WebSandboxSupport.h: Added. * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::loadFont): 2010-06-17 Pavel Feldman Unreviewed: chromium tests fix. Added InspectorBackend delegates for new inspector methods. * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-06-17 Mikhail Naganov Reviewed by Pavel Feldman. [Chromium] Prepare to making WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual https://bugs.webkit.org/show_bug.cgi?id=39302 * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport): * src/WebDevToolsAgentImpl.cpp: (WebKit::): (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread): 2010-06-17 John Gregg Reviewed by David Levin. Undo the build fix with the correct patch: Chromium NotificationPresenter is now informed of the destruction before it actually happens, so this use of the Notification object is correct. https://bugs.webkit.org/show_bug.cgi?id=40097 * src/NotificationPresenterImpl.cpp: (WebKit::NotificationPresenterImpl::notificationObjectDestroyed): 2010-06-16 Kent Tamura Reviewed by Dimitri Glazkov. [DRT/Chromium] Set current working directory for each of tests https://bugs.webkit.org/show_bug.cgi?id=40668 * DEPS: Update Chromium to r49915 to have webkit_support::SetCurrentDirectoryForFileURL(). 2010-06-16 Drew Wilson Reviewed by Kent Tamura. Added plumbing to Chromium WebKit API to allow setting/getting the name of top level frames. https://bugs.webkit.org/show_bug.cgi?id=40430 * public/WebFrame.h: Added setName() API. * public/WebViewClient.h: (WebKit::WebViewClient::createView): Now takes a "name" parameter. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::createWindow): Passes a name parameter. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::setName): Allows setting the frame name by calling through to the WebCore API. * src/WebFrameImpl.h: 2010-06-15 Darin Adler Reviewed by Adam Barth. Move functions out of Frame class that were marked "move to Chrome" https://bugs.webkit.org/show_bug.cgi?id=39636 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose on FrameLoader instead of going through Frame. 2010-06-11 Darin Fisher Reviewed by Brady Eidson. Expose WebHistoryItem::itemSequenceNumber. https://bugs.webkit.org/show_bug.cgi?id=40451 * public/WebHistoryItem.h: * src/WebHistoryItem.cpp: (WebKit::WebHistoryItem::itemSequenceNumber): (WebKit::WebHistoryItem::setItemSequenceNumber): 2010-06-15 Yury Semikhatsky Reviewed by Pavel Feldman. [v8] Web Inspector: make ui tests pass when ScriptDebugServer is used https://bugs.webkit.org/show_bug.cgi?id=40623 * src/js/DebuggerAgent.js: (devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions. * src/js/DebuggerScript.js: * src/js/Tests.js: (.TestSuite.prototype.testProfilerTab.findVisibleView): (.TestSuite.prototype.testProfilerTab): (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): (.TestSuite.prototype.testSetBreakpoint.this): (.TestSuite.prototype.testSetBreakpoint): (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit): (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage): (.TestSuite.prototype.testExpandScope.examineScopes): (.TestSuite.prototype.testExpandScope): (.TestSuite.prototype.testDebugIntrinsicProperties): 2010-06-14 Anders Carlsson Fix Chromium build. * src/WebPluginListBuilderImpl.cpp: (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType): 2010-06-14 Dumitru Daniliuc Reviewed by Adam Barth. Get DatabaseTracker ready for sync DBs. https://bugs.webkit.org/show_bug.cgi?id=39041 * public/WebDatabase.h: * src/DatabaseObserver.cpp: (WebCore::DatabaseObserver::databaseOpened): (WebCore::DatabaseObserver::databaseModified): (WebCore::DatabaseObserver::databaseClosed): * src/WebDatabase.cpp: (WebKit::WebDatabase::closeDatabaseImmediately): (WebKit::WebDatabase::WebDatabase): (WebKit::WebDatabase::operator=): (WebKit::WebDatabase::operator WTF::PassRefPtr): 2010-06-14 Chris Fleizach Reviewed by Darin Adler. AX: need ListItemRole and PresentationalRole https://bugs.webkit.org/show_bug.cgi?id=40133 * public/WebAccessibilityRole.h: * src/AssertMatchingEnums.cpp: 2010-06-14 Anders Carlsson Reviewed by Sam Weinig. Remove pluginIndex from MimeClassInfo https://bugs.webkit.org/show_bug.cgi?id=40588 * src/WebPluginListBuilderImpl.cpp: (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin): 2010-06-14 Jeremy Orlow Build fix. * src/IDBCallbacksProxy.h: 2010-06-14 Ilya Tikhonovsky Reviewed by Pavel Feldman. WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc data from inspected page to WebInspector as JSON string via http. The native serialization to JSON string is supported by InspectorValue's classes. This patch has the implementation of sendMessageToFrontend function. WebKit version of it still uses ScriptFunctionCall and will be switched to another transport a little bit later. https://bugs.webkit.org/show_bug.cgi?id=40134 * src/InspectorClientImpl.cpp: (WebKit::InspectorClientImpl::sendMessageToFrontend): * src/InspectorClientImpl.h: * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController): 2010-06-13 Tony Chang Reviewed by Darin Fisher. [chromium] checkout chromium third_party directly https://bugs.webkit.org/show_bug.cgi?id=40556 * DEPS: 2010-06-13 Tony Chang Build fix, not reviewed. fix chromium compile after r61094 (id attribute refactor) https://bugs.webkit.org/show_bug.cgi?id=40553 * src/ChromeClientImpl.cpp: * src/WebFormControlElement.cpp: (WebKit::WebFormControlElement::nameForAutofill): 2010-06-13 Andras Becsi Reviewed by Darin Adler. Centralize the gperf code generation commands into make-hash-tools.pl to avoid redundancy across multiple build systems. Do this in preparation of refactoring the usage of these generated sources to fix the debug linking error on Linux with gcc >= 4.4.0. webkit.org/b/29244 * src/WebEntities.cpp: 2010-06-11 Eric Seidel Reviewed by Adam Barth. Rename the rest of the *Tokenizer classes to *DocumentParser https://bugs.webkit.org/show_bug.cgi?id=40507 * src/WebEntities.cpp: - Fix a comment to match new class names. 2010-06-12 Evan Stade Reviewed by Eric Seidel. [chromium] Menu key should act on current selection even if it is not editable https://bugs.webkit.org/show_bug.cgi?id=40348 Allow the menu key to act on non-editable selections. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::sendContextMenuEvent): 2010-06-11 James Hawkins Reviewed by Darin Fisher. [Chromium] Notify the WebView when the AutoFill popup hides. https://bugs.webkit.org/show_bug.cgi?id=40459 * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::selectionCleared): 2010-06-11 Tony Gentilcore Reviewed by Dimitri Glazkov. Roll chromium DEPS 49376:49521 https://bugs.webkit.org/show_bug.cgi?id=40488 * DEPS: 2010-06-10 Jeremy Orlow Reviewed by Steve Block. Implement more of IndexedDB's Indexes and ObjectStores https://bugs.webkit.org/show_bug.cgi?id=40424 Add plumbing for both of these classes. * public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::name): (WebKit::WebIDBDatabase::description): (WebKit::WebIDBDatabase::version): (WebKit::WebIDBDatabase::objectStores): (WebKit::WebIDBDatabase::objectStore): (WebKit::WebIDBDatabase::removeObjectStore): * public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::indexNames): (WebKit::WebIDBObjectStore::createIndex): (WebKit::WebIDBObjectStore::index): (WebKit::WebIDBObjectStore::removeIndex): * src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::name): (WebCore::IDBDatabaseProxy::description): (WebCore::IDBDatabaseProxy::version): (WebCore::IDBDatabaseProxy::objectStores): (WebCore::IDBDatabaseProxy::objectStore): (WebCore::IDBDatabaseProxy::removeObjectStore): * src/IDBDatabaseProxy.h: * src/IDBObjectStoreProxy.cpp: (WebCore::IDBObjectStoreProxy::indexNames): (WebCore::IDBObjectStoreProxy::createIndex): (WebCore::IDBObjectStoreProxy::index): (WebCore::IDBObjectStoreProxy::removeIndex): * src/IDBObjectStoreProxy.h: * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl): (WebKit::WebIDBDatabaseImpl::name): (WebKit::WebIDBDatabaseImpl::description): (WebKit::WebIDBDatabaseImpl::version): (WebKit::WebIDBDatabaseImpl::objectStores): (WebKit::WebIDBDatabaseImpl::createObjectStore): (WebKit::WebIDBDatabaseImpl::objectStore): (WebKit::WebIDBDatabaseImpl::removeObjectStore): * src/WebIDBDatabaseImpl.h: * src/WebIDBObjectStoreImpl.cpp: (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl): (WebKit::WebIDBObjectStoreImpl::name): (WebKit::WebIDBObjectStoreImpl::keyPath): (WebKit::WebIDBObjectStoreImpl::indexNames): (WebKit::WebIDBObjectStoreImpl::createIndex): (WebKit::WebIDBObjectStoreImpl::index): (WebKit::WebIDBObjectStoreImpl::removeIndex): * src/WebIDBObjectStoreImpl.h: 2010-06-11 Alexander Pavlov Reviewed by Pavel Feldman. Web Inspector: Enable serialization/deserialization of the frontend state https://bugs.webkit.org/show_bug.cgi?id=40228 * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-06-10 Søren Gjesse Reviewed by Pavel Feldman. V8: Chromium test expectations not matching improved V8 JavaScript stepping https://bugs.webkit.org/show_bug.cgi?id=40419 Update test expetations to match chaged V8 break locations. * src/js/Tests.js: 2010-06-10 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: Port performSearch from InjectedScript to InspectorDOMAgent. https://bugs.webkit.org/show_bug.cgi?id=40422 * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): 2010-06-11 Vangelis Kokkevis Reviewed by David Levin. [chromium] Adding a build dependency to the gles2 C library to the webkit_unit_tests project to allow it to link when WebCore is compiled with the ACCELERATED_COMPOSITING flag. https://bugs.webkit.org/show_bug.cgi?id=40341 * WebKit.gyp: 2010-06-10 Kent Tamura Reviewed by Dimitri Glazkov. [DRT/Chromium] Support plugin tests https://bugs.webkit.org/show_bug.cgi?id=40413 * DEPS: Bump the Chromium revision to r49376 to have a npapi_layout_test_plugin change and Linux resources. Add third_party/mesa because app/ depends on them since r49332. * WebKit.gyp: Copy a plugin binary for DRT to recognize it. 2010-06-10 James Hawkins Not reviwed. Build fix for Chromium Mac Release. * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::getSuggestion): (WebKit::AutoFillPopupMenuClient::valueChanged): (WebKit::AutoFillPopupMenuClient::selectionChanged): (WebKit::AutoFillPopupMenuClient::itemIsSeparator): 2010-06-09 James Hawkins Reviewed by Darin Fisher. [Chromium] Add the ability to specify a separator in AutoFillPopupMenuClient. https://bugs.webkit.org/show_bug.cgi?id=40397 * public/WebViewClient.h: (WebKit::WebViewClient::didAcceptAutoFillSuggestion): * src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::getSuggestionsCount): (WebKit::AutoFillPopupMenuClient::getSuggestion): (WebKit::AutoFillPopupMenuClient::valueChanged): (WebKit::AutoFillPopupMenuClient::selectionChanged): (WebKit::AutoFillPopupMenuClient::itemIsSeparator): (WebKit::AutoFillPopupMenuClient::initialize): (WebKit::AutoFillPopupMenuClient::setSuggestions): * src/AutoFillPopupMenuClient.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::applyAutoFillSuggestions): * src/WebViewImpl.h: 2010-06-10 Dmitry Titov Not reviewed, Chromium build fix from Abhishek Arya. * src/WebImageCG.cpp: (WebKit::WebImage::WebImage): (WebKit::WebImage::operator=): 2010-06-10 Abhishek Arya Reviewed by Dimitri Glazkov. Add null pointer checks for nativeImageForCurrentFrame function calls. https://bugs.webkit.org/show_bug.cgi?id=39797 * src/WebImageCG.cpp: (WebKit::WebImage::WebImage): (WebKit::WebImage::operator=): 2010-06-10 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: to reduce the front end start up time don't push script sources to frontend if debugger is always enabled, instead request script content lazily at the moment it should be displyed. It is critical for always enabled debugger because in that case lots of script may have already been parsed when the front end is opening and pushing all of them at once may slow things down(even though the script sources will never be used if scripts panel isn't open). https://bugs.webkit.org/show_bug.cgi?id=40364 * src/js/DevTools.js: * src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl): (.devtools.InspectorBackendImpl.prototype.getScriptSource): 2010-06-10 Mike Belshe Reviewed by David Levin Track whether a resource is loaded via a proxy. https://bugs.webkit.org/show_bug.cgi?id=40312 * public/WebURLResponse.h: * src/WebURLResponse.cpp: (WebKit::WebURLResponse::wasFetchedViaProxy): (WebKit::WebURLResponse::setWasFetchedViaProxy): 2010-06-10 Vangelis Kokkevis Reviewed by Dimitri Glazkov. [chromium] Adding the ANGLE project to the DEPS file as it's required by the gpu-accelerated compositor. https://bugs.webkit.org/show_bug.cgi?id=40379 * DEPS: 2010-06-09 Bo Liu Reviewed by David Levin. [Chromium] Pass