<<<<<<< HEAD ======= 2010-01-31 Kent Tamura Reviewed by Jeremy Orlow. [Chromium] Fix a bug that a selected word is not recognized as a spell-check source. https://bugs.webkit.org/show_bug.cgi?id=33660 * src/ContextMenuClientImpl.cpp: (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check the return value of textBreakNext(). 2010-01-29 Jeremy Orlow Reviewed by Dimitri Glazkov. A first step towards the Indexed Database API https://bugs.webkit.org/show_bug.cgi?id=34342 Add runtime enable support for Indexed Database API. * features.gypi: * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableIndexedDatabase): (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled): 2010-01-29 Yury Semikhatsky Reviewed by Pavel Feldman. Add API methods for loading inspector utility scripts. https://bugs.webkit.org/show_bug.cgi?id=34326 * public/WebDevToolsAgentClient.h: (WebKit::WebDevToolsAgentClient::injectedScriptSource): (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource): 2010-01-29 Darin Fisher Reviewed by Adam Barth. Add FrameLoaderClient::allowImages method to allow the client to overrule image loading policy on a per frame basis. https://bugs.webkit.org/show_bug.cgi?id=34225 * public/WebFrameClient.h: (WebKit::WebFrameClient::allowImages): * public/WebSettings.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::allowImages): * src/FrameLoaderClientImpl.h: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setImagesEnabled): * src/WebSettingsImpl.h: 2010-01-28 Jeremy Orlow Reviewed by Darin Fisher. StorageNamespaceProxy::copy() should be a no-op https://bugs.webkit.org/show_bug.cgi?id=34298 The comment in the code should make clear why. * public/WebViewClient.h: * src/StorageNamespaceProxy.cpp: (WebCore::StorageNamespaceProxy::copy): 2010-01-28 Michael Nordman Reviewed by Alexey Proskuryakov. ApplicationCache events should be deferred until after Document onload has fired. https://bugs.webkit.org/show_bug.cgi?id=29690 * src/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true. (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event. (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag. 2010-01-27 Aaron Boodman Reviewed by Darin Adler. Send full URL and application id of requesting context to Chromium when checking notification permissions. https://bugs.webkit.org/show_bug.cgi?id=34238 * public/WebDocument.h: * src/WebDocument.cpp: (WebKit::WebDocument::applicationID): Implement applicationID() method. * public/WebNotificationPresenter.h: * src/NotificationPresenterImpl.cpp: (WebKit::NotificationPresenterImpl::checkPermission): * src/NotificationPresenterImpl.h: Send applicationID and full URL through to Chromium. 2010-01-27 Darin Fisher Reviewed by Pavel Feldman. Expose HistoryItem::documentSequenceNumber https://bugs.webkit.org/show_bug.cgi?id=34243 * public/WebHistoryItem.h: * src/WebHistoryItem.cpp: (WebKit::WebHistoryItem::documentSequenceNumber): (WebKit::WebHistoryItem::setDocumentSequenceNumber): 2010-01-26 Darin Fisher Reviewed by David Levin. Add methods to support running a nested modal loop outside of WebKit. https://bugs.webkit.org/show_bug.cgi?id=34199 * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer 2010-01-27 Darin Fisher Reviewed by Dimitri Glazkov. Adding missing WebMutationEvent.cpp file to fix build bustage. https://bugs.webkit.org/show_bug.cgi?id=33882 * public/WebMutationEvent.h: Remove unnecessary constructor. * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h. * src/WebMutationEvent.cpp: Added. 2010-01-27 Jay Campan Reviewed by Darin Fisher. Adding EventListeners to the chromium API. https://bugs.webkit.org/show_bug.cgi?id=33882 * WebKit.gyp: * public/WebEvent.h: Added. * public/WebEventListener.h: Added. * public/WebMutationEvent.h: Added. * public/WebNode.h: * public/WebString.h: (WebKit::operator==): (WebKit::operator!=): * src/EventListenerWrapper.cpp: Added. * src/EventListenerWrapper.h: Added. * src/WebEvent.cpp: Added. * src/WebEventListener.cpp: Added. * src/WebEventListenerPrivate.cpp: Added. * src/WebEventListenerPrivate.h: Added. * src/WebNode.cpp: (WebKit::WebNode::addEventListener): (WebKit::WebNode::removeEventListener): * src/WebString.cpp: (WebKit::WebString::equals): 2010-01-26 Yaar Schnitman Reviewed by Darin Fisher. Add KeyboardTest to WebKit API tests https://bugs.webkit.org/show_bug.cgi?id=34178 * WebKit.gyp: * tests/KeyboardTest.cpp: Added. 2010-01-22 Jeremy Orlow Reviewed by Darin Adler. Make storage events match the spec. https://bugs.webkit.org/show_bug.cgi?id=30546 Update the storageEvent algorithm to match the change in WebCore. * src/StorageAreaProxy.cpp: (WebCore::StorageAreaProxy::storageEvent): 2010-01-22 Elliot Glaysher Reviewed by David Levin. Chromium: theme selection colors to match gtk theme Add functions to RenderThemeChromiumLinux to change the selection color according to the current GTK+ theme. Since the change is to the Chromium WebKit API layer, testing is done in Chromium's test shell (see Chromium side of this patch: http://codereview.chromium.org/554004) https://bugs.webkit.org/show_bug.cgi?id=33921 * public/WebView.h: Adds interface to change the selection colors * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setSelectionColors): Implements new interface. * src/WebViewImpl.h: 2010-01-22 Steve VanDeBogart Reviewed by David Levin. Middle clicking the main scroll bars should not trigger a paste event in Linux chromium. https://bugs.webkit.org/show_bug.cgi?id=33062 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::mouseUp): 2010-01-22 Albert J. Wong Not reviewed. backout. Backout r53705. Causes ui_tests to timeout, and browser_tests to fail with TestConnectToBadPort and WindowOpenInvalidExtension. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): * src/WebViewImpl.h: 2010-01-22 Peter Kasting Not reviewed, backout. Back out r52673, which caused several regressions. https://bugs.webkit.org/show_bug.cgi?id=32533 * src/AutocompletePopupMenuClient.cpp: (WebKit::AutocompletePopupMenuClient::initialize): (WebKit::AutocompletePopupMenuClient::popupDidHide): (WebKit::AutocompletePopupMenuClient::setTextFromItem): * src/AutocompletePopupMenuClient.h: 2010-01-21 Jeremy Orlow Reviewed by Darin Fisher. The Chromium WebKit API needs to expose storage event related data https://bugs.webkit.org/show_bug.cgi?id=33985 setItem and removeItem on WebStorageArea need to expose what the previous value was for the key being modified. Clear needs to return whether it actually cleared anything. * public/WebStorageArea.h: (WebKit::WebStorageArea::setItem): (WebKit::WebStorageArea::removeItem): (WebKit::WebStorageArea::clear): * src/StorageAreaProxy.cpp: (WebCore::StorageAreaProxy::StorageAreaProxy): (WebCore::StorageAreaProxy::setItem): (WebCore::StorageAreaProxy::removeItem): (WebCore::StorageAreaProxy::clear): (WebCore::StorageAreaProxy::storageEvent): * src/StorageAreaProxy.h: * src/StorageNamespaceProxy.cpp: (WebCore::StorageNamespace::localStorageNamespace): (WebCore::StorageNamespace::sessionStorageNamespace): (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): (WebCore::StorageNamespaceProxy::copy): (WebCore::StorageNamespaceProxy::storageArea): * src/StorageNamespaceProxy.h: * src/WebStorageAreaImpl.cpp: (WebKit::WebStorageAreaImpl::setItem): (WebKit::WebStorageAreaImpl::removeItem): (WebKit::WebStorageAreaImpl::clear): * src/WebStorageAreaImpl.h: 2010-01-21 Darin Fisher Reviewed by David Levin. [Chromium] spurious WebViewClient::didStopLoading if changing location.hash while a subframe is still loading https://bugs.webkit.org/show_bug.cgi?id=33884 This is a refinement of http://trac.webkit.org/changeset/51548 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::didStartLoading): (WebKit::WebViewImpl::didStopLoading): * src/WebViewImpl.h: 2010-01-21 Adam Barth Unreviewed. Added a blank line requested by the great an powerful fishd. * public/WebFrameClient.h: 2010-01-21 Adam Barth Reviewed by Eric Seidel. [chromium] Add allowPlugins callback to allow per-site enabling of plugins https://bugs.webkit.org/show_bug.cgi?id=33974 Forward the new allowPlugins callback to WebKitClient so that it can make the policy decision. * public/WebFrameClient.h: (WebKit::WebFrameClient::allowPlugins): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::allowJavaScript): (WebKit::FrameLoaderClientImpl::allowPlugins): * src/FrameLoaderClientImpl.h: 2010-01-21 James Robinson Reviewed by Darin Fisher. Bumps the refcount when WebNode::toElement/toConstElement are called. https://bugs.webkit.org/show_bug.cgi?id=33977 Ensures that when a wrapper around a WebNode is create via the toElement() or toConstElement() calls that the refcount on the WebNode is increased, by forcing a call to WebNode::assign(). This is needed so that the following code: { WebNode n = someNode(); WebElement e = n.toElement(); } does not decrease the overall refcount on the Node that someNode() returns. This caused crashes in the 'Save page as..' feature. * public/WebNode.h: (WebKit::WebNode::toElement): (WebKit::WebNode::toConstElement): 2010-01-21 Michael Nordman Reviewed by Darin Fisher. Adds WebKit::WebDataSource::applicationCacheHost() to the API. https://bugs.webkit.org/show_bug.cgi?id=33880 * WebKit.gyp: * public/WebDataSource.h: * src/ApplicationCacheHost.cpp: * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp. (WebCore::ApplicationCacheHostInternal::notifyEventListener): (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost): * src/WebDataSourceImpl.cpp: (WebKit::WebDataSourceImpl::applicationCacheHost): * src/WebDataSourceImpl.h: 2010-01-21 Eric Uhrhane Reviewed by Dmitry Titov. Add changes missing from r53595, without which Chromium has no database. https://bugs.webkit.org/show_bug.cgi?id=33966 No new tests - fixes database layout tests in Chromium. * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDatabase): (WebKit::WebRuntimeFeatures::isDatabaseEnabled): 2010-01-21 Kenneth Russell Reviewed by Oliver Hunt. [Chromium] Implement texSubImage2D taking WebGLArray https://bugs.webkit.org/show_bug.cgi?id=33932 * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::texSubImage2D): 2010-01-20 Vitaly Repeshko Reviewed by Pavel Feldman. [V8] Support SerializedScriptValue. https://bugs.webkit.org/show_bug.cgi?id=32920 http://crbug.com/30620 Updated uses of SerializedScriptValue: * src/PlatformMessagePortChannel.cpp: (WebCore::PlatformMessagePortChannel::postMessageToRemote): (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::postMessageToWorkerObject): * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): * src/WebWorkerImpl.cpp: (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 2010-01-20 Shinichiro Hamaji Reviewed by Darin Fisher. [Chromium] computePageRectsForFrame seems to be unnecessary https://bugs.webkit.org/show_bug.cgi?id=33881 * src/WebFrameImpl.cpp: Stop including FrameChromium.h 2010-01-19 Jon Honeycutt Chromium build fix. * public/WebAccessibilityRole.h: (WebKit::): Correct enum names. * src/LocalizedStrings.cpp: (WebCore::AXMenuListPopupActionVerb): Stubbed. (WebCore::AXMenuListActionVerb): Stubbed. 2010-01-19 Jon Honeycutt Chromium build fix. * public/WebAccessibilityRole.h: (WebKit::): * src/AssertMatchingEnums.cpp: 2010-01-18 Jonathan Dixon Reviewed by Adam Barth. Add support for enabling navigator.geolocation at runtime in the V8 bindings. Adds the [EnabledAtRuntime] modifier to the navigator IDL. https://bugs.webkit.org/show_bug.cgi?id=33467 * public/WebRuntimeFeatures.h: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableGeolocation): (WebKit::WebRuntimeFeatures::isGeolocationEnabled): 2010-01-17 Kent Tamura Reviewed by Shinichiro Hamaji. [Chromium] Remove an old runFileChooser() method. https://bugs.webkit.org/show_bug.cgi?id=33778 Chromium code switched to new runFileChooser() introduced by r53269. The old one is not needed anymore. * public/WebViewClient.h: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::runOpenPanel): 2010-01-15 Eric Seidel No review, rolling out r53344. http://trac.webkit.org/changeset/53344 https://bugs.webkit.org/show_bug.cgi?id=32920 Broke the Chromium Mac builder. * src/PlatformMessagePortChannel.cpp: (WebCore::PlatformMessagePortChannel::postMessageToRemote): (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::postMessageToWorkerObject): * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): * src/WebWorkerImpl.cpp: (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 2010-01-15 Vitaly Repeshko Reviewed by David Levin. [V8] Support SerializedScriptValue. https://bugs.webkit.org/show_bug.cgi?id=32920 http://crbug.com/30620 Updated uses of SerializedScriptValue: * src/PlatformMessagePortChannel.cpp: (WebCore::PlatformMessagePortChannel::postMessageToRemote): (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::postMessageToWorkerObject): * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): * src/WebWorkerImpl.cpp: (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 2010-01-14 Jeremy Orlow Reviewed by Oliver Hunt. [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy https://bugs.webkit.org/show_bug.cgi?id=33704 * src/StorageNamespaceProxy.cpp: (WebCore::StorageNamespace::localStorageNamespace): (WebCore::StorageNamespace::sessionStorageNamespace): 2010-01-14 Marcus Bulach Reviewed by Dimitri Glazkov. Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier. https://bugs.webkit.org/show_bug.cgi?id=33648 * public/WebSecurityOrigin.h: * src/WebSecurityOrigin.cpp: (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier): 2010-01-14 Brian Weinstein Reviewed by Adam Roben. Drag and Drop source/destination code needs cleanup. . Update to new way of calling sourceOperation. * src/DragClientImpl.cpp: (WebKit::DragClientImpl::startDrag): 2010-01-14 Nate Chapin Reviewed by Dimitri Glazkov. Remove references to V8DOMWrapper::convertToNative*(). https://bugs.webkit.org/show_bug.cgi?id=33677 * src/WebBindings.cpp: (WebKit::getDragDataImpl): (WebKit::getRangeImpl): 2010-01-14 Kent Tamura Reviewed by Darin Fisher. Introduce WebFileChooserParams to convey parameters for WebViewClient::runFileChooser(), and add new parameters to it. https://bugs.webkit.org/show_bug.cgi?id=32473 The new parameters are - selected file names - "accept" attribute value * WebKit.gyp: Add WebFileChooserParams.h * public/WebFileChooserParams.h: Added. * public/WebViewClient.h: (WebKit::WebViewClient::runFileChooser): Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::runOpenPanel): Call the new runFileChooser() first, then call the old runFileChooser() if the new one failed. 2010-01-13 Kenneth Russell Reviewed by Oliver Hunt. Need to implement WebGLContextAttributes https://bugs.webkit.org/show_bug.cgi?id=31169 Added the WebGLContextAttributes class and custom JavaScript bindings to accept a native object as the second argument to getContext("experimental-webgl") per the WebGL specification. Added GraphicsContext3D::Attributes struct to isolate DOM and graphics layers. Added getContextAttributes() to WebGLRenderingContext. Added test case ensuring that context attributes can be passed down and returned. Tested in Safari and Chromium. The attributes will be hooked up to the creation of the OpenGL context in bug 33416. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::getContextAttributes): (WebCore::GraphicsContext3D::create): (WebCore::GraphicsContext3D::GraphicsContext3D): (WebCore::GraphicsContext3D::getContextAttributes): 2010-01-13 Jon Honeycutt MSAA: selected, selectable, extended selectable, and multiple selectable states are not reported https://bugs.webkit.org/show_bug.cgi?id=33574 Reviewed by Darin Adler. * public/WebAccessibilityObject.h: Update for WebCore::AccessibilityObject function rename. * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::isMultiSelectable): Ditto. 2010-01-13 Jeremy Orlow Reviewed by Darin Fisher. [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient https://bugs.webkit.org/show_bug.cgi?id=33492 * public/WebKitClient.h: * public/WebViewClient.h: (WebKit::WebViewClient::createSessionStorageNamespace): * src/StorageNamespaceProxy.cpp: (WebCore::StorageNamespace::sessionStorageNamespace): 2010-01-13 Jeremy Orlow No reviewer. More or less a build fix. My 53180 broke some stuff on the Chromium port so I'm reverting. * public/WebKitClient.h: * public/WebViewClient.h: * src/StorageNamespaceProxy.cpp: (WebCore::StorageNamespace::sessionStorageNamespace): 2010-01-11 Jeremy Orlow Reviewed by Darin Fisher. [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient https://bugs.webkit.org/show_bug.cgi?id=33492 * public/WebKitClient.h: * public/WebViewClient.h: (WebKit::WebViewClient::getSessionStorageNamespace): * src/StorageNamespaceProxy.cpp: (WebCore::StorageNamespace::sessionStorageNamespace): 2010-01-11 Darin Fisher Reviewed by Dimitri Glazkov. [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once https://bugs.webkit.org/show_bug.cgi?id=33504 * WebKit.gyp: * tests/KURLTest.cpp: (ComponentCase::TEST): * tests/RunAllTests.cpp: Added. (main): * tests/WebKitTest.h: Removed. 2010-01-09 Adam Barth Reviewed by Darin Adler. ScriptController::isEnabled needs to be renamed https://bugs.webkit.org/show_bug.cgi?id=32063 Rename ScriptController::isEnabled to ScriptController::canExecuteScripts. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::bindToWindowObject): 2010-01-08 Daniel Bates Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=33417 Cleans up style errors exposed by the patch for bug #33198. No functionality was changed. So, no new tests. * src/GraphicsContext3D.cpp: 2010-01-08 Darin Fisher Reviewed by Dimitri Glazkov. [Chromium] Upstream webkit unit tests from the chromium repository https://bugs.webkit.org/show_bug.cgi?id=33351 This adds one such test (for KURL) and sets up the test framework. Switch WebKit to build a static library on all platforms. Add a webkit_unit_tests executable target that runs the unit tests and also ensures that we don't have any missing symbols (a function that WebKit as a shared library used to serve). Changes chromium_src_dir to ../../WebKit/chromium to match how WebCore.gyp defines that variable. * WebKit.gyp: * public/WebKitClient.h: (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon. (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon. (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon. (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon. (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon. (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon. * tests: Added. * tests/KURLTest.cpp: Added. * tests/WebKitTest.h: Added. 2010-01-07 Mike Belshe Reviewed by Darin Adler. Fix Spdy casing to match style guide. https://bugs.webkit.org/show_bug.cgi?id=33326 * public/WebURLResponse.h: * src/WebURLResponse.cpp: (WebKit::WebURLResponse::wasFetchedViaSPDY): (WebKit::WebURLResponse::setWasFetchedViaSPDY): 2010-01-07 Daniel Bates Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=32987 Added ENABLE_XHTMLMP flag. Disabled by default. * features.gypi: 2010-01-07 Adam Barth No review, rolling out r52847. http://trac.webkit.org/changeset/52847 https://bugs.webkit.org/show_bug.cgi?id=33232 Might have caused a perf regression. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2010-01-06 Mike Belshe Add a flag to the ResourceResponse for tracking if a request was fetched via SPDY. This is plumbed through so that we can inform a webpage via JavaScript if it was fecthed via the experimental SPDY protocol. https://bugs.webkit.org/show_bug.cgi?id=33186 * public/WebURLResponse.h: * src/WebURLResponse.cpp: (WebKit::WebURLResponse::wasFetchedViaSpdy): (WebKit::WebURLResponse::setWasFetchedViaSpdy): 2010-01-06 Darin Fisher Fix release build bustage. * src/WebKit.cpp: Need to include Logging.h 2010-01-05 Darin Fisher Reviewed by Adam Barth. [Chromium] Expose more APIs to eliminate WebCore usage in Chromium. https://bugs.webkit.org/show_bug.cgi?id=33249 * WebKit.gyp: * public/WebFrame.h: * public/WebGlyphCache.h: Added. * public/WebKit.h: * src/WebFrameImpl.cpp: (WebKit::WebFrame::instanceCount): (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::~WebFrameImpl): * src/WebFrameImpl.h: * src/WebGlyphCache.cpp: Added. (WebKit::WebGlyphCache::pageCount): * src/WebKit.cpp: (WebKit::enableLogChannel): 2010-01-05 Adam Barth Reviewed by Dimitri Glazkov. [v8] Move V8DOMWindowShell to ScriptController https://bugs.webkit.org/show_bug.cgi?id=33232 Update FrameLoaderClientImpl.cpp to call clearForClose on ScriptController instead of on V8Proxy. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): 2010-01-05 Rachel Petterson Reviewed by Adam Barth. Matches the texImage2D and texSubImage2D functions to their declarations. Elminates uncessary versions of those functions. https://bugs.webkit.org/show_bug.cgi?id=31562 Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493 * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::texImage2D): (WebCore::GraphicsContext3D::texSubImage2D): 2010-01-04 Maciej Stachowiak Reviewed by Darin Fisher. Reorganize, document and rename OS() platform macros. https://bugs.webkit.org/show_bug.cgi?id=33198 Adapt to name changes. * src/ChromiumBridge.cpp: * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): (WebKit::): (WebKit::EditorClientImpl::handleEditingKeyboardEvent): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::createPlugin): * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::makeContextCurrent): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionAsText): (WebKit::WebFrameImpl::printPage): * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleMouseEvent): (WebKit::WebPluginContainerImpl::handleKeyboardEvent): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::mouseDown): (WebKit::WebViewImpl::mouseContextMenu): (WebKit::WebViewImpl::mouseUp): (WebKit::WebViewImpl::keyEvent): (WebKit::WebViewImpl::sendContextMenuEvent): (WebKit::WebViewImpl::setScrollbarColors): (WebKit::WebViewImpl::navigationPolicyFromMouseEvent): 2010-01-04 Darin Fisher Reviewed by Eric Seidel. [Chromium] Expose more DOM methods to support LayoutTests https://bugs.webkit.org/show_bug.cgi?id=33185 * public/WebDocument.h: Adds documentElement method. * public/WebElement.h: Adds innerText method. * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById methods, and fixes a few whitespace issues. * src/WebDocument.cpp: (WebKit::WebDocument::documentElement): * src/WebElement.cpp: (WebKit::WebElement::innerText): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::clearName): (WebKit::WebFrameImpl::renderTreeAsText): (WebKit::WebFrameImpl::counterValueForElementById): * src/WebFrameImpl.h: 2010-01-04 Darin Fisher Fix Chromium build bustage. * src/WebAnimationControllerImpl.h: 2010-01-04 Yaar Schnitman Reviewed by Darin Fisher. Adding WebAnimationController to chromium's WebKit API. https://bugs.webkit.org/show_bug.cgi?id=32870 * WebKit.gyp: * public/WebAnimationController.h: Added. (WebKit::WebAnimationController::~WebAnimationController): * public/WebFrame.h: * src/WebAnimationControllerImpl.cpp: Added. (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl): (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime): (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime): (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations): * src/WebAnimationControllerImpl.h: Added. (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::animationController): (WebKit::WebFrameImpl::WebFrameImpl): * src/WebFrameImpl.h: 2010-01-04 Jay Campan Reviewed by Darin Fisher Adding more DOM API methods. They are needed for the upcoming translate feature. * public/WebElement.h: * public/WebNode.h: * src/WebElement.cpp: (WebKit::WebElement::tagName): (WebKit::WebElement::setAttribute): * src/WebNode.cpp: (WebKit::WebNode::setNodeValue): 2010-01-03 Adam Barth Reviewed by Eric Seidel. [Chromium] Implement CookieJarChromium::cookiesEnabled https://bugs.webkit.org/show_bug.cgi?id=33123 Call out to the webKitClient() to see if cookies are enabled. Also remove some straggling references to policyURL! * public/WebKitClient.h: (WebKit::WebKitClient::setCookies): (WebKit::WebKitClient::cookies): (WebKit::WebKitClient::rawCookies): (WebKit::WebKitClient::cookiesEnabled): * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::cookiesEnabled): 2010-01-03 Adam Barth Reviewed by Eric Seidel. [Chromium] Remove evaluateInNewContext (it's useless) https://bugs.webkit.org/show_bug.cgi?id=33068 This function has no clients and makes life complicated. Isolated worlds won out over NewContext and there's not really any going back now. * public/WebFrame.h: * src/FrameLoaderClientImpl.h: * src/WebFrameImpl.cpp: * src/WebFrameImpl.h: 2009-12-30 Darin Fisher Reviewed by David Levin. [Chromium] Delete ResourceRequest::securityInfo https://bugs.webkit.org/show_bug.cgi?id=26847 * src/WebWorkerBase.cpp: (WebKit::WebWorkerBase::initializeLoader): 2009-12-30 Albert J. Wong Not reviewed. Trivial Chromium build fix. Add static_cast() to fix signed/unsigned comparison warning. * src/AutocompletePopupMenuClient.cpp: (WebKit::AutocompletePopupMenuClient::selectionChanged): 2009-12-30 Zelidrag Hornung Reviewed by Dimitri Glazkov. Autocomplete in Chromium now offers suggestions within the input element as a user a) types text that produces some autocomplete suggestions, and b) scrolls through suggested values in the menu The suggested value is rendered but not exposed through JS unti the user makes the final selection. No new tests since this new functionality (autocomplete suggestions) is intentionally hidden from everything else than renderer. * src/AutocompletePopupMenuClient.cpp: (WebKit::AutocompletePopupMenuClient::initialize): (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue): (WebKit::AutocompletePopupMenuClient::selectionChanged): (WebKit::AutocompletePopupMenuClient::popupDidHide): (WebKit::AutocompletePopupMenuClient::setTextFromItem): (WebKit::AutocompletePopupMenuClient::resetLastFieldValue): * src/AutocompletePopupMenuClient.h: 2009-12-28 Kinuko Yasuda Reviewed by Maciej Stachowiak. Fixed isKeypadEvent behavior for chromium/Mac to correctly report keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events. https://bugs.webkit.org/show_bug.cgi?id=28247 Test: fast/events/keydown-numpad-keys.html * src/mac/WebInputEventFactory.mm: (WebKit::isKeypadEvent): 2009-12-22 Kenneth Russell Reviewed by Eric Seidel. [Chromium] Garbage in transparent regions of images uploaded as textures https://bugs.webkit.org/show_bug.cgi?id=32888 Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree) * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::texImage2D): 2009-12-22 Adam Langley Build fix: not reviewed. r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the Chromium build on Windows and Mac due to a misplaced #endif. The buildbot didn't find the problem because it runs on Linux. Have verified this patch with the author of the above. * src/GraphicsContext3D.cpp: 2009-12-22 Kenneth Russell Reviewed by Eric Seidel. [Chromium] WebGL crashes intermittently on Linux https://bugs.webkit.org/show_bug.cgi?id=32845 The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a GraphicsContext3D was created was occasionally causing it to be re-mapped at a different base address. Since GLEW is not re-initialized every time, primarily for performance reasons, its cached function pointers were pointing to garbage. Stopped closing and re-opening libGL.so.1 each time; now it is loaded lazily, when the first 3D context is created. Also reused the X display connection since the GLX routines' correctness might hinge upon it not resulting in a change of GL implementation. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig): (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext): (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer): (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer): (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent): (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext): (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext): (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection): (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad): (WebCore::GraphicsContext3DInternal::GLConnection::create): (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection): (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::makeContextCurrent): 2009-12-22 Yaar Schnitman Reviewed by Darin Fisher. autoComplete and getElementById methods for WebKit API https://bugs.webkit.org/show_bug.cgi?id=32866 * public/WebDocument.h: * public/WebInputElement.h: * src/WebDocument.cpp: (WebKit::WebDocument::getElementById): * src/WebInputElement.cpp: (WebKit::WebInputElement::autoComplete): 2009-12-18 Kenneth Russell Reviewed by Darin Fisher. [Chromium] Eliminate redundant data copy in GraphicsContext3D readback https://bugs.webkit.org/show_bug.cgi?id=32763 Eliminated useless creation of a CGBitmapContext and from there a CGImage. Now create CGImage directly from data. Also changed readPixels parameters and CGImage alpha info to try to avoid byte swapping, and disabled interpolation when drawing the GL content. Some test cases run twice as fast with these changes, though more work is needed to achieve desired performance. No test case; performance optimization only. Ran WebGL demos from Khronos site to verify changes. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::reshape): (WebCore::GraphicsContext3DInternal::beginPaint): 2009-12-18 Peter Kasting Reviewed by Adam Barth. Chromium build fix https://bugs.webkit.org/show_bug.cgi?id=32756 * public/WebAccessibilityRole.h: (WebKit::): * src/AssertMatchingEnums.cpp: 2009-12-18 Adam Roben Chromium build fix * src/ChromiumBridge.cpp: * src/WebPluginContainerImpl.cpp: * src/WebViewImpl.cpp: Added #includes. 2009-12-17 Eric Seidel No review, rolling out r52291. http://trac.webkit.org/changeset/52291 https://bugs.webkit.org/show_bug.cgi?id=32618 Darin Fisher points out that this will likely break the SSL security indicator in Chromium. Rolling out for now. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): 2009-12-17 Alexander Pavlov Reviewed by Eric Seidel. Disable memory cache client calls so that a new identifier isn't created for the same resource on reload. With the calls enabled, duplicate entries for cached resources are created in the Web Inspector. Safari for Windows disables the calls near the point of the Frame instance creation, and we just follow this for Chromium. https://bugs.webkit.org/show_bug.cgi?id=32618 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): 2009-12-17 Yaar Schnitman Reviewed by Darin Fisher. Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support downstream unit-testing of serialization. WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding. https://bugs.webkit.org/show_bug.cgi?id=31737 * WebKit.gyp: * public/WebDocument.h: Added. (WebKit::WebDocument::WebDocument): (WebKit::WebDocument::operator=): (WebKit::WebDocument::assign): * public/WebElement.h: * public/WebFormElement.h: (WebKit::WebFormElement::operator=): * public/WebFrame.h: * public/WebNode.h: (WebKit::WebNode::): (WebKit::WebNode::toConstElement): * public/WebNodeCollection.h: Added. (WebKit::WebNodeCollection::~WebNodeCollection): (WebKit::WebNodeCollection::WebNodeCollection): (WebKit::WebNodeCollection::operator=): * public/WebNodeList.h: Added. (WebKit::WebNodeList::~WebNodeList): (WebKit::WebNodeList::WebNodeList): (WebKit::WebNodeList::operator=): * public/WebPageSerializer.h: Added. * public/WebPageSerializerClient.h: Added. (WebKit::WebPageSerializerClient::): (WebKit::WebPageSerializerClient::WebPageSerializerClient): (WebKit::WebPageSerializerClient::~WebPageSerializerClient): * public/WebString.h: * public/WebView.h: * src/AssertMatchingEnums.cpp: * src/DOMUtilitiesPrivate.cpp: (WebKit::elementHasLegalLinkAttribute): * src/DOMUtilitiesPrivate.h: * src/WebDocument.cpp: Added. (WebKit::WebDocument::WebDocument): (WebKit::WebDocument::operator=): (WebKit::WebDocument::operator WTF::PassRefPtr): (WebKit::WebDocument::frame): (WebKit::WebDocument::isHTMLDocument): (WebKit::WebDocument::baseURL): (WebKit::WebDocument::body): (WebKit::WebDocument::head): (WebKit::WebDocument::all): (WebKit::WebDocument::completeURL): * src/WebElement.cpp: (WebKit::WebElement::hasTagName): (WebKit::WebElement::hasAttribute): (WebKit::WebElement::getAttribute): * src/WebEntities.cpp: Added. (WebKit::populateMap): (WebKit::): (WebKit::WebEntities::WebEntities): (WebKit::WebEntities::entityNameByCode): (WebKit::WebEntities::convertEntitiesInString): * src/WebEntities.h: Added. * src/WebFrameImpl.cpp: (WebKit::WebFrame::fromFrameOwnerElement): (WebKit::WebFrameImpl::encoding): (WebKit::WebFrameImpl::document): (WebKit::WebFrameImpl::fromFrameOwnerElement): * src/WebFrameImpl.h: * src/WebNode.cpp: (WebKit::WebNode::nodeType): (WebKit::WebNode::nodeValue): (WebKit::WebNode::document): (WebKit::WebNode::firstChild): (WebKit::WebNode::lastChild): (WebKit::WebNode::previousSibling): (WebKit::WebNode::nextSibling): (WebKit::WebNode::hasChildNodes): (WebKit::WebNode::childNodes): (WebKit::WebNode::createMarkup): (WebKit::WebNode::isTextNode): (WebKit::WebNode::isElementNode): * src/WebNodeCollection.cpp: Added. (WebKit::WebNodeCollection::reset): (WebKit::WebNodeCollection::assign): (WebKit::WebNodeCollection::WebNodeCollection): (WebKit::WebNodeCollection::length): (WebKit::WebNodeCollection::nextItem): (WebKit::WebNodeCollection::firstItem): * src/WebNodeList.cpp: Added. (WebKit::WebNodeList::reset): (WebKit::WebNodeList::assign): (WebKit::WebNodeList::WebNodeList): (WebKit::WebNodeList::length): (WebKit::WebNodeList::item): * src/WebPageSerializer.cpp: Added. (WebKit::WebPageSerializer::serialize): (WebKit::WebPageSerializer::generateMetaCharsetDeclaration): (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration): (WebKit::WebPageSerializer::generateBaseTagDeclaration): * src/WebPageSerializerImpl.cpp: Added. (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam): (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag): (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag): (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag): (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer): (WebKit::WebPageSerializerImpl::openTagToString): (WebKit::WebPageSerializerImpl::endTagToString): (WebKit::WebPageSerializerImpl::buildContentForNode): (WebKit::WebPageSerializerImpl::WebPageSerializerImpl): (WebKit::WebPageSerializerImpl::collectTargetFrames): (WebKit::WebPageSerializerImpl::serialize): * src/WebPageSerializerImpl.h: Added. * src/WebString.cpp: (WebKit::WebString::WebString): (WebKit::WebString::operator=): * src/WebViewImpl.cpp: 2009-12-17 Yury Semikhatsky Reviewed by David Levin. Provide explicit implementation of 'non-template' WebVector::operator= https://bugs.webkit.org/show_bug.cgi?id=32363 * public/WebVector.h: 2009-12-16 Fumitoshi Ukai Unreviewed, build fix. [Chromium] Add EditableTextRole to catch up with http://trac.webkit.org/changeset/52233 * public/WebAccessibilityRole.h: (WebKit::): Added WebAccessibilityRoleEditableText * src/AssertMatchingEnums.cpp: Added matching compile assert. 2009-12-15 Kenneth Russell Reviewed by Darin Fisher. Don't allow default framebuffer to be mutated https://bugs.webkit.org/show_bug.cgi?id=32391 * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::reshape): (WebCore::GraphicsContext3DInternal::beginPaint): (WebCore::GraphicsContext3DInternal::bindFramebuffer): (WebCore::GraphicsContext3D::bindFramebuffer): 2009-12-15 Dimitri Glazkov Unreviewed, build fix. [Chromium] Add TreeGridRole to catch up with http://trac.webkit.org/changeset/52159. * public/WebAccessibilityRole.h: (WebKit::): Added WebAccessibilityRoleTreeGrid. * src/AssertMatchingEnums.cpp: Added matching compile assert. 2009-12-15 Jian Li Reviewed by Dmitry Titov. Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard. https://bugs.webkit.org/show_bug.cgi?id=31090 The proposal to whatwg can be found here: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html * public/WebDragData.h: * src/WebDragData.cpp: (WebKit::WebDragData::downloadURL): (WebKit::WebDragData::setDownloadURL): 2009-12-14 Evan Stade Reviewed by Darin Fisher. https://bugs.webkit.org/show_bug.cgi?id=32347 Chromium: Context menu launched by menu key has funky behavior Make the context menu's position depend on the selection only when an editable field has focus. Also, don't send multiple context menu events for a single keypress. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): (WebKit::WebViewImpl::sendContextMenuEvent): >>>>>>> webkit.org at r54127 2009-12-13 Sam Weinig Reviewed by Dan Bernstein. Fix for https://bugs.webkit.org/show_bug.cgi?id=32499 Add client based Geolocation provider Add first cut of a client based Geolocation provider. This is guarded by ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a GeolocationControllerClient interface that no-one currently implements, but will in a subsequent patch. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): <<<<<<< HEAD ======= 2009-12-13 Charles Reis Reviewed by Adam Barth. Refactor some security code out of V8 bindings https://bugs.webkit.org/show_bug.cgi?id=32326 * src/WebBindings.cpp: (WebKit::getDragDataImpl): 2009-12-11 Nate Chapin Reviewed by Darin Fisher. Expose shouldHideReferrer() in WebSecurityPolicy. https://bugs.webkit.org/show_bug.cgi?id=32398 * public/WebSecurityPolicy.h: Add shouldHideReferrer(). * src/WebSecurityPolicy.cpp: (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added. 2009-12-11 Avi Drissman Reviewed by Darin Fisher. Tickmarks in the scrollbar are not cleared for non-main frames https://bugs.webkit.org/show_bug.cgi?id=32385 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::stopFinding): 2009-12-11 Yury Semikhatsky Reviewed by Pavel Feldman. Remove obsolete message handling methods from WebDevTools* interfaces https://bugs.webkit.org/show_bug.cgi?id=32320 * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: * public/WebDevToolsFrontend.h: * public/WebDevToolsFrontendClient.h: >>>>>>> webkit.org at r54127 2009-12-10 Mike Belshe Unreviewed, build fix for chromium. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 2009-12-10 Kenneth Russell Reviewed by Oliver Hunt. Changed WebGLRenderingContext to synthesize GL errors rather than raising JavaScript exceptions. Removed internal getError() calls after each graphics call. The GraphicsContext3D maintains the synthetic exceptions because only it has complete information about certain conditions requiring them to be raised. Based on idea from Ilmari Heikkinen, added create3DDebugContext() to webgl-test.js and changed the WebGL layout tests expecting error conditions to use it. Updated expected.txt files, which now implicitly test the OpenGL error as it is part of the exception's message. Added new targeted test covering aspects of synthetic errors as well as regression tests for bugs uncovered during its development. Test: fast/canvas/webgl/error-reporting.html * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::reshape): (WebCore::GraphicsContext3DInternal::getError): (WebCore::GraphicsContext3DInternal::synthesizeGLError): (WebCore::GraphicsContext3D::getActiveAttrib): (WebCore::GraphicsContext3D::getActiveUniform): (WebCore::GraphicsContext3D::getError): (WebCore::GraphicsContext3D::synthesizeGLError): 2009-12-10 Mike Belshe Reviewed by Darin Fisher. Fix FrameLoader to use the new ResourceTypes properly. https://bugs.webkit.org/show_bug.cgi?id=32336 * public/WebURLRequest.h: (WebKit::WebURLRequest::): * src/FrameLoaderClientImpl.cpp: (WebKit::setTargetTypeFromLoader): (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 2009-12-10 Ilya Tikhonovsky Reviewed by Pavel Feldman. Chromium: Expose devtools agent API for inspector layout tests. https://bugs.webkit.org/show_bug.cgi?id=32379 * public/WebDevToolsAgent.h: (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled): (WebKit::WebDevToolsAgent::evaluateInWebInspector): 2009-12-09 Yury Semikhatsky Unreviewed, build fix. Change forward declaration of WebContextMenuData from class to struct to match its definition. The bug was introduced by http://trac.webkit.org/changeset/51874 * src/ContextMenuClientImpl.h: 2009-12-09 Darin Fisher Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=32324 [Chromium] Suppress WebFrameClient callbacks from a detached frame. This change means that we no longer need the ClientHandle class. FrameLoaderClient::detachedFromParent3() is called on each frame in the frame tree from within frameDetached(). Test: http/tests/loading/gmail-assert-on-load.html * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::detachedFromParent3): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::create): (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::createChildFrame): * src/WebFrameImpl.h: (WebKit::WebFrameImpl::client): (WebKit::WebFrameImpl::dropClient): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::close): 2009-12-08 Stuart Morgan Reviewed by Darin Fisher. Include clickCount when doing MouseEvent -> WebMouseEvent conversion in Chromium API. https://bugs.webkit.org/show_bug.cgi?id=32289 * src/WebInputEventConversion.cpp: (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 2009-12-09 Yury Semikhatsky Unreviewed, build fix. Add return statement to default implementation of hostIdentifier method introduced in http://trac.webkit.org/changeset/51897 * public/WebDevToolsAgentClient.h: (WebKit::WebDevToolsAgentClient::hostIdentifier): 2009-12-09 Yury Semikhatsky Reviewed by Pavel Feldman. Add declaration of static methods that allow to dispatch DevTools messages on the IO thread and accept WebDevToolsMessageData argument. https://bugs.webkit.org/show_bug.cgi?id=32314 * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: 2009-12-09 Yury Semikhatsky Reviewed by Pavel Feldman. Introduce a class for devtools message data https://bugs.webkit.org/show_bug.cgi?id=32314 * WebKit.gyp: * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: (WebKit::WebDevToolsAgentClient::sendMessageToFrontend): (WebKit::WebDevToolsAgentClient::forceRepaint): (WebKit::WebDevToolsAgentClient::hostIdentifier): (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged): * public/WebDevToolsFrontend.h: * public/WebDevToolsFrontendClient.h: (WebKit::WebDevToolsFrontendClient::sendMessageToAgent): * public/WebDevToolsMessageData.h: Added. 2009-12-08 Pavel Feldman Reviewed by Darin Fisher. Chromium: support custom WebCore context menu items in Chromium port. https://bugs.webkit.org/show_bug.cgi?id=32277 * public/WebContextMenuData.h: * public/WebPopupMenuInfo.h: (WebKit::WebPopupMenuInfo::Item::): * public/WebView.h: * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::executeCustomContextMenuAction): * src/WebViewImpl.h: 2009-12-08 Albert J. Wong Not reviewed: Chromium build fix. r51859 changed the case for some of the ResourceRequest::TargetType enums. * src/FrameLoaderClientImpl.cpp: (WebKit::determineTargetTypeFromLoader): 2009-12-07 Zhe Su Reviewed by Darin Fisher. [Chromium] accesskey is not supported on Chromium Mac. https://bugs.webkit.org/show_bug.cgi?id=32213 This change fixes (partially) the accesskey issue by decoupling the code for handling accesskeys and system keys. Because on Mac, the modifiers of accesskeys are ctrl+alt, which are not marked as system keys. In order to fully fix this issue, some changes in Chromium code is also required. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): (WebKit::WebViewImpl::charEvent): 2009-12-07 Evan Martin Reviewed by Eric Seidel. Chromium: theme scrollbars to match GTK theme. Add API to set the colors. Since the change is to the Chromium WebKit API layer, testing will be in Chromium's test shell. http://bugs.webkit.org/show_bug.cgi?id=32048 Patch from Markus Gutschke . * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setScrollbarColors): * src/WebViewImpl.h: 2009-12-07 Finnur Thorarinsson Reviewed by Darin Fisher. A patch for Chromium to restrict the scope of the Gmail focus fix, where we set the Selection to 0,0 for content-editable fields and also make sure we set the selection end-state for find to select the text found (when not focusing a link we found). WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setFocus): 2009-12-07 Dmitry Titov Rubber-stamped by Darin Adler. Remove ENABLE_SHARED_SCRIPT flags https://bugs.webkit.org/show_bug.cgi?id=32245 This patch was obtained by "git revert" command and then un-reverting of ChangeLog files. * features.gypi: 2009-12-07 Yaar Schnitman Reviewed by Darin Fisher. fixes to build-webkit --chromium https://bugs.webkit.org/show_bug.cgi?id=32179 * DEPS: * WebKit.gyp: * gyp_webkit: 2009-12-07 Mikhail Naganov Reviewed by Pavel Feldman. [Chromium] Add declarations for DevTools message dispatching on IO thread (see http://codereview.chromium.org/460018) https://bugs.webkit.org/show_bug.cgi?id=32217 * public/WebDevToolsAgent.h: * public/WebDevToolsAgentClient.h: 2009-12-04 James Hawkins Reviewed by Darin Fisher. https://bugs.webkit.org/show_bug.cgi?id=32095 Implement WebRegularExpression, a WebKit API for accessing WebCore::RegularExpression. * WebKit.gyp: * public/WebRegularExpression.h: Added. * public/WebTextCaseSensitivity.h: Added. (WebKit::): * src/AssertMatchingEnums.cpp: * src/WebRegularExpression.cpp: Added. (WebKit::WebRegularExpression::WebRegularExpression): (WebKit::WebRegularExpression::~WebRegularExpression): (WebKit::WebRegularExpression::match): 2009-12-04 Peter Kasting Reviewed by Darin Fisher. [Chromium] Simplify zoom-related APIs and add a zoom level getter, part two: Remove deprecated APIs. https://bugs.webkit.org/show_bug.cgi?id=31893 * public/WebView.h: * src/WebViewImpl.cpp: * src/WebViewImpl.h: 2009-12-03 Jonathan Dixon Reviewed by Dimitri Glazkov. Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium https://bugs.webkit.org/show_bug.cgi?id=32066 Add the plumbing to map WebSettings through to WebCore::Settings * features.gypi: * public/WebSettings.h: Add setGeolocationEnabled API to interface * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function 2009-12-03 Brady Eidson Reviewed by Sam Weinig. and http://webkit.org/b/32052 - Implement HTML5 state object history API * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage): (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage): (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): * src/FrameLoaderClientImpl.h: 2009-12-03 Pavel Feldman Reviewed by Timothy Hatcher. Chromium: Add support for settings containing ":" https://bugs.webkit.org/show_bug.cgi?id=32118 * src/InspectorClientImpl.cpp: (WebKit::InspectorClientImpl::loadSettings): 2009-12-03 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: Simplify the settings support in inspector controller. https://bugs.webkit.org/show_bug.cgi?id=32076 * src/InspectorClientImpl.cpp: (WebKit::InspectorClientImpl::hiddenPanels): (WebKit::InspectorClientImpl::populateSetting): (WebKit::InspectorClientImpl::storeSetting): (WebKit::InspectorClientImpl::loadSettings): (WebKit::InspectorClientImpl::saveSettings): * src/InspectorClientImpl.h: 2009-12-03 Ben Murdoch Reviewed by Brady Eidson. [Android] The FrameLoaderClient is unaware of BackForwardList changes. https://bugs.webkit.org/show_bug.cgi?id=31914 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto. (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito. * src/FrameLoaderClientImpl.h: 2009-12-02 Yusuke Sato Reviewed by Eric Seidel. Sanitize web fonts using the OTS library https://bugs.webkit.org/show_bug.cgi?id=31106 * DEPS: Added dependency to the OpenType sanitizer library. * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1. 2009-12-02 Evan Stade Reviewed by Darin Fisher. https://bugs.webkit.org/show_bug.cgi?id=32029 Mousewheel event delta has reversed sign on Linux Chrome. No new tests (layout tests don't cover event conversion code). Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel * src/gtk/WebInputEventFactory.cpp: (WebKit::WebInputEventFactory::mouseWheelEvent): 2009-12-02 Anton Muhin Reviewed by Adam Barth. Allow to skip thread checks when accessing DOMDataStore for processes which run V8 in single thread mode. https://bugs.webkit.org/show_bug.cgi?id=31877 * src/WebScriptController.cpp: (WebKit::WebScriptController::enableV8SingleThreadMode): 2009-12-01 Peter Kasting Reviewed by Darin Fisher. [Chromium] Simplify zoom-related APIs and add a zoom level getter, part one: Add new APIs. (Old APIs will be removed in a second pass.) https://bugs.webkit.org/show_bug.cgi?id=31893 * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::zoomLevel): (WebKit::WebViewImpl::setZoomLevel): * src/WebViewImpl.h: 2009-12-01 Xiyuan Xia Reviewed by Darin Fisher. Only fire start/stop events when main frame is not loading. https://bugs.webkit.org/show_bug.cgi?id=31838 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 2009-11-27 Yury Semikhatsky Reviewed by Pavel Feldman. Add separate method for pause command to WebDevToolsAgent and WebDevToolsFrontendClient interfaces so that pause command can be processed on the IO thread. https://bugs.webkit.org/show_bug.cgi?id=31934 * public/WebDevToolsAgent.h: * public/WebDevToolsFrontendClient.h: (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent): (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript): (WebKit::WebDevToolsFrontendClient::activateWindow): (WebKit::WebDevToolsFrontendClient::closeWindow): (WebKit::WebDevToolsFrontendClient::dockWindow): (WebKit::WebDevToolsFrontendClient::undockWindow): 2009-11-27 Yury Semikhatsky Reviewed by Pavel Feldman. WebCore part of the fix that allows to view plugin resources loaded by plugins. Methods that for resource loading notifications are exposed through WebDevToolsAgent interface to the glue code to allow Chromium's plugin implementation to notify InspectorController about resource loading in plugins. https://bugs.webkit.org/show_bug.cgi?id=31832 * public/WebDevToolsAgent.h: * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::createUniqueIdentifierForRequest): * src/WebViewImpl.h: 2009-11-26 Yury Semikhatsky Not reviewed. Build fix: revert r51421. * public/WebDevToolsAgent.h: * public/WebView.h: * src/WebViewImpl.cpp: * src/WebViewImpl.h: 2009-11-25 Dimitri Glazkov Reviewed by David Levin. [Chromium] Implement canSetValueAttribute in the API. https://bugs.webkit.org/show_bug.cgi?id=31894 * public/WebAccessibilityObject.h: Added decl. * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include. * src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl. 2009-11-25 Dimitri Glazkov Reviewed by Darin Fisher. [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API. https://bugs.webkit.org/show_bug.cgi?id=31878 * public/WebSettings.h: Added decl. * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl. * src/WebSettingsImpl.h: 2009-11-24 Dmitry Titov Reviewed by Eric Seidel. Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit https://bugs.webkit.org/show_bug.cgi?id=31444 * features.gypi: 2009-11-24 Evan Stade Reviewed by David Levin. Linux Chromium sends too many click events https://bugs.webkit.org/show_bug.cgi?id=31841 Manually count number of clicks for double/triple click events. This makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html Chromium side of this patch is here: http://codereview.chromium.org/431031/show * src/gtk/WebInputEventFactory.cpp: (WebKit::WebInputEventFactory::mouseEvent): 2009-11-24 Darin Fisher Reviewed by Adam Barth. [Chromium] Renderer hang when using www.expedia.com https://bugs.webkit.org/show_bug.cgi?id=31822 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): Assign ReturnCacheDataDontLoad cache policy at the last moment to match Safari. This way the cache policy does not get stored in DocumentLoader's originalRequest preventing it from being inherited by subresource requests. * src/ResourceHandle.cpp: (WebCore::ResourceHandle::willLoadFromCache): Remove assignment of ReturnCacheDataDontLoad cache policy so that it doesn't end up applying to the DocumentLoader's originalRequest. 2009-11-23 Kenneth Russell Reviewed by Oliver Hunt. Change get... calls to latest spec https://bugs.webkit.org/show_bug.cgi?id=30091 Removed old versions of get calls on WebGLRenderingContext and added new ones per spec returning "any". New code simplifies GraphicsContext3D and fixes previously unimplemented routines. Added custom JS and V8 bindings. Added exhaustive test case exercising all new code paths. Updated preexisting test cases for new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL implementations. Ran WebGL layout tests in WebKit (clean) and Chrome (couple of preexisting known failures) and manual WebGL tests in both browsers. Test: fast/canvas/webgl/gl-object-get-calls.html * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::createFramebuffer): (WebCore::GraphicsContext3D::createRenderbuffer): (WebCore::GraphicsContext3D::deleteFramebuffer): (WebCore::GraphicsContext3D::deleteRenderbuffer): (WebCore::GraphicsContext3D::checkFramebufferStatus): (WebCore::GraphicsContext3D::getBooleanv): (WebCore::GraphicsContext3D::getBufferParameteriv): (WebCore::GraphicsContext3D::getFloatv): (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): (WebCore::GraphicsContext3D::getIntegerv): (WebCore::GraphicsContext3D::getProgramiv): (WebCore::GraphicsContext3D::getRenderbufferParameteriv): (WebCore::GraphicsContext3D::getShaderiv): (WebCore::GraphicsContext3D::getTexParameterfv): (WebCore::GraphicsContext3D::getTexParameteriv): (WebCore::GraphicsContext3D::getUniformfv): (WebCore::GraphicsContext3D::getUniformiv): (WebCore::GraphicsContext3D::getVertexAttribfv): (WebCore::GraphicsContext3D::getVertexAttribiv): (WebCore::GraphicsContext3D::isFramebuffer): (WebCore::GraphicsContext3D::isRenderbuffer): 2009-11-24 Pavel Feldman Reviewed by Darin Fisher. Chromium: Expose method for reporting user stats to the host. Also includes drive-by default implementation. https://bugs.webkit.org/show_bug.cgi?id=31830 * public/WebKitClient.h: 2009-11-24 Adam Barth Reviewed by Dimitri Glazkov. [Chromium] Fix DOM storage layout tests https://bugs.webkit.org/show_bug.cgi?id=31833 The issue is, essentially, that this code assumes that SecurityOrigin::createString can re-create a SecurityOrigin given the string produced from SecurityOrigin::toString. This is a bogus assumption in a number of corner cases (e.g., document.domain, @sandbox). A recent patch (http://trac.webkit.org/changeset/51294) make this assumption further invalid in the case of of file:// URLs. The correct fix is for this code to use WebSecurityOrigin objects (and not strings) to represent SecurityOrigin objects. However, the expert on this code is on vacation, and I don't want to do major surgery here without his involvement. This patch is a temporary fix to get these tests passing again. We'll do the right fix once jorlow gets back from vacation. Tests: Covered by a number of existing DOM storage tests. * src/WebStorageNamespaceImpl.cpp: (WebKit::WebStorageNamespaceImpl::createStorageArea): 2009-11-23 Jian Li Reviewed by NOBODY (Chromium build fix). * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::createShader): 2009-11-20 Jian Li Not reviewed. Fix chromium build. * public/WebAccessibilityRole.h: (WebKit::): * src/AssertMatchingEnums.cpp: 2009-11-19 Yaar Schnitman Reviewed by Darin Fisher. Make chromium/webkit/glue/FormFieldValues use the WebKit API https://bugs.webkit.org/show_bug.cgi?id=31650 * public/WebElement.h: * public/WebFormElement.h: * public/WebInputElement.h: (WebKit::WebInputElement::): * public/WebNode.h: * src/AssertMatchingEnums.cpp: * src/DOMUtilitiesPrivate.cpp: (WebKit::nameOfInputElement): * src/DOMUtilitiesPrivate.h: * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::autofill): (WebKit::EditorClientImpl::doAutofill): * src/WebFormElement.cpp: (WebKit::WebFormElement::name): (WebKit::WebFormElement::method): (WebKit::WebFormElement::getNamedElements): (WebKit::WebFormElement::getInputElements): * src/WebInputElement.cpp: (WebKit::WebInputElement::isEnabledFormControl): (WebKit::WebInputElement::inputType): (WebKit::WebInputElement::formControlType): (WebKit::WebInputElement::value): (WebKit::WebInputElement::dispatchFormControlChangeEvent): (WebKit::WebInputElement::setSelectionRange): (WebKit::WebInputElement::name): (WebKit::WebInputElement::nameForAutofill): * src/WebNode.cpp: (WebKit::WebNode::frame): 2009-11-18 Michelangelo De Simone Reviewed by Darin Adler. Fix for . Support for validationMessage attribute, as per HTML5 specs. * src/LocalizedStrings.cpp: (WebCore::validationMessageValueMissingText): (WebCore::validationMessageTypeMismatchText): (WebCore::validationMessagePatternMismatchText): (WebCore::validationMessageTooLongText): (WebCore::validationMessageRangeUnderflowText): (WebCore::validationMessageRangeOverflowText): (WebCore::validationMessageStepMismatchText): 2009-11-18 Nate Chapin Reviewed by Darin Fisher. Remove Chromium port's dependency on some dummy pthreads header files that live in the Chromium repository. https://bugs.webkit.org/show_bug.cgi?id=31648 * DEPS: Remove reference to chromium svn's webkit/build/ directory. 2009-11-18 Evan Stade Reviewed by Darin Fisher. Menu button shows wrong content in Chromium https://bugs.webkit.org/show_bug.cgi?id=31448 Make context menu button (VK_APPS) show context menu for node that has keyboard focus. This affects both the content and the positioning. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::sendContextMenuEvent): 2009-11-17 Darin Fisher Reviewed by Dmitry Titov. Minor cleanup in WebKit API https://bugs.webkit.org/show_bug.cgi?id=31616 * public/WebFormElement.h: Add missing WEBKIT_API prefix. * public/WebNode.h: Add missing WEBKIT_API prefix. * src/WebFormElement.cpp: (WebKit::WebFormElement::action): Make action getter const. * src/WebNode.cpp: (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame. 2009-11-17 Nicolas Weber Reviewed by Darin Fisher, Dmitry Titov. Revert r50887, it regressed handling of cmd-left when a text box is focused. https://bugs.webkit.org/show_bug.cgi?id=31566 * src/mac/WebInputEventFactory.mm: (WebKit::WebInputEventFactory::keyboardEvent): 2009-11-16 Kenneth Russell Reviewed by Oliver Hunt. Update API of WebGLArray and friends https://bugs.webkit.org/show_bug.cgi?id=31175 * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::bufferData): (WebCore::GraphicsContext3D::bufferSubData): 2009-11-15 Dimitri Glazkov Unreviewed, build fix. Correct an error in the previous commit * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory, not WebAccessibilityDirectoryRole. 2009-11-15 Dimitri Glazkov Unreviewed, build fix. Bring WebAccessibilityRole up to sync after http://trac.webkit.org/changeset/51007. * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory. * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and WebAccessibilityRoleDirectory. 2009-11-13 Dimitri Glazkov Unreviewed, build fix. [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld to catch up http://trac.webkit.org/changeset/50973. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld): * src/FrameLoaderClientImpl.h: 2009-11-13 Yaar Schnitman Reviewed by Dimitri Glazkov. Chromium WebKit Port to compile as dynamic lib https://bugs.webkit.org/show_bug.cgi?id=31478 * WebKit.gyp: 2009-11-13 Aaron Boodman Reviewed by Eric Seidel. Adds a way to get the document element's scrollHeight, which is sort of the moral equivalent to RenderBox::minPrefWidth(). https://bugs.webkit.org/show_bug.cgi?id=31036 * public/WebFrame.h: Declare documentElementScrollHeight() * src/WebFrameImpl.h: Ditto * src/WebFrameImpl.cpp: Implement documentElementScrollHeight() (WebKit::WebFrameImpl::documentElementScrollHeight): Return the scroll height of the document element, or zero if there's no documentElement. 2009-11-12 Dumitru Daniliuc Reviewed by Dimitri Glazkov. Adding Chromium's DatabaseTracker implementation. https://bugs.webkit.org/show_bug.cgi?id=31440 * WebKit.gyp: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::exceededDatabaseQuota): * src/DatabaseObserver.cpp: Added. (WebCore::DatabaseObserver::databaseOpened): (WebCore::DatabaseObserver::databaseModified): (WebCore::DatabaseObserver::databaseClosed): * src/WebDatabase.cpp: (WebKit::WebDatabase::name): (WebKit::WebDatabase::displayName): (WebKit::WebDatabase::estimatedSize): (WebKit::WebDatabase::securityOrigin): (WebKit::WebDatabase::updateDatabaseSize): * src/WebSecurityOrigin.cpp: (WebKit::WebSecurityOrigin::toString): (WebKit::WebSecurityOrigin::databaseIdentifier): 2009-11-13 Yaar Schnitman Reviewed by Dimitri Glazkov. Rolling Chromium dependencies to match Chromium revision 31834. https://bugs.webkit.org/show_bug.cgi?id=31445 * DEPS: 2009-11-12 Dumitru Daniliuc Reviewed by Dimitri Glazkov. Renaming some parameters passed to DB-related methods to better indicate their purpose. https://bugs.webkit.org/show_bug.cgi?id=31449 * public/WebKitClient.h: * src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::databaseOpenFile): (WebCore::ChromiumBridge::databaseDeleteFile): (WebCore::ChromiumBridge::databaseGetFileAttributes): (WebCore::ChromiumBridge::databaseGetFileSize): 2009-11-12 Adam Barth Reviewed by Dimitri Glazkov. [Chromium] reload-subframe-object.html fails https://bugs.webkit.org/show_bug.cgi?id=31398 More closely match FrameLoaderClient.mm. Turns out we don't want to use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish between application/octet-stream and lack of knowledge of the MIME type. Covered by reload-subframe-object.html. * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::objectContentType): 2009-11-12 Nate Chapin Unreviewed, Chromium build fix. Add new accessibility enum values to Chromium enums from http://trac.webkit.org/changeset/50865 and http://trac.webkit.org/changeset/50883. https://bugs.webkit.org/show_bug.cgi?id=31424 * public/WebAccessibilityRole.h: (WebKit::): * src/AssertMatchingEnums.cpp: 2009-11-12 Nicolas Weber Reviewed by Dimitri Glazkov. Send |keypress()| events for keys with cmd down, like safari. Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a keypress() event. * src/mac/WebInputEventFactory.mm: (WebKit::WebInputEventFactory::keyboardEvent): 2009-11-11 Jeremy Orlow Not reviewed. Build fix. Will be cleaned up in subsequent patch once we know exaclty what's going on. * src/WebBindings.cpp: 2009-11-11 Drew Wilson Reviewed by Dimitri Glazkov. SharedWorkerRepository.connect() does not call WebSharedWorkerRepository https://bugs.webkit.org/show_bug.cgi?id=31371 Test: Unit tests can be enabled downstream when this lands. * src/SharedWorkerRepository.cpp: (WebCore::SharedWorkerRepository::connect): Added missing call to WebSharedWorkerRepository.addSharedWorker(). 2009-11-11 Yaar Schnitman Reviewed by Dimitri Glazkov. Tiny path fixes in Chromium API includes. https://bugs.webkit.org/show_bug.cgi?id=31369 * public/linux/WebSandboxSupport.h: Fixed path. * src/WebBindings.cpp: Fixed path. 2009-11-11 Nate Chapin Reviewed by Dimitri Glazkov. http://trac.webkit.org/changeset/50811 removed some methods from platform/network/SocketStreamHandleClient.h, so remove them here too. https://bugs.webkit.org/show_bug.cgi?id=31360 * public/WebSocketStreamHandleClient.h: * src/SocketStreamHandle.cpp: (WebCore::SocketStreamHandleInternal::send): 2009-11-11 Nate Chapin Reviewed by Eric Seidel. Remove some additional references to dragSourceMovedTo() not needed after http://trac.webkit.org/changeset/50786. https://bugs.webkit.org/show_bug.cgi?id=31354 * public/WebView.h: * src/WebViewImpl.h: 2009-11-11 Nate Chapin Reviewed by Dimitri Glazkov. Remove WebViewImpl::dragSourceMovedTo(), as it is no longer needed after http://trac.webkit.org/changeset/50786. https://bugs.webkit.org/show_bug.cgi?id=31354 * src/WebViewImpl.cpp: 2009-11-10 Nate Chapin Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760. * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::paint): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Modified WebKit.gyp to build the webkit api. https://bugs.webkit.org/show_bug.cgi?id=31320 * README: Added. * WebKit.gyp: Added. * webkit.gyp: Removed. 2009-11-10 Nate Chapin Reviewed by Eric Seidel. Update references to Canvas 3D classes to use the WebGL prefix introduced in http://trac.webkit.org/changeset/50725. https://bugs.webkit.org/show_bug.cgi?id=31276 * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::beginPaint): (WebCore::GraphicsContext3DInternal::bindBuffer): (WebCore::GraphicsContext3DInternal::bindTexture): (WebCore::GraphicsContext3D::beginPaint): (WebCore::GraphicsContext3D::bindAttribLocation): (WebCore::GraphicsContext3D::bindBuffer): (WebCore::GraphicsContext3D::bindTexture): (WebCore::GraphicsContext3D::bufferData): (WebCore::GraphicsContext3D::bufferSubData): (WebCore::GraphicsContext3D::detachShader): (WebCore::GraphicsContext3D::getActiveAttrib): (WebCore::GraphicsContext3D::getActiveUniform): (WebCore::GraphicsContext3D::getAttribLocation): (WebCore::GraphicsContext3D::getBooleanv): (WebCore::GraphicsContext3D::getBufferParameteriv): (WebCore::GraphicsContext3D::getFloatv): (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): (WebCore::GraphicsContext3D::getIntegerv): (WebCore::GraphicsContext3D::getProgrami): (WebCore::GraphicsContext3D::getProgramiv): (WebCore::GraphicsContext3D::getProgramInfoLog): (WebCore::GraphicsContext3D::getRenderbufferParameteriv): (WebCore::GraphicsContext3D::getShaderi): (WebCore::GraphicsContext3D::getShaderiv): (WebCore::GraphicsContext3D::getShaderInfoLog): (WebCore::GraphicsContext3D::getShaderSource): (WebCore::GraphicsContext3D::getTexParameterfv): (WebCore::GraphicsContext3D::getTexParameteriv): (WebCore::GraphicsContext3D::getUniformf): (WebCore::GraphicsContext3D::getUniformfv): (WebCore::GraphicsContext3D::getUniformi): (WebCore::GraphicsContext3D::getUniformiv): (WebCore::GraphicsContext3D::getUniformLocation): (WebCore::GraphicsContext3D::getVertexAttribfv): (WebCore::GraphicsContext3D::getVertexAttribiv): (WebCore::GraphicsContext3D::isBuffer): (WebCore::GraphicsContext3D::isFramebuffer): (WebCore::GraphicsContext3D::isProgram): (WebCore::GraphicsContext3D::isRenderbuffer): (WebCore::GraphicsContext3D::isShader): (WebCore::GraphicsContext3D::isTexture): (WebCore::GraphicsContext3D::readPixels): (WebCore::GraphicsContext3D::shaderSource): (WebCore::GraphicsContext3D::texImage2D): (WebCore::GraphicsContext3D::texSubImage2D): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebWorker and friends. https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebWorkerBase.cpp: Added. (WebKit::WorkerWebFrameClient::didCreateDataSource): (WebKit::WorkerWebFrameClient::sharedInstance): (WebKit::WorkerWebFrameClient::WorkerWebFrameClient): (WebKit::initializeWebKitStaticValues): (WebKit::WebWorkerBase::WebWorkerBase): (WebKit::WebWorkerBase::~WebWorkerBase): (WebKit::WebWorkerBase::stopWorkerThread): (WebKit::WebWorkerBase::initializeLoader): (WebKit::WebWorkerBase::dispatchTaskToMainThread): (WebKit::WebWorkerBase::invokeTaskMethod): (WebKit::WebWorkerBase::postMessageToWorkerObject): (WebKit::WebWorkerBase::postMessageTask): (WebKit::WebWorkerBase::postExceptionToWorkerObject): (WebKit::WebWorkerBase::postExceptionTask): (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject): (WebKit::WebWorkerBase::postConsoleMessageTask): (WebKit::WebWorkerBase::confirmMessageFromWorkerObject): (WebKit::WebWorkerBase::confirmMessageTask): (WebKit::WebWorkerBase::reportPendingActivity): (WebKit::WebWorkerBase::reportPendingActivityTask): (WebKit::WebWorkerBase::workerContextClosed): (WebKit::WebWorkerBase::workerContextClosedTask): (WebKit::WebWorkerBase::workerContextDestroyed): (WebKit::WebWorkerBase::workerContextDestroyedTask): (WebKit::WebWorkerBase::postTaskToLoader): (WebKit::WebWorkerBase::postTaskForModeToWorkerContext): * src/WebWorkerBase.h: Added. (WebKit::WebWorkerBase::setWorkerThread): (WebKit::WebWorkerBase::workerThread): * src/WebWorkerClientImpl.cpp: Added. (WebKit::WebWorkerClientImpl::createWorkerContextProxy): (WebKit::WebWorkerClientImpl::WebWorkerClientImpl): (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl): (WebKit::WebWorkerClientImpl::setWebWorker): (WebKit::WebWorkerClientImpl::startWorkerContext): (WebKit::WebWorkerClientImpl::terminateWorkerContext): (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): (WebKit::WebWorkerClientImpl::hasPendingActivity): (WebKit::WebWorkerClientImpl::workerObjectDestroyed): (WebKit::WebWorkerClientImpl::postMessageToWorkerObject): (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject): (WebKit::WebWorkerClientImpl::reportPendingActivity): (WebKit::WebWorkerClientImpl::workerContextDestroyed): (WebKit::WebWorkerClientImpl::workerContextClosed): (WebKit::WebWorkerClientImpl::startWorkerContextTask): (WebKit::WebWorkerClientImpl::terminateWorkerContextTask): (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask): (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask): (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask): (WebKit::WebWorkerClientImpl::reportPendingActivityTask): * src/WebWorkerClientImpl.h: Added. (WebKit::WebWorkerClientImpl::createWorker): (WebKit::WebWorkerClientImpl::notificationPresenter): * src/WebWorkerImpl.cpp: Added. (WebKit::WebWorker::create): (WebKit::WebWorkerImpl::WebWorkerImpl): (WebKit::WebWorkerImpl::~WebWorkerImpl): (WebKit::WebWorkerImpl::commonClient): (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): (WebKit::WebWorkerImpl::startWorkerContext): (WebKit::WebWorkerImpl::terminateWorkerContext): (WebKit::WebWorkerImpl::postMessageToWorkerContext): (WebKit::WebWorkerImpl::workerObjectDestroyed): (WebKit::WebWorkerImpl::clientDestroyed): * src/WebWorkerImpl.h: Added. (WebKit::WebWorkerImpl::client): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: Platform specific files. https://bugs.webkit.org/show_bug.cgi?id=31276 * src/gtk/WebFontInfo.cpp: Added. (WebKit::WebFontInfo::familyForChars): * src/gtk/WebInputEventFactory.cpp: Added. (WebKit::gdkEventTimeToWebEventTime): (WebKit::gdkStateToWebEventModifiers): (WebKit::gdkEventToWindowsKeyCode): (WebKit::getControlCharacter): (WebKit::WebInputEventFactory::keyboardEvent): (WebKit::WebInputEventFactory::mouseEvent): (WebKit::WebInputEventFactory::mouseWheelEvent): * src/gtk/WebScreenInfoFactory.cpp: Added. (WebKit::WebScreenInfoFactory::screenInfo): * src/linux/WebFontRendering.cpp: Added. (WebKit::WebFontRendering::setHinting): (WebKit::WebFontRendering::setAntiAlias): (WebKit::WebFontRendering::setSubpixelGlyphs): (WebKit::WebFontRendering::setLCDOrder): (WebKit::WebFontRendering::setLCDOrientation): * src/mac/WebInputEventFactory.mm: Added. (WebKit::isKeyUpEvent): (WebKit::isKeypadEvent): (WebKit::windowsKeyCodeForKeyEvent): (WebKit::textFromEvent): (WebKit::unmodifiedTextFromEvent): (WebKit::keyIdentifierForKeyEvent): (WebKit::modifiersFromEvent): (WebKit::WebInputEventFactory::keyboardEvent): (WebKit::WebInputEventFactory::mouseEvent): (WebKit::WebInputEventFactory::mouseWheelEvent): * src/mac/WebScreenInfoFactory.mm: Added. (WebKit::screenForWindow): (WebKit::toUserSpace): (WebKit::WebScreenInfoFactory::screenInfo): * src/win/WebInputEventFactory.cpp: Added. (WebKit::isKeyPad): (WebKit::WebInputEventFactory::keyboardEvent): (WebKit::GetRelativeCursorPos): (WebKit::WebInputEventFactory::resetLastClickState): (WebKit::WebInputEventFactory::mouseEvent): (WebKit::WebInputEventFactory::mouseWheelEvent): * src/win/WebScreenInfoFactory.cpp: Added. (WebKit::toWebRect): (WebKit::WebScreenInfoFactory::screenInfo): * src/x11/WebScreenInfoFactory.cpp: Added. (WebKit::WebScreenInfoFactory::screenInfo): 2009-11-10 Yaar Schnitman Reviewed by Eric Seidel. Up-streaming Chromium API src files: WrapperResourceRequest and Response https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WrappedResourceRequest.h: Added. (WebKit::WrappedResourceRequest::~WrappedResourceRequest): (WebKit::WrappedResourceRequest::WrappedResourceRequest): (WebKit::WrappedResourceRequest::bind): (WebKit::WrappedResourceRequest::Handle::dispose): * src/WrappedResourceResponse.h: Added. (WebKit::WrappedResourceResponse::~WrappedResourceResponse): (WebKit::WrappedResourceResponse::WrappedResourceResponse): (WebKit::WrappedResourceResponse::bind): (WebKit::WrappedResourceResponse::Handle::dispose): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy https://bugs.webkit.org/show_bug.cgi?id=31276 * src/SocketStreamHandle.cpp: Added. (WebCore::SocketStreamHandleInternal::create): (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal): (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal): (WebCore::SocketStreamHandleInternal::connect): (WebCore::SocketStreamHandleInternal::send): (WebCore::SocketStreamHandleInternal::close): (WebCore::SocketStreamHandleInternal::willOpenStream): (WebCore::SocketStreamHandleInternal::didOpenStream): (WebCore::SocketStreamHandleInternal::didSendData): (WebCore::SocketStreamHandleInternal::didReceiveData): (WebCore::SocketStreamHandleInternal::didClose): (WebCore::SocketStreamHandleInternal::didFail): (WebCore::SocketStreamHandle::SocketStreamHandle): (WebCore::SocketStreamHandle::~SocketStreamHandle): (WebCore::SocketStreamHandle::platformSend): (WebCore::SocketStreamHandle::platformClose): (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge): (WebCore::SocketStreamHandle::receivedCredential): (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential): (WebCore::SocketStreamHandle::receivedCancellation): * src/StorageAreaProxy.cpp: Added. (WebCore::StorageAreaProxy::StorageAreaProxy): (WebCore::StorageAreaProxy::~StorageAreaProxy): (WebCore::StorageAreaProxy::length): (WebCore::StorageAreaProxy::key): (WebCore::StorageAreaProxy::getItem): (WebCore::StorageAreaProxy::setItem): (WebCore::StorageAreaProxy::removeItem): (WebCore::StorageAreaProxy::clear): (WebCore::StorageAreaProxy::contains): * src/StorageAreaProxy.h: Added. * src/StorageEventDispatcherChromium.cpp: Added. (WebCore::StorageEventDispatcher::dispatch): * src/StorageEventDispatcherImpl.cpp: Added. (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl): (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): * src/StorageEventDispatcherImpl.h: Added. * src/StorageNamespaceProxy.cpp: Added. (WebCore::StorageNamespace::localStorageNamespace): (WebCore::StorageNamespace::sessionStorageNamespace): (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy): (WebCore::StorageNamespaceProxy::copy): (WebCore::StorageNamespaceProxy::storageArea): (WebCore::StorageNamespaceProxy::close): (WebCore::StorageNamespaceProxy::unlock): * src/StorageNamespaceProxy.h: Added. 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository https://bugs.webkit.org/show_bug.cgi?id=31276 * src/NotificationPresenterImpl.cpp: Added. (WebKit::VoidCallbackClient::VoidCallbackClient): (WebKit::VoidCallbackClient::permissionRequestComplete): (WebKit::NotificationPresenterImpl::initialize): (WebKit::NotificationPresenterImpl::isInitialized): (WebKit::NotificationPresenterImpl::show): (WebKit::NotificationPresenterImpl::cancel): (WebKit::NotificationPresenterImpl::notificationObjectDestroyed): (WebKit::NotificationPresenterImpl::checkPermission): (WebKit::NotificationPresenterImpl::requestPermission): * src/NotificationPresenterImpl.h: Added. (WebKit::NotificationPresenterImpl::NotificationPresenterImpl): * src/PlatformMessagePortChannel.cpp: Added. (WebCore::MessagePortChannel::create): (WebCore::MessagePortChannel::createChannel): (WebCore::MessagePortChannel::MessagePortChannel): (WebCore::MessagePortChannel::~MessagePortChannel): (WebCore::MessagePortChannel::entangleIfOpen): (WebCore::MessagePortChannel::disentangle): (WebCore::MessagePortChannel::postMessageToRemote): (WebCore::MessagePortChannel::tryGetMessageFromRemote): (WebCore::MessagePortChannel::close): (WebCore::MessagePortChannel::isConnectedTo): (WebCore::MessagePortChannel::hasPendingActivity): (WebCore::MessagePortChannel::locallyEntangledPort): (WebCore::PlatformMessagePortChannel::create): (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel): (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel): (WebCore::PlatformMessagePortChannel::createChannel): (WebCore::PlatformMessagePortChannel::messageAvailable): (WebCore::PlatformMessagePortChannel::entangleIfOpen): (WebCore::PlatformMessagePortChannel::disentangle): (WebCore::PlatformMessagePortChannel::postMessageToRemote): (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): (WebCore::PlatformMessagePortChannel::close): (WebCore::PlatformMessagePortChannel::isConnectedTo): (WebCore::PlatformMessagePortChannel::hasPendingActivity): (WebCore::PlatformMessagePortChannel::setEntangledChannel): (WebCore::PlatformMessagePortChannel::webChannelRelease): * src/PlatformMessagePortChannel.h: Added. * src/ResourceHandle.cpp: Added. (WebCore::ResourceHandleInternal::ResourceHandleInternal): (WebCore::ResourceHandleInternal::start): (WebCore::ResourceHandleInternal::cancel): (WebCore::ResourceHandleInternal::setDefersLoading): (WebCore::ResourceHandleInternal::allowStoredCredentials): (WebCore::ResourceHandleInternal::willSendRequest): (WebCore::ResourceHandleInternal::didSendData): (WebCore::ResourceHandleInternal::didReceiveResponse): (WebCore::ResourceHandleInternal::didReceiveData): (WebCore::ResourceHandleInternal::didFinishLoading): (WebCore::ResourceHandleInternal::didFail): (WebCore::ResourceHandle::ResourceHandle): (WebCore::ResourceHandle::create): (WebCore::ResourceHandle::request): (WebCore::ResourceHandle::client): (WebCore::ResourceHandle::setClient): (WebCore::ResourceHandle::setDefersLoading): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::clearAuthentication): (WebCore::ResourceHandle::cancel): (WebCore::ResourceHandle::~ResourceHandle): (WebCore::ResourceHandle::bufferedData): (WebCore::ResourceHandle::loadsBlocked): (WebCore::ResourceHandle::supportsBufferedData): (WebCore::ResourceHandle::loadResourceSynchronously): (WebCore::ResourceHandle::willLoadFromCache): * src/SharedWorkerRepository.cpp: Added. (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): (WebCore::SharedWorkerScriptLoader::load): (WebCore::getWebPort): (WebCore::SharedWorkerScriptLoader::notifyFinished): (WebCore::SharedWorkerScriptLoader::sendConnect): (WebCore::SharedWorkerScriptLoader::contextDestroyed): (WebCore::SharedWorkerScriptLoader::connected): (WebCore::SharedWorkerRepository::isAvailable): (WebCore::getId): (WebCore::SharedWorkerRepository::connect): (WebCore::SharedWorkerRepository::documentDetached): (WebCore::SharedWorkerRepository::hasSharedWorkers): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium https://bugs.webkit.org/show_bug.cgi?id=31276 * src/GraphicsContext3D.cpp: Added. (WebCore::GraphicsContext3DInternal::): (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState): (WebCore::tryLoad): (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::checkError): (WebCore::GraphicsContext3DInternal::makeContextCurrent): (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): (WebCore::GraphicsContext3DInternal::platformTexture): (WebCore::createTextureObject): (WebCore::GraphicsContext3DInternal::reshape): (WebCore::GraphicsContext3DInternal::flipVertically): (WebCore::GraphicsContext3DInternal::beginPaint): (WebCore::GraphicsContext3DInternal::validateTextureTarget): (WebCore::GraphicsContext3DInternal::validateTextureParameter): (WebCore::GraphicsContext3DInternal::activeTexture): (WebCore::GraphicsContext3DInternal::bindBuffer): (WebCore::GraphicsContext3DInternal::bindTexture): (WebCore::GraphicsContext3DInternal::bufferDataImpl): (WebCore::GraphicsContext3DInternal::disableVertexAttribArray): (WebCore::GraphicsContext3DInternal::enableVertexAttribArray): (WebCore::GraphicsContext3DInternal::vertexAttribPointer): (WebCore::GraphicsContext3DInternal::viewportImpl): (WebCore::GraphicsContext3D::create): (WebCore::GraphicsContext3D::GraphicsContext3D): (WebCore::GraphicsContext3D::~GraphicsContext3D): (WebCore::GraphicsContext3D::platformGraphicsContext3D): (WebCore::GraphicsContext3D::platformTexture): (WebCore::GraphicsContext3D::checkError): (WebCore::GraphicsContext3D::makeContextCurrent): (WebCore::GraphicsContext3D::reshape): (WebCore::GraphicsContext3D::beginPaint): (WebCore::GraphicsContext3D::endPaint): (WebCore::GraphicsContext3D::sizeInBytes): (WebCore::GraphicsContext3D::createBuffer): (WebCore::GraphicsContext3D::createFramebuffer): (WebCore::GraphicsContext3D::createProgram): (WebCore::GraphicsContext3D::createRenderbuffer): (WebCore::GraphicsContext3D::createShader): (WebCore::GraphicsContext3D::createTexture): (WebCore::GraphicsContext3D::deleteBuffer): (WebCore::GraphicsContext3D::deleteFramebuffer): (WebCore::GraphicsContext3D::deleteProgram): (WebCore::GraphicsContext3D::deleteRenderbuffer): (WebCore::GraphicsContext3D::deleteShader): (WebCore::GraphicsContext3D::deleteTexture): (WebCore::GraphicsContext3D::activeTexture): (WebCore::GraphicsContext3D::bindAttribLocation): (WebCore::GraphicsContext3D::bindBuffer): (WebCore::GraphicsContext3D::bindTexture): (WebCore::GraphicsContext3D::bufferData): (WebCore::GraphicsContext3D::bufferSubData): (WebCore::GraphicsContext3D::checkFramebufferStatus): (WebCore::GraphicsContext3D::detachShader): (WebCore::GraphicsContext3D::disableVertexAttribArray): (WebCore::GraphicsContext3D::drawArrays): (WebCore::GraphicsContext3D::drawElements): (WebCore::GraphicsContext3D::enableVertexAttribArray): (WebCore::GraphicsContext3D::generateMipmap): (WebCore::GraphicsContext3D::getActiveAttrib): (WebCore::GraphicsContext3D::getActiveUniform): (WebCore::GraphicsContext3D::getAttribLocation): (WebCore::GraphicsContext3D::getBoolean): (WebCore::GraphicsContext3D::getBooleanv): (WebCore::GraphicsContext3D::getBufferParameteri): (WebCore::GraphicsContext3D::getBufferParameteriv): (WebCore::GraphicsContext3D::getError): (WebCore::GraphicsContext3D::getFloat): (WebCore::GraphicsContext3D::getFloatv): (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri): (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): (WebCore::GraphicsContext3D::getInteger): (WebCore::GraphicsContext3D::getIntegerv): (WebCore::GraphicsContext3D::getProgrami): (WebCore::GraphicsContext3D::getProgramiv): (WebCore::GraphicsContext3D::getProgramInfoLog): (WebCore::GraphicsContext3D::getRenderbufferParameteri): (WebCore::GraphicsContext3D::getRenderbufferParameteriv): (WebCore::GraphicsContext3D::getShaderi): (WebCore::GraphicsContext3D::getShaderiv): (WebCore::GraphicsContext3D::getShaderInfoLog): (WebCore::GraphicsContext3D::getShaderSource): (WebCore::GraphicsContext3D::getString): (WebCore::GraphicsContext3D::getTexParameterf): (WebCore::GraphicsContext3D::getTexParameterfv): (WebCore::GraphicsContext3D::getTexParameteri): (WebCore::GraphicsContext3D::getTexParameteriv): (WebCore::GraphicsContext3D::getUniformf): (WebCore::GraphicsContext3D::getUniformfv): (WebCore::GraphicsContext3D::getUniformi): (WebCore::GraphicsContext3D::getUniformiv): (WebCore::GraphicsContext3D::getUniformLocation): (WebCore::GraphicsContext3D::getVertexAttribf): (WebCore::GraphicsContext3D::getVertexAttribfv): (WebCore::GraphicsContext3D::getVertexAttribi): (WebCore::GraphicsContext3D::getVertexAttribiv): (WebCore::GraphicsContext3D::getVertexAttribOffset): (WebCore::GraphicsContext3D::isBuffer): (WebCore::GraphicsContext3D::isEnabled): (WebCore::GraphicsContext3D::isFramebuffer): (WebCore::GraphicsContext3D::isProgram): (WebCore::GraphicsContext3D::isRenderbuffer): (WebCore::GraphicsContext3D::isShader): (WebCore::GraphicsContext3D::isTexture): (WebCore::GraphicsContext3D::pixelStorei): (WebCore::GraphicsContext3D::readPixels): (WebCore::GraphicsContext3D::releaseShaderCompiler): (WebCore::GraphicsContext3D::shaderSource): (WebCore::GraphicsContext3D::texImage2D): (WebCore::unmultiplyAlpha): (WebCore::texImage2DHelper): (WebCore::GraphicsContext3D::texSubImage2D): (WebCore::GraphicsContext3D::uniform1fv): (WebCore::GraphicsContext3D::uniform1iv): (WebCore::GraphicsContext3D::uniform2fv): (WebCore::GraphicsContext3D::uniform2iv): (WebCore::GraphicsContext3D::uniform3fv): (WebCore::GraphicsContext3D::uniform3iv): (WebCore::GraphicsContext3D::uniform4fv): (WebCore::GraphicsContext3D::uniform4iv): (WebCore::GraphicsContext3D::uniformMatrix2fv): (WebCore::GraphicsContext3D::uniformMatrix3fv): (WebCore::GraphicsContext3D::uniformMatrix4fv): (WebCore::GraphicsContext3D::vertexAttrib1fv): (WebCore::GraphicsContext3D::vertexAttrib2fv): (WebCore::GraphicsContext3D::vertexAttrib3fv): (WebCore::GraphicsContext3D::vertexAttrib4fv): (WebCore::GraphicsContext3D::vertexAttribPointer): (WebCore::GraphicsContext3D::viewport): * src/InspectorClientImpl.cpp: Added. (WebKit::InspectorClientImpl::InspectorClientImpl): (WebKit::InspectorClientImpl::~InspectorClientImpl): (WebKit::InspectorClientImpl::inspectorDestroyed): (WebKit::InspectorClientImpl::createPage): (WebKit::InspectorClientImpl::showWindow): (WebKit::InspectorClientImpl::closeWindow): (WebKit::InspectorClientImpl::windowVisible): (WebKit::InspectorClientImpl::attachWindow): (WebKit::InspectorClientImpl::detachWindow): (WebKit::InspectorClientImpl::setAttachedWindowHeight): (WebKit::invalidateNodeBoundingRect): (WebKit::InspectorClientImpl::highlight): (WebKit::InspectorClientImpl::hideHighlight): (WebKit::InspectorClientImpl::inspectedURLChanged): (WebKit::InspectorClientImpl::localizedStringsURL): (WebKit::InspectorClientImpl::hiddenPanels): (WebKit::InspectorClientImpl::populateSetting): (WebKit::InspectorClientImpl::storeSetting): (WebKit::InspectorClientImpl::removeSetting): (WebKit::InspectorClientImpl::inspectorWindowObjectCleared): (WebKit::InspectorClientImpl::loadSettings): (WebKit::InspectorClientImpl::saveSettings): * src/InspectorClientImpl.h: Added. * src/LocalizedStrings.cpp: Added. (WebCore::query): (WebCore::searchableIndexIntroduction): (WebCore::submitButtonDefaultLabel): (WebCore::inputElementAltText): (WebCore::resetButtonDefaultLabel): (WebCore::fileButtonChooseFileLabel): (WebCore::fileButtonNoFileSelectedLabel): (WebCore::searchMenuNoRecentSearchesText): (WebCore::searchMenuRecentSearchesText): (WebCore::searchMenuClearRecentSearchesText): (WebCore::AXWebAreaText): (WebCore::AXLinkText): (WebCore::AXListMarkerText): (WebCore::AXImageMapText): (WebCore::AXHeadingText): (WebCore::AXDefinitionListTermText): (WebCore::AXDefinitionListDefinitionText): (WebCore::AXButtonActionVerb): (WebCore::AXRadioButtonActionVerb): (WebCore::AXTextFieldActionVerb): (WebCore::AXCheckedCheckBoxActionVerb): (WebCore::AXUncheckedCheckBoxActionVerb): (WebCore::AXLinkActionVerb): (WebCore::multipleFileUploadText): (WebCore::unknownFileSizeText): (WebCore::keygenMenuHighGradeKeySize): (WebCore::keygenMenuMediumGradeKeySize): (WebCore::imageTitle): (WebCore::contextMenuItemTagOpenLinkInNewWindow): (WebCore::contextMenuItemTagDownloadLinkToDisk): (WebCore::contextMenuItemTagCopyLinkToClipboard): (WebCore::contextMenuItemTagOpenImageInNewWindow): (WebCore::contextMenuItemTagDownloadImageToDisk): (WebCore::contextMenuItemTagCopyImageToClipboard): (WebCore::contextMenuItemTagOpenFrameInNewWindow): (WebCore::contextMenuItemTagCopy): (WebCore::contextMenuItemTagGoBack): (WebCore::contextMenuItemTagGoForward): (WebCore::contextMenuItemTagStop): (WebCore::contextMenuItemTagReload): (WebCore::contextMenuItemTagCut): (WebCore::contextMenuItemTagPaste): (WebCore::contextMenuItemTagNoGuessesFound): (WebCore::contextMenuItemTagIgnoreSpelling): (WebCore::contextMenuItemTagLearnSpelling): (WebCore::contextMenuItemTagSearchWeb): (WebCore::contextMenuItemTagLookUpInDictionary): (WebCore::contextMenuItemTagOpenLink): (WebCore::contextMenuItemTagIgnoreGrammar): (WebCore::contextMenuItemTagSpellingMenu): (WebCore::contextMenuItemTagCheckSpelling): (WebCore::contextMenuItemTagCheckSpellingWhileTyping): (WebCore::contextMenuItemTagCheckGrammarWithSpelling): (WebCore::contextMenuItemTagFontMenu): (WebCore::contextMenuItemTagBold): (WebCore::contextMenuItemTagItalic): (WebCore::contextMenuItemTagUnderline): (WebCore::contextMenuItemTagOutline): (WebCore::contextMenuItemTagWritingDirectionMenu): (WebCore::contextMenuItemTagTextDirectionMenu): (WebCore::contextMenuItemTagDefaultDirection): (WebCore::contextMenuItemTagLeftToRight): (WebCore::contextMenuItemTagRightToLeft): (WebCore::contextMenuItemTagInspectElement): (WebCore::contextMenuItemTagShowSpellingPanel): (WebCore::mediaElementLiveBroadcastStateText): (WebCore::mediaElementLoadingStateText): (WebCore::localizedMediaControlElementString): (WebCore::localizedMediaControlElementHelpText): (WebCore::localizedMediaTimeDescription): * src/MediaPlayerPrivateChromium.cpp: Added. (WebCore::MediaPlayerPrivate::registerMediaEngine): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl https://bugs.webkit.org/show_bug.cgi?id=31276 * src/DOMUtilitiesPrivate.cpp: Added. (WebCore::toHTMLElement): (WebKit::toHTMLInputElement): (WebKit::toHTMLLinkElement): (WebKit::toHTMLMetaElement): (WebKit::toHTMLOptionElement): (WebKit::nameOfInputElement): * src/DOMUtilitiesPrivate.h: Added. * src/DragClientImpl.cpp: Added. (WebKit::DragClientImpl::willPerformDragDestinationAction): (WebKit::DragClientImpl::willPerformDragSourceAction): (WebKit::DragClientImpl::actionMaskForDrag): (WebKit::DragClientImpl::dragSourceActionMaskForPoint): (WebKit::DragClientImpl::startDrag): (WebKit::DragClientImpl::createDragImageForLink): (WebKit::DragClientImpl::dragControllerDestroyed): * src/DragClientImpl.h: Added. (WebKit::DragClientImpl::DragClientImpl): * src/EditorClientImpl.cpp: Added. (WebKit::EditorClientImpl::EditorClientImpl): (WebKit::EditorClientImpl::~EditorClientImpl): (WebKit::EditorClientImpl::pageDestroyed): (WebKit::EditorClientImpl::shouldShowDeleteInterface): (WebKit::EditorClientImpl::smartInsertDeleteEnabled): (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): (WebKit::EditorClientImpl::shouldSpellcheckByDefault): (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled): (WebKit::EditorClientImpl::toggleContinuousSpellChecking): (WebKit::EditorClientImpl::isGrammarCheckingEnabled): (WebKit::EditorClientImpl::toggleGrammarChecking): (WebKit::EditorClientImpl::spellCheckerDocumentTag): (WebKit::EditorClientImpl::isEditable): (WebKit::EditorClientImpl::shouldBeginEditing): (WebKit::EditorClientImpl::shouldEndEditing): (WebKit::EditorClientImpl::shouldInsertNode): (WebKit::EditorClientImpl::shouldInsertText): (WebKit::EditorClientImpl::shouldDeleteRange): (WebKit::EditorClientImpl::shouldChangeSelectedRange): (WebKit::EditorClientImpl::shouldApplyStyle): (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete): (WebKit::EditorClientImpl::didBeginEditing): (WebKit::EditorClientImpl::respondToChangedSelection): (WebKit::EditorClientImpl::respondToChangedContents): (WebKit::EditorClientImpl::didEndEditing): (WebKit::EditorClientImpl::didWriteSelectionToPasteboard): (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard): (WebKit::EditorClientImpl::registerCommandForUndo): (WebKit::EditorClientImpl::registerCommandForRedo): (WebKit::EditorClientImpl::clearUndoRedoOperations): (WebKit::EditorClientImpl::canUndo): (WebKit::EditorClientImpl::canRedo): (WebKit::EditorClientImpl::undo): (WebKit::EditorClientImpl::redo): (WebKit::): (WebKit::EditorClientImpl::interpretKeyEvent): (WebKit::EditorClientImpl::handleEditingKeyboardEvent): (WebKit::EditorClientImpl::handleKeyboardEvent): (WebKit::EditorClientImpl::handleInputMethodKeydown): (WebKit::EditorClientImpl::textFieldDidBeginEditing): (WebKit::EditorClientImpl::textFieldDidEndEditing): (WebKit::EditorClientImpl::textDidChangeInTextField): (WebKit::EditorClientImpl::showFormAutofillForNode): (WebKit::EditorClientImpl::autofill): (WebKit::EditorClientImpl::doAutofill): (WebKit::EditorClientImpl::cancelPendingAutofill): (WebKit::EditorClientImpl::onAutofillSuggestionAccepted): (WebKit::EditorClientImpl::doTextFieldCommandFromEvent): (WebKit::EditorClientImpl::textWillBeDeletedInTextField): (WebKit::EditorClientImpl::textDidChangeInTextArea): (WebKit::EditorClientImpl::ignoreWordInSpellDocument): (WebKit::EditorClientImpl::learnWord): (WebKit::EditorClientImpl::checkSpellingOfString): (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord): (WebKit::EditorClientImpl::checkGrammarOfString): (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString): (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord): (WebKit::EditorClientImpl::showSpellingUI): (WebKit::EditorClientImpl::spellingUIIsShowing): (WebKit::EditorClientImpl::getGuessesForWord): (WebKit::EditorClientImpl::setInputMethodState): * src/EditorClientImpl.h: Added. (WebKit::EditorClientImpl::): * src/FrameLoaderClientImpl.cpp: Added. (WebKit::): (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl): (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl): (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed): (WebKit::FrameLoaderClientImpl::windowObjectCleared): (WebKit::FrameLoaderClientImpl::documentElementAvailable): (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame): (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame): (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext): (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation): (WebKit::FrameLoaderClientImpl::registerForIconNotification): (WebKit::FrameLoaderClientImpl::didChangeScrollOffset): (WebKit::FrameLoaderClientImpl::allowJavaScript): (WebKit::FrameLoaderClientImpl::hasWebView): (WebKit::FrameLoaderClientImpl::hasFrameView): (WebKit::FrameLoaderClientImpl::makeDocumentView): (WebKit::FrameLoaderClientImpl::makeRepresentation): (WebKit::FrameLoaderClientImpl::forceLayout): (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML): (WebKit::FrameLoaderClientImpl::setCopiesOnScroll): (WebKit::FrameLoaderClientImpl::detachedFromParent2): (WebKit::FrameLoaderClientImpl::detachedFromParent3): (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest): (WebKit::determineTargetTypeFromLoader): (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage): (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge): (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge): (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse): (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength): (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading): (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading): (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad): (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache): (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest): (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents): (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad): (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect): (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect): (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): (WebKit::FrameLoaderClientImpl::dispatchWillClose): (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon): (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad): (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle): (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad): (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad): (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad): (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout): (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout): (WebKit::FrameLoaderClientImpl::dispatchCreatePage): (WebKit::FrameLoaderClientImpl::dispatchShow): (WebKit::shouldTreatAsAttachment): (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType): (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction): (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction): (WebKit::FrameLoaderClientImpl::cancelPolicyCheck): (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy): (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm): (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource): (WebKit::FrameLoaderClientImpl::revertToProvisionalState): (WebKit::FrameLoaderClientImpl::setMainDocumentError): (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification): (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady): (WebKit::FrameLoaderClientImpl::startDownload): (WebKit::FrameLoaderClientImpl::willChangeTitle): (WebKit::FrameLoaderClientImpl::didChangeTitle): (WebKit::FrameLoaderClientImpl::committedLoad): (WebKit::FrameLoaderClientImpl::finishedLoading): (WebKit::FrameLoaderClientImpl::updateGlobalHistory): (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks): (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent): (WebKit::FrameLoaderClientImpl::didRunInsecureContent): (WebKit::FrameLoaderClientImpl::blockedError): (WebKit::FrameLoaderClientImpl::cancelledError): (WebKit::FrameLoaderClientImpl::cannotShowURLError): (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError): (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError): (WebKit::FrameLoaderClientImpl::fileDoesNotExistError): (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError): (WebKit::FrameLoaderClientImpl::shouldFallBack): (WebKit::FrameLoaderClientImpl::canHandleRequest): (WebKit::FrameLoaderClientImpl::canShowMIMEType): (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme): (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme): (WebKit::FrameLoaderClientImpl::frameLoadCompleted): (WebKit::FrameLoaderClientImpl::saveViewStateToItem): (WebKit::FrameLoaderClientImpl::restoreViewState): (WebKit::FrameLoaderClientImpl::provisionalLoadStarted): (WebKit::FrameLoaderClientImpl::didFinishLoad): (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement): (WebKit::FrameLoaderClientImpl::createDocumentLoader): (WebKit::FrameLoaderClientImpl::setTitle): (WebKit::FrameLoaderClientImpl::userAgent): (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame): (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame): (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage): (WebKit::FrameLoaderClientImpl::canCachePage): (WebKit::FrameLoaderClientImpl::download): (WebKit::FrameLoaderClientImpl::createFrame): (WebKit::FrameLoaderClientImpl::createPlugin): (WebKit::FrameLoaderClientImpl::redirectDataToPlugin): (WebKit::FrameLoaderClientImpl::createJavaAppletWidget): (WebKit::FrameLoaderClientImpl::objectContentType): (WebKit::FrameLoaderClientImpl::overrideMediaType): (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy): (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation): (WebKit::FrameLoaderClientImpl::pluginLoadObserver): * src/FrameLoaderClientImpl.h: Added. (WebKit::FrameLoaderClientImpl::webFrame): (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress): (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl https://bugs.webkit.org/show_bug.cgi?id=31276 * src/ChromeClientImpl.cpp: Added. (WebKit::ChromeClientImpl::ChromeClientImpl): (WebKit::ChromeClientImpl::~ChromeClientImpl): (WebKit::ChromeClientImpl::chromeDestroyed): (WebKit::ChromeClientImpl::setWindowRect): (WebKit::ChromeClientImpl::windowRect): (WebKit::ChromeClientImpl::pageRect): (WebKit::ChromeClientImpl::scaleFactor): (WebKit::ChromeClientImpl::focus): (WebKit::ChromeClientImpl::unfocus): (WebKit::ChromeClientImpl::canTakeFocus): (WebKit::ChromeClientImpl::takeFocus): (WebKit::ChromeClientImpl::focusedNodeChanged): (WebKit::ChromeClientImpl::createWindow): (WebKit::currentEventShouldCauseBackgroundTab): (WebKit::ChromeClientImpl::show): (WebKit::ChromeClientImpl::canRunModal): (WebKit::ChromeClientImpl::runModal): (WebKit::ChromeClientImpl::setToolbarsVisible): (WebKit::ChromeClientImpl::toolbarsVisible): (WebKit::ChromeClientImpl::setStatusbarVisible): (WebKit::ChromeClientImpl::statusbarVisible): (WebKit::ChromeClientImpl::setScrollbarsVisible): (WebKit::ChromeClientImpl::scrollbarsVisible): (WebKit::ChromeClientImpl::setMenubarVisible): (WebKit::ChromeClientImpl::menubarVisible): (WebKit::ChromeClientImpl::setResizable): (WebKit::ChromeClientImpl::addMessageToConsole): (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel): (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel): (WebKit::ChromeClientImpl::closeWindowSoon): (WebKit::ChromeClientImpl::runJavaScriptAlert): (WebKit::ChromeClientImpl::runJavaScriptConfirm): (WebKit::ChromeClientImpl::runJavaScriptPrompt): (WebKit::ChromeClientImpl::setStatusbarText): (WebKit::ChromeClientImpl::shouldInterruptJavaScript): (WebKit::ChromeClientImpl::tabsToLinks): (WebKit::ChromeClientImpl::windowResizerRect): (WebKit::ChromeClientImpl::repaint): (WebKit::ChromeClientImpl::scroll): (WebKit::ChromeClientImpl::screenToWindow): (WebKit::ChromeClientImpl::windowToScreen): (WebKit::ChromeClientImpl::contentsSizeChanged): (WebKit::ChromeClientImpl::scrollbarsModeDidChange): (WebKit::ChromeClientImpl::mouseDidMoveOverElement): (WebKit::ChromeClientImpl::setToolTip): (WebKit::ChromeClientImpl::print): (WebKit::ChromeClientImpl::exceededDatabaseQuota): (WebKit::ChromeClientImpl::reachedMaxAppCacheSize): (WebKit::ChromeClientImpl::runOpenPanel): (WebKit::ChromeClientImpl::popupOpened): (WebKit::ChromeClientImpl::setCursor): (WebKit::ChromeClientImpl::setCursorForPlugin): (WebKit::ChromeClientImpl::formStateDidChange): (WebKit::ChromeClientImpl::getPopupMenuInfo): (WebKit::ChromeClientImpl::notificationPresenter): * src/ChromeClientImpl.h: Added. (WebKit::ChromeClientImpl::webView): (WebKit::ChromeClientImpl::platformPageClient): (WebKit::ChromeClientImpl::scrollRectIntoView): (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): (WebKit::ChromeClientImpl::setCursor): (WebKit::ChromeClientImpl::createHTMLParserQuirks): * src/ChromiumBridge.cpp: Added. (WebCore::toChromeClientImpl): (WebCore::toWebWidgetClient): (WebCore::ChromiumBridge::clipboardIsFormatAvailable): (WebCore::ChromiumBridge::clipboardReadPlainText): (WebCore::ChromiumBridge::clipboardReadHTML): (WebCore::ChromiumBridge::clipboardWriteSelection): (WebCore::ChromiumBridge::clipboardWritePlainText): (WebCore::ChromiumBridge::clipboardWriteURL): (WebCore::ChromiumBridge::clipboardWriteImage): (WebCore::ChromiumBridge::setCookies): (WebCore::ChromiumBridge::cookies): (WebCore::ChromiumBridge::rawCookies): (WebCore::ChromiumBridge::deleteCookie): (WebCore::ChromiumBridge::prefetchDNS): (WebCore::ChromiumBridge::fileExists): (WebCore::ChromiumBridge::deleteFile): (WebCore::ChromiumBridge::deleteEmptyDirectory): (WebCore::ChromiumBridge::getFileSize): (WebCore::ChromiumBridge::getFileModificationTime): (WebCore::ChromiumBridge::directoryName): (WebCore::ChromiumBridge::pathByAppendingComponent): (WebCore::ChromiumBridge::makeAllDirectories): (WebCore::ChromiumBridge::getAbsolutePath): (WebCore::ChromiumBridge::isDirectory): (WebCore::ChromiumBridge::filePathToURL): (WebCore::ChromiumBridge::ensureFontLoaded): (WebCore::ChromiumBridge::getFontFamilyForCharacters): (WebCore::ChromiumBridge::databaseOpenFile): (WebCore::ChromiumBridge::databaseDeleteFile): (WebCore::ChromiumBridge::databaseGetFileAttributes): (WebCore::ChromiumBridge::databaseGetFileSize): (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString): (WebCore::ChromiumBridge::computedDefaultLanguage): (WebCore::ChromiumBridge::layoutTestMode): (WebCore::ChromiumBridge::isSupportedImageMIMEType): (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType): (WebCore::ChromiumBridge::isSupportedNonImageMIMEType): (WebCore::ChromiumBridge::mimeTypeForExtension): (WebCore::ChromiumBridge::mimeTypeFromFile): (WebCore::ChromiumBridge::preferredExtensionForMIMEType): (WebCore::ChromiumBridge::plugins): (WebCore::ChromiumBridge::pluginScriptableObject): (WebCore::ChromiumBridge::loadPlatformImageResource): (WebCore::ChromiumBridge::sandboxEnabled): (WebCore::ChromiumBridge::setSharedTimerFiredFunction): (WebCore::ChromiumBridge::setSharedTimerFireTime): (WebCore::ChromiumBridge::stopSharedTimer): (WebCore::ChromiumBridge::decrementStatsCounter): (WebCore::ChromiumBridge::incrementStatsCounter): (WebCore::ChromiumBridge::suddenTerminationChanged): (WebCore::ChromiumBridge::currentTime): (WebCore::ChromiumBridge::paintButton): (WebCore::ChromiumBridge::paintMenuList): (WebCore::ChromiumBridge::paintScrollbarArrow): (WebCore::ChromiumBridge::paintScrollbarThumb): (WebCore::ChromiumBridge::paintScrollbarTrack): (WebCore::ChromiumBridge::paintTextField): (WebCore::ChromiumBridge::paintTrackbar): (WebCore::ChromiumBridge::traceEventBegin): (WebCore::ChromiumBridge::traceEventEnd): (WebCore::ChromiumBridge::visitedLinkHash): (WebCore::ChromiumBridge::isLinkVisited): (WebCore::ChromiumBridge::notifyJSOutOfMemory): (WebCore::ChromiumBridge::memoryUsageMB): (WebCore::ChromiumBridge::screenDepth): (WebCore::ChromiumBridge::screenDepthPerComponent): (WebCore::ChromiumBridge::screenIsMonochrome): (WebCore::ChromiumBridge::screenRect): (WebCore::ChromiumBridge::screenAvailableRect): (WebCore::ChromiumBridge::popupsAllowed): (WebCore::ChromiumBridge::widgetSetCursor): (WebCore::ChromiumBridge::widgetSetFocus): (WebCore::WorkerContextProxy::create): * src/ChromiumCurrentTime.cpp: Added. (WTF::currentTime): * src/ChromiumThreading.cpp: Added. (WTF::ChromiumThreading::initializeMainThread): (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread): * src/ContextMenuClientImpl.cpp: Added. (WebKit::urlFromFrame): (WebKit::isASingleWord): (WebKit::selectMisspelledWord): (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/ContextMenuClientImpl.h: Added. (WebKit::ContextMenuClientImpl::ContextMenuClientImpl): (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl): (WebKit::ContextMenuClientImpl::copyImageToClipboard): (WebKit::ContextMenuClientImpl::contextMenuDestroyed): (WebKit::ContextMenuClientImpl::contextMenuItemSelected): (WebKit::ContextMenuClientImpl::downloadURL): (WebKit::ContextMenuClientImpl::isSpeaking): (WebKit::ContextMenuClientImpl::lookUpInDictionary): (WebKit::ContextMenuClientImpl::searchWithGoogle): (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem): (WebKit::ContextMenuClientImpl::speak): (WebKit::ContextMenuClientImpl::stopSpeaking): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl https://bugs.webkit.org/show_bug.cgi?id=31276 * src/ApplicationCacheHost.cpp: Added. (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal): (WebCore::ApplicationCacheHostInternal::notifyEventListener): (WebCore::ApplicationCacheHost::ApplicationCacheHost): (WebCore::ApplicationCacheHost::~ApplicationCacheHost): (WebCore::ApplicationCacheHost::maybeLoadMainResource): (WebCore::ApplicationCacheHost::selectCacheWithoutManifest): (WebCore::ApplicationCacheHost::selectCacheWithManifest): (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse): (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError): (WebCore::ApplicationCacheHost::mainResourceDataReceived): (WebCore::ApplicationCacheHost::failedLoadingMainResource): (WebCore::ApplicationCacheHost::finishedLoadingMainResource): (WebCore::ApplicationCacheHost::maybeLoadResource): (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect): (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse): (WebCore::ApplicationCacheHost::maybeLoadFallbackForError): (WebCore::ApplicationCacheHost::maybeLoadSynchronously): (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously): (WebCore::ApplicationCacheHost::canCacheInPageCache): (WebCore::ApplicationCacheHost::setDOMApplicationCache): (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): (WebCore::ApplicationCacheHost::status): (WebCore::ApplicationCacheHost::update): (WebCore::ApplicationCacheHost::swapCache): (WebCore::ApplicationCacheHost::isApplicationCacheEnabled): * src/AssertMatchingEnums.cpp: Added. * src/AutocompletePopupMenuClient.cpp: Added. (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient): (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient): (WebKit::AutocompletePopupMenuClient::initialize): (WebKit::AutocompletePopupMenuClient::valueChanged): (WebKit::AutocompletePopupMenuClient::itemText): (WebKit::AutocompletePopupMenuClient::itemStyle): (WebKit::AutocompletePopupMenuClient::menuStyle): (WebKit::AutocompletePopupMenuClient::clientPaddingLeft): (WebKit::AutocompletePopupMenuClient::clientPaddingRight): (WebKit::AutocompletePopupMenuClient::popupDidHide): (WebKit::AutocompletePopupMenuClient::setTextFromItem): (WebKit::AutocompletePopupMenuClient::fontSelector): (WebKit::AutocompletePopupMenuClient::hostWindow): (WebKit::AutocompletePopupMenuClient::createScrollbar): (WebKit::AutocompletePopupMenuClient::setSuggestions): (WebKit::AutocompletePopupMenuClient::removeItemAtIndex): (WebKit::AutocompletePopupMenuClient::textFieldStyle): * src/AutocompletePopupMenuClient.h: Added. (WebKit::AutocompletePopupMenuClient::textField): (WebKit::AutocompletePopupMenuClient::itemToolTip): (WebKit::AutocompletePopupMenuClient::itemIsEnabled): (WebKit::AutocompletePopupMenuClient::clientInsetLeft): (WebKit::AutocompletePopupMenuClient::clientInsetRight): (WebKit::AutocompletePopupMenuClient::listSize): (WebKit::AutocompletePopupMenuClient::selectedIndex): (WebKit::AutocompletePopupMenuClient::itemIsSeparator): (WebKit::AutocompletePopupMenuClient::itemIsLabel): (WebKit::AutocompletePopupMenuClient::itemIsSelected): (WebKit::AutocompletePopupMenuClient::shouldPopOver): (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack): * src/BackForwardListClientImpl.cpp: Added. (WebKit::BackForwardListClientImpl::BackForwardListClientImpl): (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl): (WebKit::BackForwardListClientImpl::setCurrentHistoryItem): (WebKit::BackForwardListClientImpl::previousHistoryItem): (WebKit::BackForwardListClientImpl::addItem): (WebKit::BackForwardListClientImpl::goToItem): (WebKit::BackForwardListClientImpl::currentItem): (WebKit::BackForwardListClientImpl::itemAtIndex): (WebKit::BackForwardListClientImpl::backListCount): (WebKit::BackForwardListClientImpl::forwardListCount): (WebKit::BackForwardListClientImpl::close): * src/BackForwardListClientImpl.h: Added. 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebString...WebViewImpl https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebString.cpp: Added. (WebKit::WebString::reset): (WebKit::WebString::assign): (WebKit::WebString::length): (WebKit::WebString::data): (WebKit::WebString::utf8): (WebKit::WebString::fromUTF8): (WebKit::WebString::WebString): (WebKit::WebString::operator=): (WebKit::WebString::operator WebCore::String): (WebKit::WebString::operator WebCore::AtomicString): * src/WebURL.cpp: Added. (WebKit::WebURL::WebURL): (WebKit::WebURL::operator=): (WebKit::WebURL::operator WebCore::KURL): * src/WebURLError.cpp: Added. (WebKit::WebURLError::WebURLError): (WebKit::WebURLError::operator=): (WebKit::WebURLError::operator ResourceError): * src/WebURLRequest.cpp: Added. (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): (WebKit::WebURLRequestPrivateImpl::dispose): (WebKit::WebURLRequest::initialize): (WebKit::WebURLRequest::reset): (WebKit::WebURLRequest::assign): (WebKit::WebURLRequest::isNull): (WebKit::WebURLRequest::url): (WebKit::WebURLRequest::setURL): (WebKit::WebURLRequest::firstPartyForCookies): (WebKit::WebURLRequest::setFirstPartyForCookies): (WebKit::WebURLRequest::allowCookies): (WebKit::WebURLRequest::setAllowCookies): (WebKit::WebURLRequest::allowStoredCredentials): (WebKit::WebURLRequest::setAllowStoredCredentials): (WebKit::WebURLRequest::cachePolicy): (WebKit::WebURLRequest::setCachePolicy): (WebKit::WebURLRequest::httpMethod): (WebKit::WebURLRequest::setHTTPMethod): (WebKit::WebURLRequest::httpHeaderField): (WebKit::WebURLRequest::setHTTPHeaderField): (WebKit::WebURLRequest::addHTTPHeaderField): (WebKit::WebURLRequest::clearHTTPHeaderField): (WebKit::WebURLRequest::visitHTTPHeaderFields): (WebKit::WebURLRequest::httpBody): (WebKit::WebURLRequest::setHTTPBody): (WebKit::WebURLRequest::reportUploadProgress): (WebKit::WebURLRequest::setReportUploadProgress): (WebKit::WebURLRequest::targetType): (WebKit::WebURLRequest::setTargetType): (WebKit::WebURLRequest::requestorID): (WebKit::WebURLRequest::setRequestorID): (WebKit::WebURLRequest::requestorProcessID): (WebKit::WebURLRequest::setRequestorProcessID): (WebKit::WebURLRequest::appCacheHostID): (WebKit::WebURLRequest::setAppCacheHostID): (WebKit::WebURLRequest::toMutableResourceRequest): (WebKit::WebURLRequest::toResourceRequest): * src/WebURLRequestPrivate.h: Added. (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): * src/WebURLResponse.cpp: Added. (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): (WebKit::WebURLResponsePrivateImpl::dispose): (WebKit::WebURLResponse::initialize): (WebKit::WebURLResponse::reset): (WebKit::WebURLResponse::assign): (WebKit::WebURLResponse::isNull): (WebKit::WebURLResponse::url): (WebKit::WebURLResponse::setURL): (WebKit::WebURLResponse::mimeType): (WebKit::WebURLResponse::setMIMEType): (WebKit::WebURLResponse::expectedContentLength): (WebKit::WebURLResponse::setExpectedContentLength): (WebKit::WebURLResponse::textEncodingName): (WebKit::WebURLResponse::setTextEncodingName): (WebKit::WebURLResponse::suggestedFileName): (WebKit::WebURLResponse::setSuggestedFileName): (WebKit::WebURLResponse::httpStatusCode): (WebKit::WebURLResponse::setHTTPStatusCode): (WebKit::WebURLResponse::httpStatusText): (WebKit::WebURLResponse::setHTTPStatusText): (WebKit::WebURLResponse::httpHeaderField): (WebKit::WebURLResponse::setHTTPHeaderField): (WebKit::WebURLResponse::addHTTPHeaderField): (WebKit::WebURLResponse::clearHTTPHeaderField): (WebKit::WebURLResponse::visitHTTPHeaderFields): (WebKit::WebURLResponse::lastModifiedDate): (WebKit::WebURLResponse::setLastModifiedDate): (WebKit::WebURLResponse::isContentFiltered): (WebKit::WebURLResponse::setIsContentFiltered): (WebKit::WebURLResponse::appCacheID): (WebKit::WebURLResponse::setAppCacheID): (WebKit::WebURLResponse::appCacheManifestURL): (WebKit::WebURLResponse::setAppCacheManifestURL): (WebKit::WebURLResponse::securityInfo): (WebKit::WebURLResponse::setSecurityInfo): (WebKit::WebURLResponse::toMutableResourceResponse): (WebKit::WebURLResponse::toResourceResponse): * src/WebURLResponsePrivate.h: Added. (WebKit::WebURLResponsePrivate::WebURLResponsePrivate): * src/WebViewImpl.cpp: Added. (WebKit::): (WebKit::WebView::create): (WebKit::WebView::updateVisitedLinkState): (WebKit::WebView::resetVisitedLinkState): (WebKit::WebViewImpl::initializeMainFrame): (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::~WebViewImpl): (WebKit::WebViewImpl::theme): (WebKit::WebViewImpl::mainFrameImpl): (WebKit::WebViewImpl::tabKeyCyclesThroughElements): (WebKit::WebViewImpl::setTabKeyCyclesThroughElements): (WebKit::WebViewImpl::mouseMove): (WebKit::WebViewImpl::mouseLeave): (WebKit::WebViewImpl::mouseDown): (WebKit::WebViewImpl::mouseContextMenu): (WebKit::WebViewImpl::mouseUp): (WebKit::WebViewImpl::mouseWheel): (WebKit::WebViewImpl::keyEvent): (WebKit::WebViewImpl::autocompleteHandleKeyEvent): (WebKit::WebViewImpl::charEvent): (WebKit::WebViewImpl::sendContextMenuEvent): (WebKit::WebViewImpl::keyEventDefault): (WebKit::WebViewImpl::scrollViewWithKeyboard): (WebKit::WebViewImpl::propagateScroll): (WebKit::WebViewImpl::focusedWebCoreFrame): (WebKit::WebViewImpl::fromPage): (WebKit::WebViewImpl::close): (WebKit::WebViewImpl::resize): (WebKit::WebViewImpl::layout): (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::handleInputEvent): (WebKit::WebViewImpl::mouseCaptureLost): (WebKit::WebViewImpl::setFocus): (WebKit::WebViewImpl::handleCompositionEvent): (WebKit::WebViewImpl::queryCompositionStatus): (WebKit::WebViewImpl::setTextDirection): (WebKit::WebViewImpl::settings): (WebKit::WebViewImpl::pageEncoding): (WebKit::WebViewImpl::setPageEncoding): (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): (WebKit::WebViewImpl::dispatchUnloadEvent): (WebKit::WebViewImpl::mainFrame): (WebKit::WebViewImpl::findFrameByName): (WebKit::WebViewImpl::focusedFrame): (WebKit::WebViewImpl::setFocusedFrame): (WebKit::WebViewImpl::setInitialFocus): (WebKit::WebViewImpl::clearFocusedNode): (WebKit::WebViewImpl::zoomIn): (WebKit::WebViewImpl::zoomOut): (WebKit::WebViewImpl::zoomDefault): (WebKit::WebViewImpl::performMediaPlayerAction): (WebKit::WebViewImpl::copyImageAt): (WebKit::WebViewImpl::dragSourceEndedAt): (WebKit::WebViewImpl::dragSourceMovedTo): (WebKit::WebViewImpl::dragSourceSystemDragEnded): (WebKit::WebViewImpl::dragTargetDragEnter): (WebKit::WebViewImpl::dragTargetDragOver): (WebKit::WebViewImpl::dragTargetDragLeave): (WebKit::WebViewImpl::dragTargetDrop): (WebKit::WebViewImpl::dragIdentity): (WebKit::WebViewImpl::inspectElementAt): (WebKit::WebViewImpl::inspectorSettings): (WebKit::WebViewImpl::setInspectorSettings): (WebKit::WebViewImpl::devToolsAgent): (WebKit::WebViewImpl::setDevToolsAgent): (WebKit::WebViewImpl::accessibilityObject): (WebKit::WebViewImpl::applyAutofillSuggestions): (WebKit::WebViewImpl::hideAutofillPopup): (WebKit::WebViewImpl::setDropEffect): (WebKit::WebViewImpl::setIsTransparent): (WebKit::WebViewImpl::isTransparent): (WebKit::WebViewImpl::setIsActive): (WebKit::WebViewImpl::isActive): (WebKit::WebViewImpl::didCommitLoad): (WebKit::WebViewImpl::navigationPolicyFromMouseEvent): (WebKit::WebViewImpl::startDragging): (WebKit::WebViewImpl::setCurrentHistoryItem): (WebKit::WebViewImpl::previousHistoryItem): (WebKit::WebViewImpl::observeNewNavigation): (WebKit::WebViewImpl::hideAutoCompletePopup): (WebKit::WebViewImpl::autoCompletePopupDidHide): (WebKit::WebViewImpl::setIgnoreInputEvents): (WebKit::WebViewImpl::notificationPresenterImpl): (WebKit::WebViewImpl::refreshAutofillPopup): (WebKit::WebViewImpl::focusedWebCoreNode): (WebKit::WebViewImpl::hitTestResultForWindowPos): (WebKit::WebViewImpl::setTabsToLinks): (WebKit::WebViewImpl::tabsToLinks): * src/WebViewImpl.h: Added. (WebKit::WebViewImpl::size): (WebKit::WebViewImpl::devToolsAgentPrivate): (WebKit::WebViewImpl::lastMouseDownPoint): (WebKit::WebViewImpl::client): (WebKit::WebViewImpl::page): (WebKit::WebViewImpl::contextMenuAllowed): (WebKit::WebViewImpl::setInitialNavigationPolicy): (WebKit::WebViewImpl::initialNavigationPolicy): (WebKit::WebViewImpl::currentInputEvent): (WebKit::WebViewImpl::): 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebScriptController.cpp: Added. (WebKit::WebScriptController::registerExtension): (WebKit::WebScriptController::enableV8SingleThreadMode): (WebKit::WebScriptController::flushConsoleMessages): * src/WebSearchableFormData.cpp: Added. (WebCore::GetFormEncoding): (WebCore::IsHTTPFormSubmit): (WebCore::GetButtonToActivate): (WebCore::IsSelectInDefaultState): (WebCore::IsInDefaultState): (WebCore::HasSuitableTextElement): (WebKit::WebSearchableFormData::WebSearchableFormData): * src/WebSecurityOrigin.cpp: Added. (WebKit::WebSecurityOrigin::reset): (WebKit::WebSecurityOrigin::assign): (WebKit::WebSecurityOrigin::protocol): (WebKit::WebSecurityOrigin::host): (WebKit::WebSecurityOrigin::port): (WebKit::WebSecurityOrigin::isEmpty): (WebKit::WebSecurityOrigin::toString): (WebKit::WebSecurityOrigin::databaseIdentifier): (WebKit::WebSecurityOrigin::WebSecurityOrigin): (WebKit::WebSecurityOrigin::operator=): (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr): * src/WebSecurityPolicy.cpp: Added. (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal): (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess): (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin): (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists): * src/WebSettingsImpl.cpp: Added. (WebKit::WebSettingsImpl::WebSettingsImpl): (WebKit::WebSettingsImpl::setStandardFontFamily): (WebKit::WebSettingsImpl::setFixedFontFamily): (WebKit::WebSettingsImpl::setSerifFontFamily): (WebKit::WebSettingsImpl::setSansSerifFontFamily): (WebKit::WebSettingsImpl::setCursiveFontFamily): (WebKit::WebSettingsImpl::setFantasyFontFamily): (WebKit::WebSettingsImpl::setDefaultFontSize): (WebKit::WebSettingsImpl::setDefaultFixedFontSize): (WebKit::WebSettingsImpl::setMinimumFontSize): (WebKit::WebSettingsImpl::setMinimumLogicalFontSize): (WebKit::WebSettingsImpl::setDefaultTextEncodingName): (WebKit::WebSettingsImpl::setJavaScriptEnabled): (WebKit::WebSettingsImpl::setWebSecurityEnabled): (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically): (WebKit::WebSettingsImpl::setLoadsImagesAutomatically): (WebKit::WebSettingsImpl::setPluginsEnabled): (WebKit::WebSettingsImpl::setDOMPasteAllowed): (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled): (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit): (WebKit::WebSettingsImpl::setUsesEncodingDetector): (WebKit::WebSettingsImpl::setTextAreasAreResizable): (WebKit::WebSettingsImpl::setJavaEnabled): (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows): (WebKit::WebSettingsImpl::setUserStyleSheetLocation): (WebKit::WebSettingsImpl::setUsesPageCache): (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled): (WebKit::WebSettingsImpl::setXSSAuditorEnabled): (WebKit::WebSettingsImpl::setLocalStorageEnabled): (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive): (WebKit::WebSettingsImpl::setFontRenderingModeNormal): (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars): (WebKit::WebSettingsImpl::setDatabasesEnabled): (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs): (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded): (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled): (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled): * src/WebSettingsImpl.h: Added. (WebKit::WebSettingsImpl::~WebSettingsImpl): * src/WebSharedWorkerImpl.cpp: Added. (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl): (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl): (WebKit::WebSharedWorkerImpl::isStarted): (WebKit::WebSharedWorkerImpl::connect): (WebKit::WebSharedWorkerImpl::connectTask): (WebKit::WebSharedWorkerImpl::startWorkerContext): (WebKit::WebSharedWorkerImpl::terminateWorkerContext): (WebKit::WebSharedWorkerImpl::clientDestroyed): (WebKit::WebSharedWorkerImpl::client): (WebKit::WebSharedWorker::create): * src/WebSharedWorkerImpl.h: Added. (WebKit::WebSharedWorkerImpl::commonClient): * src/WebStorageAreaImpl.cpp: Added. (WebKit::WebStorageAreaImpl::WebStorageAreaImpl): (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl): (WebKit::WebStorageAreaImpl::length): (WebKit::WebStorageAreaImpl::key): (WebKit::WebStorageAreaImpl::getItem): (WebKit::WebStorageAreaImpl::setItem): (WebKit::WebStorageAreaImpl::removeItem): (WebKit::WebStorageAreaImpl::clear): * src/WebStorageAreaImpl.h: Added. (WebKit::WebStorageAreaImpl::currentStorageEventURL): (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL): (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL): * src/WebStorageEventDispatcherImpl.cpp: Added. (WebKit::WebStorageEventDispatcher::create): (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl): (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent): * src/WebStorageEventDispatcherImpl.h: Added. * src/WebStorageNamespaceImpl.cpp: Added. (WebKit::WebStorageNamespace::createLocalStorageNamespace): (WebKit::WebStorageNamespace::createSessionStorageNamespace): (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl): (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl): (WebKit::WebStorageNamespaceImpl::createStorageArea): (WebKit::WebStorageNamespaceImpl::copy): (WebKit::WebStorageNamespaceImpl::close): * src/WebStorageNamespaceImpl.h: Added. 2009-11-10 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebPasswordFormData.cpp: Added. (WebKit::): (WebKit::WebPasswordFormData::WebPasswordFormData): * src/WebPasswordFormUtils.cpp: Added. (WebKit::findPasswordFormFields): * src/WebPasswordFormUtils.h: Added. (WebKit::PasswordFormFields::PasswordFormFields): * src/WebPluginContainerImpl.cpp: Added. (WebKit::WebPluginContainerImpl::setFrameRect): (WebKit::WebPluginContainerImpl::paint): (WebKit::WebPluginContainerImpl::invalidateRect): (WebKit::WebPluginContainerImpl::setFocus): (WebKit::WebPluginContainerImpl::show): (WebKit::WebPluginContainerImpl::hide): (WebKit::WebPluginContainerImpl::handleEvent): (WebKit::WebPluginContainerImpl::frameRectsChanged): (WebKit::WebPluginContainerImpl::setParentVisible): (WebKit::WebPluginContainerImpl::setParent): (WebKit::WebPluginContainerImpl::invalidate): (WebKit::WebPluginContainerImpl::reportGeometry): (WebKit::WebPluginContainerImpl::clearScriptObjects): (WebKit::WebPluginContainerImpl::scriptableObjectForElement): (WebKit::WebPluginContainerImpl::executeScriptURL): (WebKit::WebPluginContainerImpl::loadFrameRequest): (WebKit::WebPluginContainerImpl::didReceiveResponse): (WebKit::WebPluginContainerImpl::didReceiveData): (WebKit::WebPluginContainerImpl::didFinishLoading): (WebKit::WebPluginContainerImpl::didFailLoading): (WebKit::WebPluginContainerImpl::scriptableObject): (WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver): (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): (WebKit::WebPluginContainerImpl::handleMouseEvent): (WebKit::WebPluginContainerImpl::handleKeyboardEvent): (WebKit::WebPluginContainerImpl::calculateGeometry): (WebKit::WebPluginContainerImpl::windowClipRect): (WebKit::getObjectStack): (WebKit::checkStackOnTop): (WebKit::WebPluginContainerImpl::windowCutOutRects): * src/WebPluginContainerImpl.h: Added. (WebKit::WebPluginContainerImpl::create): (WebKit::WebPluginContainerImpl::plugin): (WebKit::WebPluginContainerImpl::WebPluginContainerImpl): * src/WebPluginListBuilderImpl.cpp: Added. (WebKit::WebPluginListBuilderImpl::addPlugin): (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin): (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType): * src/WebPluginListBuilderImpl.h: Added. (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl): * src/WebPluginLoadObserver.cpp: Added. (WebKit::WebPluginLoadObserver::~WebPluginLoadObserver): (WebKit::WebPluginLoadObserver::didFinishLoading): (WebKit::WebPluginLoadObserver::didFailLoading): * src/WebPluginLoadObserver.h: Added. (WebKit::WebPluginLoadObserver::WebPluginLoadObserver): (WebKit::WebPluginLoadObserver::url): (WebKit::WebPluginLoadObserver::clearPluginContainer): * src/WebPopupMenuImpl.cpp: Added. (WebKit::WebPopupMenu::create): (WebKit::WebPopupMenuImpl::WebPopupMenuImpl): (WebKit::WebPopupMenuImpl::~WebPopupMenuImpl): (WebKit::WebPopupMenuImpl::Init): (WebKit::WebPopupMenuImpl::MouseMove): (WebKit::WebPopupMenuImpl::MouseLeave): (WebKit::WebPopupMenuImpl::MouseDown): (WebKit::WebPopupMenuImpl::MouseUp): (WebKit::WebPopupMenuImpl::MouseWheel): (WebKit::WebPopupMenuImpl::KeyEvent): (WebKit::WebPopupMenuImpl::close): (WebKit::WebPopupMenuImpl::resize): (WebKit::WebPopupMenuImpl::layout): (WebKit::WebPopupMenuImpl::paint): (WebKit::WebPopupMenuImpl::handleInputEvent): (WebKit::WebPopupMenuImpl::mouseCaptureLost): (WebKit::WebPopupMenuImpl::setFocus): (WebKit::WebPopupMenuImpl::handleCompositionEvent): (WebKit::WebPopupMenuImpl::queryCompositionStatus): (WebKit::WebPopupMenuImpl::setTextDirection): (WebKit::WebPopupMenuImpl::repaint): (WebKit::WebPopupMenuImpl::scroll): (WebKit::WebPopupMenuImpl::screenToWindow): (WebKit::WebPopupMenuImpl::windowToScreen): (WebKit::WebPopupMenuImpl::scrollRectIntoView): (WebKit::WebPopupMenuImpl::scrollbarsModeDidChange): (WebKit::WebPopupMenuImpl::popupClosed): * src/WebPopupMenuImpl.h: Added. (WebKit::WebPopupMenuImpl::size): (WebKit::WebPopupMenuImpl::client): (WebKit::WebPopupMenuImpl::platformPageClient): * src/WebRange.cpp: Added. (WebKit::WebRange::reset): (WebKit::WebRange::assign): (WebKit::WebRange::startOffset): (WebKit::WebRange::endOffset): (WebKit::WebRange::startContainer): (WebKit::WebRange::endContainer): (WebKit::WebRange::toHTMLText): (WebKit::WebRange::toPlainText): (WebKit::WebRange::WebRange): (WebKit::WebRange::operator=): (WebKit::WebRange::operator WTF::PassRefPtr): * src/WebRuntimeFeatures.cpp: Added. (WebKit::WebRuntimeFeatures::enableDatabase): (WebKit::WebRuntimeFeatures::isDatabaseEnabled): (WebKit::WebRuntimeFeatures::enableLocalStorage): (WebKit::WebRuntimeFeatures::isLocalStorageEnabled): (WebKit::WebRuntimeFeatures::enableSessionStorage): (WebKit::WebRuntimeFeatures::isSessionStorageEnabled): (WebKit::WebRuntimeFeatures::enableMediaPlayer): (WebKit::WebRuntimeFeatures::isMediaPlayerEnabled): (WebKit::WebRuntimeFeatures::enableSockets): (WebKit::WebRuntimeFeatures::isSocketsEnabled): (WebKit::WebRuntimeFeatures::enableNotifications): (WebKit::WebRuntimeFeatures::isNotificationsEnabled): (WebKit::WebRuntimeFeatures::enableApplicationCache): (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebFileInputElement...WebNotifications https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebInputElement.cpp: Added. (WebKit::WebInputElement::WebInputElement): (WebKit::WebInputElement::operator=): (WebKit::WebInputElement::operator WTF::PassRefPtr): (WebKit::WebInputElement::setActivatedSubmit): (WebKit::WebInputElement::setValue): (WebKit::WebInputElement::value): (WebKit::WebInputElement::setAutofilled): (WebKit::WebInputElement::dispatchFormControlChangeEvent): (WebKit::WebInputElement::setSelectionRange): * src/WebInputEvent.cpp: Added. (WebKit::staticKeyIdentifiers): (WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode): * src/WebInputEventConversion.cpp: Added. (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder): (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): (WebKit::toPlatformKeyboardEventType): (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder): (WebKit::PlatformKeyboardEventBuilder::setKeyType): (WebKit::PlatformKeyboardEventBuilder::isCharacterKey): (WebKit::getWebInputModifiers): (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder): * src/WebInputEventConversion.h: Added. * src/WebKit.cpp: Added. (WebKit::initialize): (WebKit::shutdown): (WebKit::webKitClient): (WebKit::setLayoutTestMode): (WebKit::layoutTestMode): (WebKit::resetPluginCache): * src/WebMediaPlayerClientImpl.cpp: Added. (WebKit::createWebMediaPlayer): (WebKit::WebMediaPlayerClientImpl::isEnabled): (WebKit::WebMediaPlayerClientImpl::setIsEnabled): (WebKit::WebMediaPlayerClientImpl::registerSelf): (WebKit::WebMediaPlayerClientImpl::networkStateChanged): (WebKit::WebMediaPlayerClientImpl::readyStateChanged): (WebKit::WebMediaPlayerClientImpl::volumeChanged): (WebKit::WebMediaPlayerClientImpl::timeChanged): (WebKit::WebMediaPlayerClientImpl::repaint): (WebKit::WebMediaPlayerClientImpl::durationChanged): (WebKit::WebMediaPlayerClientImpl::rateChanged): (WebKit::WebMediaPlayerClientImpl::sizeChanged): (WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks): (WebKit::WebMediaPlayerClientImpl::load): (WebKit::WebMediaPlayerClientImpl::cancelLoad): (WebKit::WebMediaPlayerClientImpl::play): (WebKit::WebMediaPlayerClientImpl::pause): (WebKit::WebMediaPlayerClientImpl::naturalSize): (WebKit::WebMediaPlayerClientImpl::hasVideo): (WebKit::WebMediaPlayerClientImpl::hasAudio): (WebKit::WebMediaPlayerClientImpl::setVisible): (WebKit::WebMediaPlayerClientImpl::duration): (WebKit::WebMediaPlayerClientImpl::currentTime): (WebKit::WebMediaPlayerClientImpl::seek): (WebKit::WebMediaPlayerClientImpl::seeking): (WebKit::WebMediaPlayerClientImpl::setEndTime): (WebKit::WebMediaPlayerClientImpl::setRate): (WebKit::WebMediaPlayerClientImpl::paused): (WebKit::WebMediaPlayerClientImpl::supportsFullscreen): (WebKit::WebMediaPlayerClientImpl::supportsSave): (WebKit::WebMediaPlayerClientImpl::setVolume): (WebKit::WebMediaPlayerClientImpl::networkState): (WebKit::WebMediaPlayerClientImpl::readyState): (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable): (WebKit::WebMediaPlayerClientImpl::buffered): (WebKit::WebMediaPlayerClientImpl::dataRate): (WebKit::WebMediaPlayerClientImpl::totalBytesKnown): (WebKit::WebMediaPlayerClientImpl::totalBytes): (WebKit::WebMediaPlayerClientImpl::bytesLoaded): (WebKit::WebMediaPlayerClientImpl::setSize): (WebKit::WebMediaPlayerClientImpl::paint): (WebKit::WebMediaPlayerClientImpl::setAutobuffer): (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin): (WebKit::WebMediaPlayerClientImpl::movieLoadType): (WebKit::WebMediaPlayerClientImpl::create): (WebKit::WebMediaPlayerClientImpl::getSupportedTypes): (WebKit::WebMediaPlayerClientImpl::supportsType): (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl): * src/WebMediaPlayerClientImpl.h: Added. * src/WebNode.cpp: Added. (WebKit::WebNode::reset): (WebKit::WebNode::assign): (WebKit::WebNode::parentNode): (WebKit::WebNode::nodeName): (WebKit::WebNode::WebNode): (WebKit::WebNode::operator=): (WebKit::WebNode::operator WTF::PassRefPtr): (WebKit::WebNode::frame): * src/WebNotification.cpp: Added. (WebKit::WebNotification::reset): (WebKit::WebNotification::assign): (WebKit::WebNotification::lessThan): (WebKit::WebNotification::isHTML): (WebKit::WebNotification::url): (WebKit::WebNotification::icon): (WebKit::WebNotification::title): (WebKit::WebNotification::body): (WebKit::WebNotification::dispatchDisplayEvent): (WebKit::WebNotification::dispatchErrorEvent): (WebKit::WebNotification::dispatchCloseEvent): (WebKit::WebNotification::WebNotification): (WebKit::WebNotification::operator=): (WebKit::WebNotification::operator WTF::PassRefPtr): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebFileChooser...WebImageSkia https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebFileChooserCompletionImpl.cpp: Added. (WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl): (WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl): (WebKit::WebFileChooserCompletionImpl::didChooseFile): * src/WebFileChooserCompletionImpl.h: Added. * src/WebFontCache.cpp: Added. (WebKit::WebFontCache::fontDataCount): (WebKit::WebFontCache::inactiveFontDataCount): (WebKit::WebFontCache::clear): * src/WebFormElement.cpp: Added. (WebKit::WebFormElement::WebFormElement): (WebKit::WebFormElement::operator=): (WebKit::WebFormElement::operator WTF::PassRefPtr): (WebKit::WebFormElement::autoComplete): (WebKit::WebFormElement::action): (WebKit::WebFormElement::submit): (WebKit::WebFormElement::getNamedElements): * src/WebFrameImpl.cpp: Added. (WebKit::frameContentAsPlainText): (WebKit::ChromePrintContext::ChromePrintContext): (WebKit::ChromePrintContext::begin): (WebKit::ChromePrintContext::getPageShrink): (WebKit::ChromePrintContext::spoolPage): (WebKit::DataSourceForDocLoader): (WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches): (WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout): (WebKit::WebFrame::frameForEnteredContext): (WebKit::WebFrame::frameForCurrentContext): (WebKit::WebFrameImpl::name): (WebKit::WebFrameImpl::url): (WebKit::WebFrameImpl::favIconURL): (WebKit::WebFrameImpl::openSearchDescriptionURL): (WebKit::WebFrameImpl::scrollOffset): (WebKit::WebFrameImpl::contentsSize): (WebKit::WebFrameImpl::contentsPreferredWidth): (WebKit::WebFrameImpl::hasVisibleContent): (WebKit::WebFrameImpl::view): (WebKit::WebFrameImpl::opener): (WebKit::WebFrameImpl::parent): (WebKit::WebFrameImpl::top): (WebKit::WebFrameImpl::firstChild): (WebKit::WebFrameImpl::lastChild): (WebKit::WebFrameImpl::nextSibling): (WebKit::WebFrameImpl::previousSibling): (WebKit::WebFrameImpl::traverseNext): (WebKit::WebFrameImpl::traversePrevious): (WebKit::WebFrameImpl::findChildByName): (WebKit::WebFrameImpl::findChildByExpression): (WebKit::WebFrameImpl::forms): (WebKit::WebFrameImpl::securityOrigin): (WebKit::WebFrameImpl::grantUniversalAccess): (WebKit::WebFrameImpl::windowObject): (WebKit::WebFrameImpl::bindToWindowObject): (WebKit::WebFrameImpl::executeScript): (WebKit::WebFrameImpl::executeScriptInNewContext): (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): (WebKit::WebFrameImpl::addMessageToConsole): (WebKit::WebFrameImpl::collectGarbage): (WebKit::WebFrameImpl::mainWorldScriptContext): (WebKit::WebFrameImpl::insertStyleText): (WebKit::WebFrameImpl::reload): (WebKit::WebFrameImpl::loadRequest): (WebKit::WebFrameImpl::loadHistoryItem): (WebKit::WebFrameImpl::loadData): (WebKit::WebFrameImpl::loadHTMLString): (WebKit::WebFrameImpl::isLoading): (WebKit::WebFrameImpl::stopLoading): (WebKit::WebFrameImpl::provisionalDataSource): (WebKit::WebFrameImpl::dataSource): (WebKit::WebFrameImpl::previousHistoryItem): (WebKit::WebFrameImpl::currentHistoryItem): (WebKit::WebFrameImpl::enableViewSourceMode): (WebKit::WebFrameImpl::isViewSourceModeEnabled): (WebKit::WebFrameImpl::setReferrerForRequest): (WebKit::WebFrameImpl::dispatchWillSendRequest): (WebKit::WebFrameImpl::commitDocumentData): (WebKit::WebFrameImpl::unloadListenerCount): (WebKit::WebFrameImpl::isProcessingUserGesture): (WebKit::WebFrameImpl::willSuppressOpenerInNewFrame): (WebKit::WebFrameImpl::replaceSelection): (WebKit::WebFrameImpl::insertText): (WebKit::WebFrameImpl::setMarkedText): (WebKit::WebFrameImpl::unmarkText): (WebKit::WebFrameImpl::hasMarkedText): (WebKit::WebFrameImpl::markedRange): (WebKit::WebFrameImpl::executeCommand): (WebKit::WebFrameImpl::isCommandEnabled): (WebKit::WebFrameImpl::enableContinuousSpellChecking): (WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled): (WebKit::WebFrameImpl::hasSelection): (WebKit::WebFrameImpl::selectionRange): (WebKit::WebFrameImpl::selectionAsText): (WebKit::WebFrameImpl::selectionAsMarkup): (WebKit::WebFrameImpl::printBegin): (WebKit::WebFrameImpl::getPrintPageShrink): (WebKit::WebFrameImpl::printPage): (WebKit::WebFrameImpl::printEnd): (WebKit::WebFrameImpl::find): (WebKit::WebFrameImpl::stopFinding): (WebKit::WebFrameImpl::scopeStringMatches): (WebKit::WebFrameImpl::cancelPendingScopingEffort): (WebKit::WebFrameImpl::increaseMatchCount): (WebKit::WebFrameImpl::reportFindInPageSelection): (WebKit::WebFrameImpl::resetMatchCount): (WebKit::WebFrameImpl::completeURL): (WebKit::WebFrameImpl::contentAsText): (WebKit::WebFrameImpl::contentAsMarkup): (WebKit::WebFrameImpl::create): (WebKit::WebFrameImpl::WebFrameImpl): (WebKit::WebFrameImpl::~WebFrameImpl): (WebKit::WebFrameImpl::initializeAsMainFrame): (WebKit::WebFrameImpl::createChildFrame): (WebKit::WebFrameImpl::layout): (WebKit::WebFrameImpl::paint): (WebKit::WebFrameImpl::createFrameView): (WebKit::WebFrameImpl::fromFrame): (WebKit::WebFrameImpl::viewImpl): (WebKit::WebFrameImpl::dataSourceImpl): (WebKit::WebFrameImpl::provisionalDataSourceImpl): (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): (WebKit::WebFrameImpl::didFail): (WebKit::WebFrameImpl::setAllowsScrolling): (WebKit::WebFrameImpl::registerPasswordListener): (WebKit::WebFrameImpl::getPasswordListener): (WebKit::WebFrameImpl::closing): (WebKit::WebFrameImpl::invalidateArea): (WebKit::WebFrameImpl::addMarker): (WebKit::WebFrameImpl::setMarkerActive): (WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame): (WebKit::WebFrameImpl::shouldScopeMatches): (WebKit::WebFrameImpl::scopeStringMatchesSoon): (WebKit::WebFrameImpl::callScopeStringMatches): (WebKit::WebFrameImpl::invalidateIfNecessary): (WebKit::WebFrameImpl::clearPasswordListeners): (WebKit::WebFrameImpl::loadJavaScriptURL): * src/WebFrameImpl.h: Added. (WebKit::WebFrameImpl::liveObjectCount): (WebKit::WebFrameImpl::frame): (WebKit::WebFrameImpl::frameView): (WebKit::WebFrameImpl::activeMatchFrame): (WebKit::WebFrameImpl::client): (WebKit::WebFrameImpl::dropClient): (WebKit::WebFrameImpl::ClientHandle::create): (WebKit::WebFrameImpl::ClientHandle::client): (WebKit::WebFrameImpl::ClientHandle::dropClient): (WebKit::WebFrameImpl::ClientHandle::ClientHandle): (WebKit::WebFrameImpl::): * src/WebHTTPBody.cpp: Added. (WebKit::WebHTTPBody::initialize): (WebKit::WebHTTPBody::reset): (WebKit::WebHTTPBody::assign): (WebKit::WebHTTPBody::elementCount): (WebKit::WebHTTPBody::elementAt): (WebKit::WebHTTPBody::appendData): (WebKit::WebHTTPBody::appendFile): (WebKit::WebHTTPBody::identifier): (WebKit::WebHTTPBody::setIdentifier): (WebKit::WebHTTPBody::WebHTTPBody): (WebKit::WebHTTPBody::operator=): (WebKit::WebHTTPBody::operator PassRefPtr): (WebKit::WebHTTPBody::ensureMutable): * src/WebHistoryItem.cpp: Added. (WebKit::WebHistoryItem::initialize): (WebKit::WebHistoryItem::reset): (WebKit::WebHistoryItem::assign): (WebKit::WebHistoryItem::urlString): (WebKit::WebHistoryItem::setURLString): (WebKit::WebHistoryItem::originalURLString): (WebKit::WebHistoryItem::setOriginalURLString): (WebKit::WebHistoryItem::referrer): (WebKit::WebHistoryItem::setReferrer): (WebKit::WebHistoryItem::target): (WebKit::WebHistoryItem::setTarget): (WebKit::WebHistoryItem::parent): (WebKit::WebHistoryItem::setParent): (WebKit::WebHistoryItem::title): (WebKit::WebHistoryItem::setTitle): (WebKit::WebHistoryItem::alternateTitle): (WebKit::WebHistoryItem::setAlternateTitle): (WebKit::WebHistoryItem::lastVisitedTime): (WebKit::WebHistoryItem::setLastVisitedTime): (WebKit::WebHistoryItem::scrollOffset): (WebKit::WebHistoryItem::setScrollOffset): (WebKit::WebHistoryItem::isTargetItem): (WebKit::WebHistoryItem::setIsTargetItem): (WebKit::WebHistoryItem::visitCount): (WebKit::WebHistoryItem::setVisitCount): (WebKit::WebHistoryItem::documentState): (WebKit::WebHistoryItem::setDocumentState): (WebKit::WebHistoryItem::httpContentType): (WebKit::WebHistoryItem::setHTTPContentType): (WebKit::WebHistoryItem::httpBody): (WebKit::WebHistoryItem::setHTTPBody): (WebKit::WebHistoryItem::children): (WebKit::WebHistoryItem::setChildren): (WebKit::WebHistoryItem::appendToChildren): (WebKit::WebHistoryItem::WebHistoryItem): (WebKit::WebHistoryItem::operator=): (WebKit::WebHistoryItem::operator PassRefPtr): (WebKit::WebHistoryItem::ensureMutable): * src/WebImageCG.cpp: Added. (WebKit::WebImage::fromData): (WebKit::WebImage::reset): (WebKit::WebImage::assign): (WebKit::WebImage::isNull): (WebKit::WebImage::size): (WebKit::WebImage::WebImage): (WebKit::WebImage::operator=): * src/WebImageSkia.cpp: Added. (WebKit::WebImage::fromData): (WebKit::WebImage::reset): (WebKit::WebImage::assign): (WebKit::WebImage::isNull): (WebKit::WebImage::size): (WebKit::WebImage::WebImage): (WebKit::WebImage::operator=): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebData...WebElement https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebData.cpp: Added. (WebKit::WebData::reset): (WebKit::WebData::assign): (WebKit::WebData::size): (WebKit::WebData::data): (WebKit::WebData::WebData): (WebKit::WebData::operator=): (WebKit::WebData::operator PassRefPtr): * src/WebDataSourceImpl.cpp: Added. (WebKit::WebDataSourceImpl::create): (WebKit::WebDataSourceImpl::originalRequest): (WebKit::WebDataSourceImpl::request): (WebKit::WebDataSourceImpl::response): (WebKit::WebDataSourceImpl::hasUnreachableURL): (WebKit::WebDataSourceImpl::unreachableURL): (WebKit::WebDataSourceImpl::redirectChain): (WebKit::WebDataSourceImpl::pageTitle): (WebKit::WebDataSourceImpl::navigationType): (WebKit::WebDataSourceImpl::triggeringEventTime): (WebKit::WebDataSourceImpl::extraData): (WebKit::WebDataSourceImpl::setExtraData): (WebKit::WebDataSourceImpl::toWebNavigationType): (WebKit::WebDataSourceImpl::endOfRedirectChain): (WebKit::WebDataSourceImpl::clearRedirectChain): (WebKit::WebDataSourceImpl::appendRedirect): (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): (WebKit::WebDataSourceImpl::WebDataSourceImpl): (WebKit::WebDataSourceImpl::~WebDataSourceImpl): * src/WebDataSourceImpl.h: Added. (WebKit::WebDataSourceImpl::fromDocumentLoader): (WebKit::WebDataSourceImpl::hasRedirectChain): (WebKit::WebDataSourceImpl::releasePluginLoadObserver): * src/WebDatabase.cpp: Added. (WebKit::WebDatabase::reset): (WebKit::WebDatabase::assign): (WebKit::WebDatabase::name): (WebKit::WebDatabase::displayName): (WebKit::WebDatabase::estimatedSize): (WebKit::WebDatabase::securityOrigin): (WebKit::WebDatabase::setObserver): (WebKit::WebDatabase::observer): (WebKit::WebDatabase::updateDatabaseSize): (WebKit::WebDatabase::WebDatabase): (WebKit::WebDatabase::operator=): (WebKit::WebDatabase::operator WTF::PassRefPtr): * src/WebDevToolsAgentPrivate.h: Added. * src/WebDragData.cpp: Added. (WebKit::WebDragData::initialize): (WebKit::WebDragData::reset): (WebKit::WebDragData::assign): (WebKit::WebDragData::url): (WebKit::WebDragData::setURL): (WebKit::WebDragData::urlTitle): (WebKit::WebDragData::setURLTitle): (WebKit::WebDragData::fileExtension): (WebKit::WebDragData::setFileExtension): (WebKit::WebDragData::hasFileNames): (WebKit::WebDragData::fileNames): (WebKit::WebDragData::setFileNames): (WebKit::WebDragData::appendToFileNames): (WebKit::WebDragData::plainText): (WebKit::WebDragData::setPlainText): (WebKit::WebDragData::htmlText): (WebKit::WebDragData::setHTMLText): (WebKit::WebDragData::htmlBaseURL): (WebKit::WebDragData::setHTMLBaseURL): (WebKit::WebDragData::fileContentFileName): (WebKit::WebDragData::setFileContentFileName): (WebKit::WebDragData::fileContent): (WebKit::WebDragData::setFileContent): (WebKit::WebDragData::WebDragData): (WebKit::WebDragData::operator=): (WebKit::WebDragData::operator WTF::PassRefPtr): (WebKit::WebDragData::ensureMutable): * src/WebElement.cpp: Added. (WebKit::WebElement::WebElement): (WebKit::WebElement::operator=): (WebKit::WebElement::operator WTF::PassRefPtr): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. WebPo*.h and WebRunetimeFeatures.h Chromium API headers. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebPoint.h: Added. (WebKit::WebPoint::WebPoint): (WebKit::WebPoint::operator=): (WebKit::WebPoint::operator WebCore::IntPoint): (WebKit::WebPoint::operator gfx::Point): (WebKit::operator==): (WebKit::operator!=): * public/WebPopupMenu.h: Added. * public/WebPopupMenuInfo.h: Added. (WebKit::WebPopupMenuInfo::Item::): * public/WebRuntimeFeatures.h: Added. 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. WebPa*.h and WebPl*.h Chromium API headers. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebPasswordAutocompleteListener.h: Added. (WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener): * public/WebPasswordFormData.h: Added. (WebKit::WebPasswordFormData::isValid): * public/WebPlugin.h: Added. (WebKit::WebPlugin::~WebPlugin): * public/WebPluginContainer.h: Added. (WebKit::WebPluginContainer::~WebPluginContainer): * public/WebPluginListBuilder.h: Added. * public/WebPluginParams.h: Added. 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebBindging ... WebCursorInfo https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebBindings.cpp: Added. (WebKit::WebBindings::construct): (WebKit::WebBindings::createObject): (WebKit::WebBindings::enumerate): (WebKit::WebBindings::evaluate): (WebKit::WebBindings::evaluateHelper): (WebKit::WebBindings::getIntIdentifier): (WebKit::WebBindings::getProperty): (WebKit::WebBindings::getStringIdentifier): (WebKit::WebBindings::getStringIdentifiers): (WebKit::WebBindings::hasMethod): (WebKit::WebBindings::hasProperty): (WebKit::WebBindings::identifierIsString): (WebKit::WebBindings::intFromIdentifier): (WebKit::WebBindings::initializeVariantWithStringCopy): (WebKit::WebBindings::invoke): (WebKit::WebBindings::invokeDefault): (WebKit::WebBindings::releaseObject): (WebKit::WebBindings::releaseVariantValue): (WebKit::WebBindings::removeProperty): (WebKit::WebBindings::retainObject): (WebKit::WebBindings::setException): (WebKit::WebBindings::setProperty): (WebKit::WebBindings::unregisterObject): (WebKit::WebBindings::utf8FromIdentifier): (WebKit::WebBindings::extractIdentifierData): (WebKit::getEvent): (WebKit::getDragDataImpl): (WebKit::getRangeImpl): (WebKit::WebBindings::getDragData): (WebKit::WebBindings::isDragEvent): (WebKit::WebBindings::getRange): * src/WebCString.cpp: Added. (WebKit::WebCString::reset): (WebKit::WebCString::assign): (WebKit::WebCString::length): (WebKit::WebCString::data): (WebKit::WebCString::utf16): (WebKit::WebCString::fromUTF16): (WebKit::WebCString::WebCString): (WebKit::WebCString::operator=): (WebKit::WebCString::operator WebCore::CString): * src/WebCache.cpp: Added. (WebKit::ToResourceTypeStat): (WebKit::WebCache::setCapacities): (WebKit::WebCache::clear): (WebKit::WebCache::getUsageStats): (WebKit::WebCache::getResourceTypeStats): * src/WebColor.cpp: Added. (WebKit::toCSSValueKeyword): (WebKit::setNamedColors): * src/WebCrossOriginPreflightResultCache.cpp: Added. (WebKit::WebCrossOriginPreflightResultCache::clear): * src/WebCursorInfo.cpp: Added. (WebKit::WebCursorInfo::WebCursorInfo): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Up-streaming Chromium API src files: WebAccessibilty https://bugs.webkit.org/show_bug.cgi?id=31276 * src/WebAccessibilityCache.cpp: Added. (WebKit::WebAccessibilityCache::enableAccessibility): * src/WebAccessibilityCacheImpl.cpp: Added. (WebKit::toAccessibilityObject): (WebKit::WebAccessibilityCache::create): (WebKit::WebAccessibilityCacheImpl::WeakHandle::create): (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle): (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach): (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl): (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl): (WebKit::WebAccessibilityCacheImpl::initialize): (WebKit::WebAccessibilityCacheImpl::getObjectById): (WebKit::WebAccessibilityCacheImpl::isValidId): (WebKit::WebAccessibilityCacheImpl::remove): (WebKit::WebAccessibilityCacheImpl::clear): (WebKit::WebAccessibilityCacheImpl::addOrGetId): * src/WebAccessibilityCacheImpl.h: Added. (WebKit::WebAccessibilityCacheImpl::isInitialized): * src/WebAccessibilityObject.cpp: Added. (WebKit::WebAccessibilityObject::reset): (WebKit::WebAccessibilityObject::assign): (WebKit::WebAccessibilityObject::accessibilityDescription): (WebKit::WebAccessibilityObject::actionVerb): (WebKit::WebAccessibilityObject::canSetFocusAttribute): (WebKit::WebAccessibilityObject::childCount): (WebKit::WebAccessibilityObject::childAt): (WebKit::WebAccessibilityObject::firstChild): (WebKit::WebAccessibilityObject::focusedChild): (WebKit::WebAccessibilityObject::lastChild): (WebKit::WebAccessibilityObject::nextSibling): (WebKit::WebAccessibilityObject::parentObject): (WebKit::WebAccessibilityObject::previousSibling): (WebKit::WebAccessibilityObject::isAnchor): (WebKit::WebAccessibilityObject::isChecked): (WebKit::WebAccessibilityObject::isFocused): (WebKit::WebAccessibilityObject::isEnabled): (WebKit::WebAccessibilityObject::isHovered): (WebKit::WebAccessibilityObject::isIndeterminate): (WebKit::WebAccessibilityObject::isMultiSelect): (WebKit::WebAccessibilityObject::isOffScreen): (WebKit::WebAccessibilityObject::isPasswordField): (WebKit::WebAccessibilityObject::isPressed): (WebKit::WebAccessibilityObject::isReadOnly): (WebKit::WebAccessibilityObject::isVisited): (WebKit::WebAccessibilityObject::boundingBoxRect): (WebKit::WebAccessibilityObject::helpText): (WebKit::WebAccessibilityObject::hitTest): (WebKit::WebAccessibilityObject::keyboardShortcut): (WebKit::WebAccessibilityObject::performDefaultAction): (WebKit::WebAccessibilityObject::roleValue): (WebKit::WebAccessibilityObject::stringValue): (WebKit::WebAccessibilityObject::title): (WebKit::WebAccessibilityObject::WebAccessibilityObject): (WebKit::WebAccessibilityObject::operator=): (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Upstreaming Chromium API: Platform specific files https://bugs.webkit.org/show_bug.cgi?id=28394 * public/gtk/WebFontInfo.h: Added. * public/gtk/WebInputEventFactory.h: Added. * public/gtk/WebScreenInfoFactory.h: Added. * public/linux/WebFontRendering.h: Added. * public/linux/WebSandboxSupport.h: Added. * public/mac/WebInputEventFactory.h: Added. * public/mac/WebScreenInfoFactory.h: Added. * public/win/WebInputEventFactory.h: Added. * public/win/WebSandboxSupport.h: Added. * public/win/WebScreenInfoFactory.h: Added. * public/win/WebThemeEngine.h: Added. * public/x11/WebScreenInfoFactory.h: Added. 2009-11-09 David Levin Reviewed by Dmitry Titov. Change struct ResourceRequest to class ResourceRequest per http://trac.webkit.org/changeset/50625. * public/WebURLRequest.h: 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream remaining Chromium API WebN*.h headers. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebNonCopyable.h: Added. (WebKit::WebNonCopyable::WebNonCopyable): (WebKit::WebNonCopyable::~WebNonCopyable): * public/WebNotification.h: Added. (WebKit::WebNotification::WebNotification): (WebKit::WebNotification::~WebNotification): (WebKit::WebNotification::operator=): (WebKit::WebNotification::equals): (WebKit::operator==): (WebKit::operator!=): (WebKit::operator<): * public/WebNotificationPermissionCallback.h: Added. (WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback): * public/WebNotificationPresenter.h: Added. (WebKit::WebNotificationPresenter::): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream Chromium API headers WebMessage through WebNavigation. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebMessagePortChannel.h: Added. (WebKit::WebMessagePortChannel::~WebMessagePortChannel): * public/WebMessagePortChannelClient.h: Added. (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient): * public/WebMimeRegistry.h: Added. (WebKit::WebMimeRegistry::): (WebKit::WebMimeRegistry::~WebMimeRegistry): * public/WebNavigationPolicy.h: Added. (WebKit::): * public/WebNavigationType.h: Added. (WebKit::): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebScreenInfo.h: Added. (WebKit::WebScreenInfo::WebScreenInfo): * public/WebScriptController.h: Added. * public/WebScriptSource.h: Added. (WebKit::WebScriptSource::WebScriptSource): * public/WebSearchableFormData.h: Added. (WebKit::WebSearchableFormData::isValid): (WebKit::WebSearchableFormData::url): (WebKit::WebSearchableFormData::encoding): * public/WebSecurityOrigin.h: Added. (WebKit::WebSecurityOrigin::~WebSecurityOrigin): (WebKit::WebSecurityOrigin::WebSecurityOrigin): (WebKit::WebSecurityOrigin::operator=): (WebKit::WebSecurityOrigin::isNull): * public/WebSecurityPolicy.h: Added. * public/WebSettings.h: Added. (WebKit::WebSettings::~WebSettings): * public/WebSharedWorker.h: Added. (WebKit::WebSharedWorker::~WebSharedWorker): * public/WebSharedWorkerRepository.h: Added. 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebKit.h: Added. * public/WebKitClient.h: Added. (WebKit::WebKitClient::~WebKitClient): * public/WebLocalizedString.h: Added. (WebKit::WebLocalizedString::): * public/WebMediaPlayer.h: Added. (WebKit::WebTimeRange::WebTimeRange): (WebKit::WebMediaPlayer::): (WebKit::WebMediaPlayer::~WebMediaPlayer): * public/WebMediaPlayerAction.h: Added. (WebKit::WebMediaPlayerAction::): (WebKit::WebMediaPlayerAction::WebMediaPlayerAction): * public/WebMediaPlayerClient.h: Added. (WebKit::WebMediaPlayerClient::~WebMediaPlayerClient): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream rest of WebH*.h and WebI*.h Chromium API headers. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebHTTPBody.h: Added. (WebKit::WebHTTPBody::Element::): (WebKit::WebHTTPBody::~WebHTTPBody): (WebKit::WebHTTPBody::WebHTTPBody): (WebKit::WebHTTPBody::operator=): (WebKit::WebHTTPBody::isNull): * public/WebHTTPHeaderVisitor.h: Added. (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor): * public/WebHistoryItem.h: Added. (WebKit::WebHistoryItem::~WebHistoryItem): (WebKit::WebHistoryItem::WebHistoryItem): (WebKit::WebHistoryItem::operator=): (WebKit::WebHistoryItem::isNull): * public/WebImage.h: Added. (WebKit::WebImage::~WebImage): (WebKit::WebImage::WebImage): (WebKit::WebImage::operator=): (WebKit::WebImage::getSkBitmap): (WebKit::WebImage::init): (WebKit::WebImage::getCGImageRef): * public/WebInputEvent.h: Added. (WebKit::WebInputEvent::WebInputEvent): (WebKit::WebInputEvent::): (WebKit::WebInputEvent::isKeyboardEventType): (WebKit::WebKeyboardEvent::WebKeyboardEvent): (WebKit::WebMouseEvent::): (WebKit::WebMouseEvent::WebMouseEvent): (WebKit::WebMouseWheelEvent::WebMouseWheelEvent): 2009-11-09 Yaar Schnitman Reviewed by Eric Seidel. Upstreaming the Chromium WebKit API: WebSockets and WebStorage. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebSocketStreamError.h: Added. * public/WebSocketStreamHandle.h: Added. (WebKit::WebSocketStreamHandle::~WebSocketStreamHandle): * public/WebSocketStreamHandleClient.h: Added. * public/WebStorageArea.h: Added. (WebKit::WebStorageArea::~WebStorageArea): * public/WebStorageEventDispatcher.h: Added. (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher): * public/WebStorageNamespace.h: Added. (WebKit::WebStorageNamespace::~WebStorageNamespace): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Upstreaming the Chromium WebKit API: WebString and other basic objects. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebRange.h: Added. (WebKit::WebRange::~WebRange): (WebKit::WebRange::WebRange): (WebKit::WebRange::operator=): (WebKit::WebRange::isNull): * public/WebRect.h: Added. (WebKit::WebRect::isEmpty): (WebKit::WebRect::WebRect): (WebKit::WebRect::operator=): (WebKit::WebRect::operator WebCore::IntRect): (WebKit::WebRect::operator gfx::Rect): (WebKit::operator==): (WebKit::operator!=): * public/WebSize.h: Added. (WebKit::WebSize::isEmpty): (WebKit::WebSize::WebSize): (WebKit::WebSize::operator=): (WebKit::WebSize::operator WebCore::IntSize): (WebKit::WebSize::operator gfx::Size): (WebKit::operator==): (WebKit::operator!=): * public/WebString.h: Added. (WebKit::WebString::~WebString): (WebKit::WebString::WebString): (WebKit::WebString::operator=): (WebKit::WebString::isEmpty): (WebKit::WebString::isNull): (WebKit::WebString::operator string16): (WebKit::WebString::operator NullableString16): (WebKit::WebString::fromUTF8): 2009-11-09 Yaar Schnitman Reviewed by Eric Seidel. Upstreaming the Chromium WebKit API: WebText* https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebTextAffinity.h: Added. (WebKit::): * public/WebTextDirection.h: Added. (WebKit::): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream remainder of WebE*.h and WebF*.h Chromium API headers. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebEditingAction.h: Added. (WebKit::): * public/WebFileChooserCompletion.h: Added. (WebKit::WebFileChooserCompletion::~WebFileChooserCompletion): * public/WebFindOptions.h: Added. (WebKit::WebFindOptions::WebFindOptions): * public/WebFontCache.h: Added. * public/WebFrame.h: Added. (WebKit::WebFrame::~WebFrame): * public/WebFrameClient.h: Added. (WebKit::WebFrameClient::createPlugin): (WebKit::WebFrameClient::createWorker): (WebKit::WebFrameClient::createSharedWorker): (WebKit::WebFrameClient::createMediaPlayer): (WebKit::WebFrameClient::willClose): (WebKit::WebFrameClient::loadURLExternally): (WebKit::WebFrameClient::decidePolicyForNavigation): (WebKit::WebFrameClient::canHandleRequest): (WebKit::WebFrameClient::cannotHandleRequestError): (WebKit::WebFrameClient::cancelledError): (WebKit::WebFrameClient::unableToImplementPolicyWithError): (WebKit::WebFrameClient::willSubmitForm): (WebKit::WebFrameClient::willPerformClientRedirect): (WebKit::WebFrameClient::didCancelClientRedirect): (WebKit::WebFrameClient::didCompleteClientRedirect): (WebKit::WebFrameClient::didCreateDataSource): (WebKit::WebFrameClient::didStartProvisionalLoad): (WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad): (WebKit::WebFrameClient::didFailProvisionalLoad): (WebKit::WebFrameClient::didReceiveDocumentData): (WebKit::WebFrameClient::didCommitProvisionalLoad): (WebKit::WebFrameClient::didClearWindowObject): (WebKit::WebFrameClient::didCreateDocumentElement): (WebKit::WebFrameClient::didReceiveTitle): (WebKit::WebFrameClient::didFinishDocumentLoad): (WebKit::WebFrameClient::didHandleOnloadEvents): (WebKit::WebFrameClient::didFailLoad): (WebKit::WebFrameClient::didFinishLoad): (WebKit::WebFrameClient::didChangeLocationWithinPage): (WebKit::WebFrameClient::didUpdateCurrentHistoryItem): (WebKit::WebFrameClient::assignIdentifierToRequest): (WebKit::WebFrameClient::willSendRequest): (WebKit::WebFrameClient::didReceiveResponse): (WebKit::WebFrameClient::didFinishResourceLoad): (WebKit::WebFrameClient::didFailResourceLoad): (WebKit::WebFrameClient::didLoadResourceFromMemoryCache): (WebKit::WebFrameClient::didDisplayInsecureContent): (WebKit::WebFrameClient::didRunInsecureContent): (WebKit::WebFrameClient::allowScript): (WebKit::WebFrameClient::didExhaustMemoryAvailableForScript): (WebKit::WebFrameClient::didCreateScriptContext): (WebKit::WebFrameClient::didDestroyScriptContext): (WebKit::WebFrameClient::didCreateIsolatedScriptContext): (WebKit::WebFrameClient::didChangeContentsSize): (WebKit::WebFrameClient::didChangeScrollOffset): (WebKit::WebFrameClient::reportFindInPageMatchCount): (WebKit::WebFrameClient::reportFindInPageSelection): (WebKit::WebFrameClient::~WebFrameClient): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream WebDevTools*.h and WebDrag*.h Chromium API headers. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebDevToolsAgent.h: Added. (WebKit::WebDevToolsAgent::~WebDevToolsAgent): * public/WebDevToolsAgentClient.h: Added. (WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient): * public/WebDevToolsFrontend.h: Added. (WebKit::WebDevToolsFrontend::~WebDevToolsFrontend): * public/WebDevToolsFrontendClient.h: Added. (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient): (WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient): * public/WebDragData.h: Added. (WebKit::WebDragData::~WebDragData): (WebKit::WebDragData::WebDragData): (WebKit::WebDragData::operator=): (WebKit::WebDragData::isNull): * public/WebDragOperation.h: Added. (WebKit::): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Upstreaming the Chromium WebKit API: WebURL and friends. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebURL.h: Added. (WebKit::WebURL::~WebURL): (WebKit::WebURL::WebURL): (WebKit::WebURL::operator=): (WebKit::WebURL::assign): (WebKit::WebURL::spec): (WebKit::WebURL::parsed): (WebKit::WebURL::isValid): (WebKit::WebURL::isEmpty): (WebKit::WebURL::isNull): (WebKit::WebURL::operator GURL): * public/WebURLError.h: Added. (WebKit::WebURLError::WebURLError): * public/WebURLLoader.h: Added. (WebKit::WebURLLoader::~WebURLLoader): * public/WebURLLoaderClient.h: Added. (WebKit::WebURLLoaderClient::~WebURLLoaderClient): * public/WebURLRequest.h: Added. (WebKit::WebURLRequest::): (WebKit::WebURLRequest::~WebURLRequest): (WebKit::WebURLRequest::WebURLRequest): (WebKit::WebURLRequest::operator=): * public/WebURLResponse.h: Added. (WebKit::WebURLResponse::~WebURLResponse): (WebKit::WebURLResponse::WebURLResponse): (WebKit::WebURLResponse::operator=): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebVector.h: Added. (WebKit::WebVector::~WebVector): (WebKit::WebVector::WebVector): (WebKit::WebVector::operator=): (WebKit::WebVector::assign): (WebKit::WebVector::size): (WebKit::WebVector::isEmpty): (WebKit::WebVector::operator[]): (WebKit::WebVector::data): (WebKit::WebVector::swap): (WebKit::WebVector::initialize): (WebKit::WebVector::initializeFrom): (WebKit::WebVector::destroy): * public/WebView.h: Added. (WebKit::WebView::~WebView): * public/WebViewClient.h: Added. (WebKit::WebViewClient::createView): (WebKit::WebViewClient::createPopupMenu): (WebKit::WebViewClient::didAddMessageToConsole): (WebKit::WebViewClient::printPage): (WebKit::WebViewClient::notificationPresenter): (WebKit::WebViewClient::didStartLoading): (WebKit::WebViewClient::didStopLoading): (WebKit::WebViewClient::shouldBeginEditing): (WebKit::WebViewClient::shouldEndEditing): (WebKit::WebViewClient::shouldInsertNode): (WebKit::WebViewClient::shouldInsertText): (WebKit::WebViewClient::shouldChangeSelectedRange): (WebKit::WebViewClient::shouldDeleteRange): (WebKit::WebViewClient::shouldApplyStyle): (WebKit::WebViewClient::isSmartInsertDeleteEnabled): (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled): (WebKit::WebViewClient::setInputMethodEnabled): (WebKit::WebViewClient::didBeginEditing): (WebKit::WebViewClient::didChangeSelection): (WebKit::WebViewClient::didChangeContents): (WebKit::WebViewClient::didExecuteCommand): (WebKit::WebViewClient::didEndEditing): (WebKit::WebViewClient::handleCurrentKeyboardEvent): (WebKit::WebViewClient::spellCheck): (WebKit::WebViewClient::autoCorrectWord): (WebKit::WebViewClient::showSpellingUI): (WebKit::WebViewClient::isShowingSpellingUI): (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord): (WebKit::WebViewClient::runFileChooser): (WebKit::WebViewClient::runModalAlertDialog): (WebKit::WebViewClient::runModalConfirmDialog): (WebKit::WebViewClient::runModalPromptDialog): (WebKit::WebViewClient::runModalBeforeUnloadDialog): (WebKit::WebViewClient::setStatusText): (WebKit::WebViewClient::setMouseOverURL): (WebKit::WebViewClient::setKeyboardFocusURL): (WebKit::WebViewClient::setToolTipText): (WebKit::WebViewClient::showContextMenu): (WebKit::WebViewClient::startDragging): (WebKit::WebViewClient::acceptsLoadDrops): (WebKit::WebViewClient::focusNext): (WebKit::WebViewClient::focusPrevious): (WebKit::WebViewClient::navigateBackForwardSoon): (WebKit::WebViewClient::historyBackListCount): (WebKit::WebViewClient::historyForwardListCount): (WebKit::WebViewClient::didAddHistoryItem): (WebKit::WebViewClient::focusAccessibilityObject): (WebKit::WebViewClient::didUpdateInspectorSettings): (WebKit::WebViewClient::queryAutofillSuggestions): (WebKit::WebViewClient::removeAutofillSuggestions): (WebKit::WebViewClient::~WebViewClient): * public/WebWidget.h: Added. (WebKit::WebWidget::~WebWidget): * public/WebWidgetClient.h: Added. (WebKit::WebWidgetClient::didInvalidateRect): (WebKit::WebWidgetClient::didScrollRect): (WebKit::WebWidgetClient::didFocus): (WebKit::WebWidgetClient::didBlur): (WebKit::WebWidgetClient::didChangeCursor): (WebKit::WebWidgetClient::closeWidgetSoon): (WebKit::WebWidgetClient::show): (WebKit::WebWidgetClient::runModal): (WebKit::WebWidgetClient::windowRect): (WebKit::WebWidgetClient::setWindowRect): (WebKit::WebWidgetClient::windowResizerRect): (WebKit::WebWidgetClient::rootWindowRect): (WebKit::WebWidgetClient::screenInfo): (WebKit::WebWidgetClient::~WebWidgetClient): * public/WebWorker.h: Added. (WebKit::WebWorker::~WebWorker): * public/WebWorkerClient.h: Added. (WebKit::WebWorkerClient::~WebWorkerClient): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream WebData*.h Chromium API files. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebData.h: Added. (WebKit::WebData::~WebData): (WebKit::WebData::WebData): (WebKit::WebData::operator=): (WebKit::WebData::isEmpty): (WebKit::WebData::isNull): * public/WebDataSource.h: Added. (WebKit::WebDataSource::ExtraData::~ExtraData): (WebKit::WebDataSource::~WebDataSource): * public/WebDatabase.h: Added. (WebKit::WebDatabase::WebDatabase): (WebKit::WebDatabase::~WebDatabase): (WebKit::WebDatabase::operator=): (WebKit::WebDatabase::isNull): * public/WebDatabaseObserver.h: Added. (WebKit::WebDatabaseObserver::~WebDatabaseObserver): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Upstream the last of the Chromium API WebC*.h files. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebConsoleMessage.h: Added. (WebKit::WebConsoleMessage::): (WebKit::WebConsoleMessage::WebConsoleMessage): * public/WebContextMenuData.h: Added. (WebKit::WebContextMenuData::): * public/WebCookie.h: Added. (WebKit::WebCookie::WebCookie): * public/WebCrossOriginPreflightResultCache.h: Added. * public/WebCursorInfo.h: Added. (WebKit::WebCursorInfo::): (WebKit::WebCursorInfo::WebCursorInfo): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. More WebC*.h upstreaming. https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebCString.h: Added. (WebKit::WebCString::~WebCString): (WebKit::WebCString::WebCString): (WebKit::WebCString::operator=): (WebKit::WebCString::isEmpty): (WebKit::WebCString::isNull): (WebKit::WebCString::operator std::string): (WebKit::WebCString::fromUTF16): * public/WebColorName.h: Added. (WebKit::): * public/WebCommon.h: Added. * public/WebCommonWorkerClient.h: Added. (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient): * public/WebCompositionCommand.h: Added. (WebKit::): 2009-11-09 Yaar Schnitman Reviewed by Dimitri Glazkov. Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes https://bugs.webkit.org/show_bug.cgi?id=28394 * public/WebElement.h: Added. (WebKit::WebElement::WebElement): (WebKit::WebElement::operator=): (WebKit::WebElement::assign): * public/WebFormElement.h: Added. (WebKit::WebFormElement::~WebFormElement): (WebKit::WebFormElement::WebFormElement): (WebKit::WebFormElement::operator=): (WebKit::WebFormElement::assign): * public/WebInputElement.h: Added. (WebKit::WebInputElement::WebInputElement): (WebKit::WebInputElement::operator=): (WebKit::WebInputElement::assign): * public/WebNode.h: Added. (WebKit::WebNode::~WebNode): (WebKit::WebNode::WebNode): (WebKit::WebNode::operator=): (WebKit::WebNode::isNull): (WebKit::WebNode::toElement): (WebKit::WebNode::unwrap): (WebKit::WebNode::constUnwrap): 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. WebKit Chromium API upstreaming, WebBindings.h through WebColor.h. * public/WebBindings.h: Added. * public/WebCache.h: Added. * public/WebCanvas.h: Added. * public/WebClipboard.h: Added. (WebKit::WebClipboard::): (WebKit::WebClipboard::~WebClipboard): * public/WebColor.h: Added. 2009-11-09 Nate Chapin Reviewed by Dimitri Glazkov. Starting upstreaming the Chromium WebKit API. public/ contains header files only. https://bugs.webkit.org/show_bug.cgi?id=28394 * ChangeLog: First!! * public: Added. * public/WebAccessibilityCache.h: Added. (WebKit::WebAccessibilityCache::WebAccessibilityCache): (WebKit::WebAccessibilityCache::~WebAccessibilityCache): * public/WebAccessibilityObject.h: Added. (WebKit::WebAccessibilityObject::~WebAccessibilityObject): (WebKit::WebAccessibilityObject::WebAccessibilityObject): (WebKit::WebAccessibilityObject::operator=): (WebKit::WebAccessibilityObject::isNull): * public/WebAccessibilityRole.h: Added. (WebKit::): * public/WebApplicationCacheHost.h: Added. (WebKit::WebApplicationCacheHost::): (WebKit::WebApplicationCacheHost::~WebApplicationCacheHost): * public/WebApplicationCacheHostClient.h: Added. (WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient):