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