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