2014-12-09 Commit Queue Unreviewed, rolling out r177037. https://bugs.webkit.org/show_bug.cgi?id=139464 broke ~50 API tests (Requested by thorton on #webkit). Reverted changeset: "Use the new storage namespace provider in WebKit1" https://bugs.webkit.org/show_bug.cgi?id=139425 http://trac.webkit.org/changeset/177037 2014-12-08 Anders Carlsson Use the new storage namespace provider in WebKit1 https://bugs.webkit.org/show_bug.cgi?id=139425 Reviewed by Tim Horton. * WebView.cpp: (localStorageDatabasePath): Helper from getting the local storage database path given a WebPreferences instance. (WebView::initWithFrame): Create a storage namespace provider. 2014-12-05 Anders Carlsson Get rid of config.h includes and include config.h in the prefix header instead https://bugs.webkit.org/show_bug.cgi?id=139323 Reviewed by Brent Fulgham. This is making it easier to share code between WebKit1 for Mac and WebKit1 for Windows. * AccessibleBase.cpp: * AccessibleDocument.cpp: * AccessibleImage.cpp: * AccessibleTextImpl.cpp: * CFDictionaryPropertyBag.cpp: * DOMCSSClasses.cpp: * DOMCoreClasses.cpp: * DOMEventsClasses.cpp: * DOMHTMLClasses.cpp: * DefaultDownloadDelegate.cpp: * DefaultPolicyDelegate.cpp: * ForEachCoClass.cpp: * FullscreenVideoController.cpp: * MarshallingHelpers.cpp: * MemoryStream.cpp: * WebActionPropertyBag.cpp: * WebArchive.cpp: * WebBackForwardList.cpp: * WebCache.cpp: * WebCoreStatistics.cpp: * WebCoreSupport/AcceleratedCompositingContext.cpp: * WebCoreSupport/EmbeddedWidget.cpp: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebContextMenuClient.cpp: * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: * WebCoreSupport/WebDragClient.cpp: * WebCoreSupport/WebEditorClient.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameNetworkingContext.cpp: * WebCoreSupport/WebGeolocationClient.cpp: * WebCoreSupport/WebInspectorClient.cpp: * WebCoreSupport/WebInspectorDelegate.cpp: * WebCoreSupport/WebPlatformStrategies.cpp: * WebCoreSupport/WebVisitedLinkStore.cpp: * WebDataSource.cpp: * WebDatabaseManager.cpp: * WebDocumentLoader.cpp: * WebDownload.cpp: * WebDownloadCFNet.cpp: * WebDownloadCurl.cpp: * WebDropSource.cpp: * WebElementPropertyBag.cpp: * WebError.cpp: * WebFrame.cpp: * WebFramePolicyListener.cpp: * WebGeolocationPolicyListener.cpp: * WebGeolocationPosition.cpp: * WebHTMLRepresentation.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebIconDatabase.cpp: * WebInspector.cpp: * WebJavaScriptCollector.cpp: * WebKitCOMAPI.cpp: * WebKitClassFactory.cpp: * WebKitDLL.cpp: * WebKitGraphics.cpp: * WebKitLogging.cpp: * WebKitPrefix.h: * WebKitStatistics.cpp: * WebKitSystemBits.cpp: * WebLocalizableStrings.cpp: * WebMutableURLRequest.cpp: * WebNavigationData.cpp: * WebNodeHighlight.cpp: * WebNotification.cpp: * WebNotificationCenter.cpp: * WebPreferences.cpp: * WebResource.cpp: * WebScriptObject.cpp: * WebScriptWorld.cpp: * WebSecurityOrigin.cpp: * WebSerializedJSValue.cpp: * WebTextRenderer.cpp: * WebURLAuthenticationChallenge.cpp: * WebURLAuthenticationChallengeSender.cpp: * WebURLAuthenticationChallengeSenderCFNet.cpp: * WebURLAuthenticationChallengeSenderCurl.cpp: * WebURLCredential.cpp: * WebURLProtectionSpace.cpp: * WebURLResponse.cpp: * WebUserContentURLPattern.cpp: * WebView.cpp: * WebWorkersPrivate.cpp: 2014-12-05 Anders Carlsson Follow-up build fix. * WebCoreSupport/WebVisitedLinkStore.cpp: (WebVisitedLinkStore::shared): 2014-12-04 Anders Carlsson Don't use NeverDestroyed with a RefCounted object. * WebCoreSupport/WebVisitedLinkStore.cpp: (WebVisitedLinkStore::shared): 2014-12-03 peavo@outlook.com [TexMap] Redundant method in GraphicsLayerTextureMapper. https://bugs.webkit.org/show_bug.cgi?id=138005 Reviewed by Alex Christensen. The TextureMapperLayer method descendantsOrSelfHaveRunningAnimations() can be used instead of the GraphicsLayerTextureMapper method startedAnimation(). * WebCoreSupport/AcceleratedCompositingContext.cpp: (AcceleratedCompositingContext::startedAnimation): 2014-12-02 Anders Carlsson Remove more Windows cruft https://bugs.webkit.org/show_bug.cgi?id=139189 Reviewed by Andreas Kling. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createNetworkingContext): * WebCoreSupport/WebFrameNetworkingContext.h: (WebFrameNetworkingContext::create): (WebFrameNetworkingContext::WebFrameNetworkingContext): (WebFrameNetworkingContext::userAgent): Deleted. 2014-12-02 Anders Carlsson Remove visited link handling from PageGroup https://bugs.webkit.org/show_bug.cgi?id=139185 Reviewed by Sam Weinig. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::populateVisitedLinks): Deleted. * WebCoreSupport/WebChromeClient.h: 2014-12-01 Anders Carlsson Remove IWebCookieManager on Windows https://bugs.webkit.org/show_bug.cgi?id=139144 Reviewed by Sam Weinig. Remove WebCookieManager. * ForEachCoClass.h: * Interfaces/IWebCookieManager.idl: Removed. * Interfaces/WebKit.idl: * WebCookieManager.cpp: Removed. * WebCookieManager.h: Removed. * WebCookieManagerCFNet.cpp: Removed. * WebCookieManagerCurl.cpp: Removed. * WebKitClassFactory.cpp: 2014-11-29 Anders Carlsson Switch over to using WebVisitedLinkStore on Windows https://bugs.webkit.org/show_bug.cgi?id=139103 Reviewed by Antti Koivisto. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::populateVisitedLinks): * WebHistory.cpp: (WebHistory::setOptionalSharedHistory): (WebHistory::removeAllItems): (WebHistory::setVisitedLinkTrackingEnabled): (WebHistory::removeAllVisitedLinks): (WebHistory::removeItemForURLString): (WebHistory::addVisitedLinksToVisitedLinkStore): (WebHistory::addVisitedLinksToPageGroup): Deleted. * WebHistory.h: * WebView.cpp: (WebView::initWithFrame): 2014-11-29 Anders Carlsson Another build fix. * WebHistory.cpp: (WebHistory::addVisitedLinksToVisitedLinkStore): 2014-11-29 Anders Carlsson Another build fix. * WebHistory.cpp: (WebHistory::addVisitedLinksToVisitedLinkStore): (WebHistory::removeAllVisitedLinks): Deleted. (WebHistory::setHistoryItemLimit): Deleted. 2014-11-29 Anders Carlsson Try to fix build. * WebHistory.h: 2014-11-29 Anders Carlsson Stub out more of WebVisitedLinkStore on Windows https://bugs.webkit.org/show_bug.cgi?id=139098 Reviewed by Sam Weinig. * WebCoreSupport/WebVisitedLinkStore.cpp: (WebVisitedLinkStore::WebVisitedLinkStore): Initialize m_visitedLinksPopulated to false. (WebVisitedLinkStore::setShouldTrackVisitedLinks): Update s_shouldTrackVisitedLinks and remove all visited links if needed. (WebVisitedLinkStore::removeAllVisitedLinks): Remove all hashes from our shared link store. (WebVisitedLinkStore::addVisitedLink): Compute the visited link hash and add it to the store. (WebVisitedLinkStore::isLinkVisited): Populate visited links and then look up the hash in our hash map. (WebVisitedLinkStore::populateVisitedLinksIfNeeded): Call out to the history delegate or populate visited links from shared history. (WebVisitedLinkStore::addVisitedLinkHash): Add the hash if we're tracking hashes. (WebVisitedLinkStore::removeVisitedLinkHashes): Clear the map. * WebCoreSupport/WebVisitedLinkStore.h: Add members. * WebHistory.cpp: (WebHistory::addVisitedLinksToVisitedLinkStore): New function that adds visited links from the history to a given store. * WebHistory.h: Add new member. * WebView.cpp: (WebView::addVisitedLinks): Add links to the visited link store as well. 2014-11-27 Anders Carlsson Add a stubbed out WebVisitedLinkStore class on Windows https://bugs.webkit.org/show_bug.cgi?id=139078 Reviewed by Sam Weinig. * WebCoreSupport/WebVisitedLinkStore.cpp: Added. (WebVisitedLinkStore::shared): (WebVisitedLinkStore::WebVisitedLinkStore): (WebVisitedLinkStore::~WebVisitedLinkStore): (WebVisitedLinkStore::isLinkVisited): (WebVisitedLinkStore::addVisitedLink): * WebCoreSupport/WebVisitedLinkStore.h: Added. 2014-11-24 Anders Carlsson Stub out user content WebView member functions on Windows https://bugs.webkit.org/show_bug.cgi?id=139033 Reviewed by Sam Weinig. These functions aren't used by any clients and hinder getting rid of PageGroup. If it turns out they're still needed we can copy the user content controller code from Mac Legacy WebKit. * WebView.cpp: (WebView::addUserScriptToGroup): (WebView::addUserStyleSheetToGroup): (WebView::removeUserScriptFromGroup): (WebView::removeUserStyleSheetFromGroup): (WebView::removeUserScriptsFromGroup): (WebView::removeUserStyleSheetsFromGroup): (WebView::removeAllUserContentFromGroup): (toStringVector): Deleted. 2014-11-21 Jer Noble Support multiple signatures of diagnostic logging. https://bugs.webkit.org/show_bug.cgi?id=138690 Reviewed by Anders Carlsson. Page::PageClients has been renamed PageConfiguration. * WebView.cpp: (WebView::initWithFrame): 2014-11-21 Anders Carlsson Another Windows build fix. * FullscreenVideoController.cpp: (FullscreenVideoController::FullscreenVideoController): 2014-11-21 Anders Carlsson Remove the Timer parameters from timer callbacks https://bugs.webkit.org/show_bug.cgi?id=138974 Reviewed by Antti Koivisto. * FullscreenVideoController.cpp: (FullscreenVideoController::timerFired): * FullscreenVideoController.h: 2014-11-21 Anders Carlsson Make memoryCache() return a reference https://bugs.webkit.org/show_bug.cgi?id=138939 Reviewed by Antti Koivisto. * WebCache.cpp: (WebCache::statistics): (WebCache::empty): (WebCache::setDisabled): (WebCache::disabled): * WebView.cpp: (WebView::setCacheModel): 2014-11-16 Zan Dobersek [TexMap] Add typecasting support for GraphicsLayerTextureMapper https://bugs.webkit.org/show_bug.cgi?id=138741 Reviewed by Martin Robinson. Switch to using downcast() and replace uses of toTextureMapperLayer() with downcasting and calling the GraphicsLayerTextureMapper::layer() method. * WebCoreSupport/AcceleratedCompositingContext.cpp: (AcceleratedCompositingContext::initialize): (AcceleratedCompositingContext::startedAnimation): (AcceleratedCompositingContext::compositeLayersToContext): 2014-11-12 Chris Dumez Have DOMTimer deal with more ScriptExecutionContext references https://bugs.webkit.org/show_bug.cgi?id=138679 Reviewed by Andreas Kling. Update WindowCloseTimer to deal with ScriptExecutionContext references instead of pointers as it subclasses SuspendableTimer and its constructor takes a ScriptExecutionContext& in argument. * WebView.cpp: (WindowCloseTimer::create): (WindowCloseTimer::WindowCloseTimer): 2014-11-05 Jer Noble De-templatize Timer https://bugs.webkit.org/show_bug.cgi?id=138450 Reviewed by Anders Carlsson. * FullscreenVideoController.cpp: (FullscreenVideoController::timerFired): * FullscreenVideoController.h: 2014-11-04 Darin Adler Eliminate ResourceBuffer and use SharedBuffer directly instead https://bugs.webkit.org/show_bug.cgi?id=138174 Reviewed by Antti Koivisto. * WebDataSource.cpp: (WebDataSource::data): Use SharedBuffer directly. (WebDataSource::subresourceForURL): Ditto. 2014-11-03 Commit Queue Unreviewed, rolling out r175406, r175413, and r175423. https://bugs.webkit.org/show_bug.cgi?id=138327 Multipart tests are still broken (Requested by ap on #webkit). Reverted changesets: "Eliminate ResourceBuffer and use SharedBuffer directly instead" https://bugs.webkit.org/show_bug.cgi?id=138174 http://trac.webkit.org/changeset/175406 "Unreviewed, iOS build fix since 175406." http://trac.webkit.org/changeset/175413 "Fix assertion in CachedResource::addDataBuffer" http://trac.webkit.org/changeset/175423 2014-11-03 Sungmann Cho AX: Fix some minor typos related to the word "accessibility". https://bugs.webkit.org/show_bug.cgi?id=138299 Reviewed by Chris Fleizach. No new tests, no behavior change. * AccessibleBase.h: 2014-10-31 Gyuyoung Kim Use std::unique_ptr for TypeCountSet https://bugs.webkit.org/show_bug.cgi?id=138242 Reviewed by Andreas Kling. * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): Use std::unique_ptr<> instead of OwnPtr. (WebCoreStatistics::javaScriptObjectTypeCounts): ditto. 2014-10-30 Darin Adler Eliminate ResourceBuffer and use SharedBuffer directly instead https://bugs.webkit.org/show_bug.cgi?id=138174 Reviewed by Antti Koivisto. * WebDataSource.cpp: (WebDataSource::data): Use SharedBuffer directly. (WebDataSource::subresourceForURL): Ditto. 2014-10-20 peavo@outlook.com [WinCairo] Crash in ATI display driver in accelerated compositing mode. https://bugs.webkit.org/show_bug.cgi?id=137879 Reviewed by Darin Adler. Speculative fix; don't enable antialiasing when drawing textures. * WebCoreSupport/AcceleratedCompositingContext.cpp: (AcceleratedCompositingContext::initialize): 2014-10-20 Chris Dumez Use is<>() / downcast<>() for Accessibility objects https://bugs.webkit.org/show_bug.cgi?id=137286 Reviewed by Darin Adler. Use is<>() / downcast<>() for Accessibility objects. * AccessibleBase.cpp: (AccessibleBase::accSelect): * AccessibleImage.cpp: (AccessibleImage::name): 2014-10-18 peavo@outlook.com [WinCairo] Repaint issues with accelerated compositing. https://bugs.webkit.org/show_bug.cgi?id=137850 Reviewed by Brent Fulgham. There is sometimes missing content in accelerated compositing mode. This is caused by not invalidating the non composited layer, and not rendering when a flush did not complete. * WebCoreSupport/AcceleratedCompositingContext.cpp: (AcceleratedCompositingContext::flushAndRenderLayers): Also render when flush did not complete. (AcceleratedCompositingContext::setNeedsDisplayInRect): Deleted. * WebCoreSupport/AcceleratedCompositingContext.h: Ditto. * WebView.cpp: (WebView::addToDirtyRegion): Invalidate non composited layer. (WebView::flushPendingGraphicsLayerChanges): Flush layers. 2014-10-17 Chris Dumez Use is<>() / downcast<>() for RenderBox https://bugs.webkit.org/show_bug.cgi?id=137804 Reviewed by Andreas Kling. Use is<>() / downcast<>() for RenderBox and clean up the surrounding code. * WebView.cpp: (WebView::gestureNotify): 2014-10-17 peavo@outlook.com [WinCairo] Accelerated compositing is not implemented. https://bugs.webkit.org/show_bug.cgi?id=137345 Reviewed by Brent Fulgham. This patch is based on GTK, and the texture mapper graphics layer type. * WebCoreSupport/AcceleratedCompositingContext.cpp: Added. (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext): (WebKit::getWebViewSize): (WebKit::AcceleratedCompositingContext::initialize): (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext): (WebKit::AcceleratedCompositingContext::stopAnyPendingLayerFlush): (WebKit::AcceleratedCompositingContext::enabled): (WebKit::AcceleratedCompositingContext::prepareForRendering): (WebKit::AcceleratedCompositingContext::startedAnimation): (WebKit::AcceleratedCompositingContext::compositeLayersToContext): (WebKit::AcceleratedCompositingContext::setRootCompositingLayer): (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay): (WebKit::AcceleratedCompositingContext::setNeedsDisplayInRect): (WebKit::AcceleratedCompositingContext::resizeRootLayer): (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): (WebKit::AcceleratedCompositingContext::scheduleLayerFlush): (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges): (WebKit::AcceleratedCompositingContext::flushPendingLayerChangesSoon): (WebKit::AcceleratedCompositingContext::flushAndRenderLayers): (WebKit::AcceleratedCompositingContext::layerFlushTimerFired): (WebKit::AcceleratedCompositingContext::notifyAnimationStarted): (WebKit::AcceleratedCompositingContext::notifyFlushRequired): (WebKit::AcceleratedCompositingContext::paintContents): * WebCoreSupport/AcceleratedCompositingContext.h: Added. (WebKit::AcceleratedCompositingContext::LayerFlushTimer::LayerFlushTimer): (WebKit::AcceleratedCompositingContext::LayerFlushTimer::fired): * WebView.cpp: (WebView::WebView): (WebView::addToDirtyRegion): (WebView::scrollBackingStore): (WebView::sizeChanged): (WebView::paint): (WebView::setRootChildLayer): (WebView::flushPendingGraphicsLayerChangesSoon): (WebView::setAcceleratedCompositing): * WebView.h: 2014-10-16 Commit Queue Unreviewed, rolling out r174754. https://bugs.webkit.org/show_bug.cgi?id=137789 Speculative fix for Windows test was ineffective. (Requested by rfong on #webkit). Reverted changeset: "[Windows] Add some more logging to debug Windows test issues." http://trac.webkit.org/changeset/174754 2014-10-15 Roger Fong [Windows] Add some more logging to debug Windows test issues. * WebActionPropertyBag.cpp: (WebActionPropertyBag::Read): 2014-10-14 Roger Fong [Windows] Add some logging to debug random crashing when running layout tests on Windows. * WebActionPropertyBag.cpp: (WebActionPropertyBag::Read): 2014-10-13 Brent Fulgham [Win] Implement a page load profiling tool https://bugs.webkit.org/show_bug.cgi?id=137673 Reviewed by Dean Jackson. Add a new predicate (isMainFrame) to the IWebFrame interface so that we can make decisions about a frames position in the page load hierarchy in client programs. * Interfaces/IWebFrame.idl: Added new isMainFrame predicate to interface definition. * WebFrame.cpp: (WebFrame::isMainFrame): Added. * WebFrame.h: 2014-10-13 Chris Dumez Use is<>() / downcast<>() for PlatformCALayer subclasses https://bugs.webkit.org/show_bug.cgi?id=137661 Reviewed by Simon Fraser. Use is<>() / downcast<>() for PlatformCALayer subclasses and clean up the surrounding code. * FullscreenVideoController.cpp: (FullscreenVideoController::enterFullscreen): 2014-10-10 Chris Dumez Use is<>() / downcast<>() for RenderElement https://bugs.webkit.org/show_bug.cgi?id=137622 Reviewed by Benjamin Poulain. Use is<>() / downcast<>() for RenderElement and clean up the surrounding code. * WebFrame.cpp: (WebFrame::pauseAnimation): (WebFrame::pauseTransition): 2014-10-09 Chris Dumez Use is<>() / downcast<>() for Widget subclasses https://bugs.webkit.org/show_bug.cgi?id=137549 Reviewed by Darin Adler. Use is<>() / downcast<>() for Widget subclasses and clean up the surrounding code. * WebCoreSupport/EmbeddedWidget.cpp: (EmbeddedWidget::frameRectsChanged): 2014-10-08 Brent Fulgham [Win] Resolve various static analyzer warnings in WebKit. https://bugs.webkit.org/show_bug.cgi?id=137531 Reviewed by Dean Jackson. * MarshallingHelpers.cpp: (MarshallingHelpers::safeArrayToIntArray): Handle possible failure of SafeArrayGetElement call. (MarshallingHelpers::safeArrayToIUnknownArray): Ditto. * MemoryStream.cpp: (MemoryStream::CopyTo): Zero-initialize 'written' to silence warning. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::exceededDatabaseQuota): Handle possible failure of GetModuleFileName. * WebHistory.cpp: (getDayBoundaries): Handle possible failure of TzSpecificLocalTimeToSystemTime * WebView.cpp: (WebView::shouldInitializeTrackPointHack): Zero initialize return value. (WebView::dispatchDidReceiveIconFromWebFrame): Avoid possible DeleteObject call on a null bitmap handle. (WebView::standardUserAgentWithApplicationName): Get rid of spurious pointer dereference. 2014-10-02 Tim Horton Move PageOverlay[Controller] to WebCore https://bugs.webkit.org/show_bug.cgi?id=137164 Reviewed by Anders Carlsson. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::attachViewOverlayGraphicsLayer): * WebCoreSupport/WebChromeClient.h: Add an empty ChromeClient override. 2014-10-01 Christophe Dumez Have is<>(T*) function do a null check on the pointer argument https://bugs.webkit.org/show_bug.cgi?id=137333 Reviewed by Gavin Barraclough. Have is<>(T*) function do a null check on the argument instead of a simple assertion. This makes sense for 2 reasons: 1. It is more consistent with downcast<>(T*), which will succeed even if the argument is a nullptr. 2. It simplifies the code a bit as it gets rid of a lot of explicit null checks. * DOMCoreClasses.cpp: (DOMElement::createInstance): * DOMHTMLClasses.cpp: (DOMHTMLDocument::body): (DOMHTMLDocument::forms): (DOMHTMLElement::idName): (DOMHTMLElement::innerText): (DOMHTMLElement::setInnerText): (DOMHTMLFormElement::action): (DOMHTMLFormElement::method): (DOMHTMLOptionElement::text): (DOMHTMLOptionElement::label): (DOMHTMLInputElement::form): (DOMHTMLInputElement::disabled): (DOMHTMLInputElement::readOnly): (DOMHTMLInputElement::setType): (DOMHTMLInputElement::value): (DOMHTMLInputElement::setValue): (DOMHTMLInputElement::setValueForUser): (DOMHTMLInputElement::select): (DOMHTMLInputElement::setSelectionStart): (DOMHTMLInputElement::selectionStart): (DOMHTMLInputElement::setSelectionEnd): (DOMHTMLInputElement::selectionEnd): (DOMHTMLInputElement::isTextField): (DOMHTMLInputElement::rectOnScreen): (DOMHTMLInputElement::replaceCharactersInRange): (DOMHTMLInputElement::selectedRange): (DOMHTMLInputElement::setAutofilled): (DOMHTMLInputElement::isAutofilled): (DOMHTMLInputElement::isUserEdited): (DOMHTMLTextAreaElement::form): (DOMHTMLTextAreaElement::value): (DOMHTMLTextAreaElement::setValue): (DOMHTMLTextAreaElement::select): (DOMHTMLTextAreaElement::isUserEdited): * WebFrame.cpp: (formElementFromDOMElement): (inputElementFromDOMElement): (WebFrame::elementWithName): 2014-09-30 Christophe Dumez Generalize is<>() / downcast<>() support to all types https://bugs.webkit.org/show_bug.cgi?id=137243 Reviewed by Benjamin Poulain. Generalize is<>() / downcast<>() support to all types, not just Nodes. * DOMCoreClasses.cpp: (DOMElement::createInstance): 2014-09-30 Chris Dumez Use is<>() / downcast<>() for Element https://bugs.webkit.org/show_bug.cgi?id=137241 Reviewed by Andreas Kling. Use is<>() / downcast<>() for Element instead of isElementNode() / toElement(). * DOMEventsClasses.cpp: (DOMMouseEvent::toElement): * DOMEventsClasses.h: 2014-09-29 Christophe Dumez Make is<>() / downcast<>() work for HTMLDocument and its subclasses https://bugs.webkit.org/show_bug.cgi?id=137169 Reviewed by Darin Adler. Use is<>() / downcast<>() for HTMLDocument and its subclasses. * DOMHTMLClasses.cpp: (DOMHTMLDocument::URL): (DOMHTMLDocument::body): (DOMHTMLDocument::forms): 2014-09-28 Gyuyoung Kim Use std::unique_ptr for ContextMenuController https://bugs.webkit.org/show_bug.cgi?id=137178 Reviewed by Darin Adler. Switch to using std::unique_ptr instead of OwnPtr and PassOwnPtr for ContextMenuController class. Inherited class is changed by this use as well. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::customizeMenu): * WebCoreSupport/WebContextMenuClient.h: 2014-09-26 Christophe Dumez Stop using legacy NODE_TYPE_CASTS() macro for HTML Elements https://bugs.webkit.org/show_bug.cgi?id=137137 Reviewed by Benjamin Poulain. Use is<>() / downcast<>() where appropriate. * DOMHTMLClasses.cpp: (DOMHTMLElement::idName): (DOMHTMLElement::innerText): (DOMHTMLElement::setInnerText): 2014-09-25 Brent Fulgham [Win] Debug builds of TestWebKitAPI are crashing. https://bugs.webkit.org/show_bug.cgi?id=133553 Reviewed by Dean Jackson. Switch from global static HashTable to a NeverDestroyed object. Modify all accessors of the global static to use the new NeverDestroyed accessor method. * AccessibleBase.cpp: (AccessibleBase::AccessibleBase): (AccessibleBase::~AccessibleBase): * CFDictionaryPropertyBag.cpp: (CFDictionaryPropertyBag::CFDictionaryPropertyBag): (CFDictionaryPropertyBag::~CFDictionaryPropertyBag): * DefaultDownloadDelegate.cpp: (DefaultDownloadDelegate::DefaultDownloadDelegate): (DefaultDownloadDelegate::~DefaultDownloadDelegate): * DefaultPolicyDelegate.cpp: (DefaultPolicyDelegate::DefaultPolicyDelegate): (DefaultPolicyDelegate::~DefaultPolicyDelegate): * MemoryStream.cpp: (MemoryStream::MemoryStream): (MemoryStream::~MemoryStream): * WebActionPropertyBag.cpp: (WebActionPropertyBag::WebActionPropertyBag): (WebActionPropertyBag::~WebActionPropertyBag): * WebArchive.cpp: (WebArchive::WebArchive): (WebArchive::~WebArchive): * WebBackForwardList.cpp: (WebBackForwardList::WebBackForwardList): (WebBackForwardList::~WebBackForwardList): * WebCache.cpp: (WebCache::WebCache): (WebCache::~WebCache): * WebCookieManager.cpp: (WebCookieManager::WebCookieManager): (WebCookieManager::~WebCookieManager): * WebCoreStatistics.cpp: (WebCoreStatistics::WebCoreStatistics): (WebCoreStatistics::~WebCoreStatistics): * WebDataSource.cpp: (WebDataSource::~WebDataSource): * WebDatabaseManager.cpp: (WebDatabaseManager::WebDatabaseManager): (WebDatabaseManager::~WebDatabaseManager): * WebDocumentLoader.cpp: (WebDocumentLoader::WebDocumentLoader): (WebDocumentLoader::~WebDocumentLoader): * WebDownload.cpp: (WebDownload::WebDownload): (WebDownload::~WebDownload): * WebDropSource.cpp: (WebDropSource::WebDropSource): (WebDropSource::~WebDropSource): * WebElementPropertyBag.cpp: (WebElementPropertyBag::WebElementPropertyBag): (WebElementPropertyBag::~WebElementPropertyBag): * WebError.cpp: (WebError::WebError): (WebError::~WebError): * WebFrame.cpp: (WebFrame::WebFrame): (WebFrame::~WebFrame): * WebFramePolicyListener.cpp: (WebFramePolicyListener::WebFramePolicyListener): (WebFramePolicyListener::~WebFramePolicyListener): * WebGeolocationPolicyListener.cpp: (WebGeolocationPolicyListener::WebGeolocationPolicyListener): (WebGeolocationPolicyListener::~WebGeolocationPolicyListener): * WebGeolocationPosition.cpp: (WebGeolocationPosition::WebGeolocationPosition): (WebGeolocationPosition::~WebGeolocationPosition): * WebHTMLRepresentation.cpp: (WebHTMLRepresentation::WebHTMLRepresentation): (WebHTMLRepresentation::~WebHTMLRepresentation): * WebHistory.cpp: (WebHistory::WebHistory): (WebHistory::~WebHistory): * WebHistoryItem.cpp: (WebHistoryItem::WebHistoryItem): (WebHistoryItem::~WebHistoryItem): * WebIconDatabase.cpp: (WebIconDatabase::WebIconDatabase): (WebIconDatabase::~WebIconDatabase): * WebInspector.cpp: (WebInspector::WebInspector): (WebInspector::~WebInspector): * WebJavaScriptCollector.cpp: (WebJavaScriptCollector::WebJavaScriptCollector): (WebJavaScriptCollector::~WebJavaScriptCollector): * WebKitClassFactory.cpp: (WebKitClassFactory::WebKitClassFactory): (WebKitClassFactory::~WebKitClassFactory): * WebKitDLL.cpp: Also switch to NeverDestroyed HashTable for the global class name count. * WebKitDLL.h: * WebKitStatistics.cpp: (WebKitStatistics::WebKitStatistics): (WebKitStatistics::~WebKitStatistics): (WebKitStatistics::comClassNameCounts): * WebMutableURLRequest.cpp: (WebMutableURLRequest::WebMutableURLRequest): (WebMutableURLRequest::~WebMutableURLRequest): * WebNavigationData.cpp: (WebNavigationData::WebNavigationData): (WebNavigationData::~WebNavigationData): * WebNotification.cpp: (WebNotification::WebNotification): (WebNotification::~WebNotification): * WebNotificationCenter.cpp: (WebNotificationCenter::WebNotificationCenter): (WebNotificationCenter::~WebNotificationCenter): * WebPreferences.cpp: (webPreferencesInstances): (WebPreferences::WebPreferences): (WebPreferences::~WebPreferences): (WebPreferences::getInstanceForIdentifier): (WebPreferences::setInstance): (WebPreferences::removeReferenceForIdentifier): * WebResource.cpp: (WebResource::WebResource): (WebResource::~WebResource): * WebScriptObject.cpp: (WebScriptObject::WebScriptObject): (WebScriptObject::~WebScriptObject): * WebScriptWorld.cpp: (WebScriptWorld::WebScriptWorld): (WebScriptWorld::~WebScriptWorld): * WebSecurityOrigin.cpp: (WebSecurityOrigin::WebSecurityOrigin): (WebSecurityOrigin::~WebSecurityOrigin): * WebSerializedJSValue.cpp: (WebSerializedJSValue::WebSerializedJSValue): (WebSerializedJSValue::~WebSerializedJSValue): * WebTextRenderer.cpp: (WebTextRenderer::WebTextRenderer): (WebTextRenderer::~WebTextRenderer): * WebURLAuthenticationChallenge.cpp: (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge): * WebURLAuthenticationChallengeSender.cpp: (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender): (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender): * WebURLCredential.cpp: (WebURLCredential::WebURLCredential): (WebURLCredential::~WebURLCredential): * WebURLProtectionSpace.cpp: (WebURLProtectionSpace::WebURLProtectionSpace): (WebURLProtectionSpace::~WebURLProtectionSpace): * WebURLResponse.cpp: (:m_refCount): (WebURLResponse::~WebURLResponse): * WebUserContentURLPattern.cpp: (WebUserContentURLPattern::WebUserContentURLPattern): (WebUserContentURLPattern::~WebUserContentURLPattern): * WebView.cpp: (pendingDeleteBackingStoreSet): Switch from a global static value to a NeverDestroyed object wrapped by an accessor function. (WebView::WebView): Ditto. (WebView::~WebView): Ditto. (WebView::deleteBackingStore): Ditto. (WebView::deleteBackingStoreSoon): Ditto, (WebView::cancelDeleteBackingStoreSoon): Ditto. * WebWorkersPrivate.cpp: Switch from a global static value for the preferences objects t a NeverDestroyed container. (WebWorkersPrivate::WebWorkersPrivate): Ditto. (WebWorkersPrivate::~WebWorkersPrivate): Ditto. 2014-09-25 Christophe Dumez Use is() instead of isHTML*Element() - Part 2 https://bugs.webkit.org/show_bug.cgi?id=137103 Reviewed by Benjamin Poulain. Use is() instead of isHTML*Element(). * DOMCoreClasses.cpp: (DOMElement::createInstance): * DOMHTMLClasses.cpp: (DOMHTMLFormElement::action): (DOMHTMLFormElement::method): * WebFrame.cpp: (formElementFromDOMElement): 2014-09-24 Christophe Dumez Add initial is<>() / downcast<>() support for any type of Nodes https://bugs.webkit.org/show_bug.cgi?id=137056 Reviewed by Benjamin Poulain. Use is() / downcast() instead of isFormControlElement() / toHTMLFormControlElement(). * WebFrame.cpp: (WebFrame::elementWithName): 2014-09-24 Christophe Dumez Unreviewed build fix after r173932. Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace explicitely in DOMCoreClasses.cpp. * DOMCoreClasses.cpp: (DOMElement::createInstance): 2014-09-24 Christophe Dumez Use is() instead of isHTML*Element() - Part 1 https://bugs.webkit.org/show_bug.cgi?id=137068 Reviewed by Ryosuke Niwa. Start using is() instead of isHTML*Element(). Remaining usages will be updated in a follow-up patch to reduce the size of the change. * DOMCoreClasses.cpp: (DOMElement::createInstance): * DOMHTMLClasses.cpp: (DOMHTMLOptionElement::text): (DOMHTMLOptionElement::label): (DOMHTMLInputElement::form): (DOMHTMLInputElement::disabled): (DOMHTMLInputElement::readOnly): (DOMHTMLInputElement::setType): (DOMHTMLInputElement::value): (DOMHTMLInputElement::setValue): (DOMHTMLInputElement::setValueForUser): (DOMHTMLInputElement::select): (DOMHTMLInputElement::setSelectionStart): (DOMHTMLInputElement::selectionStart): (DOMHTMLInputElement::setSelectionEnd): (DOMHTMLInputElement::selectionEnd): (DOMHTMLInputElement::isTextField): (DOMHTMLInputElement::rectOnScreen): (DOMHTMLInputElement::replaceCharactersInRange): (DOMHTMLInputElement::selectedRange): (DOMHTMLInputElement::setAutofilled): (DOMHTMLInputElement::isAutofilled): (DOMHTMLInputElement::isUserEdited): (DOMHTMLTextAreaElement::form): (DOMHTMLTextAreaElement::value): (DOMHTMLTextAreaElement::setValue): (DOMHTMLTextAreaElement::select): (DOMHTMLTextAreaElement::isUserEdited): * WebFrame.cpp: (inputElementFromDOMElement): 2014-09-21 Timothy Hatcher Make the Web Inspector use a separate web process. https://bugs.webkit.org/show_bug.cgi?id=135120 Reviewed by Anders Carlsson. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::openInspectorFrontend): * WebCoreSupport/WebInspectorClient.h: (WebInspectorClient::frontendClient): Own WebInspectorFrontendClient instead of moving it. 2014-09-23 Christophe Dumez Unreviewed build fix after r173893. Partial revert of r173893 to fix debug builds. * DOMHTMLClasses.cpp: (DOMHTMLDocument::URL): (DOMHTMLDocument::body): (DOMHTMLDocument::forms): 2014-09-23 Chris Dumez Use downcast() instead of toHTML*Element() https://bugs.webkit.org/show_bug.cgi?id=137007 Reviewed by Benjamin Poulain. Use downcast() instead of toHTML*Element(). * DOMHTMLClasses.cpp: (DOMHTMLDocument::URL): (DOMHTMLDocument::body): (DOMHTMLDocument::forms): (DOMHTMLFormElement::action): (DOMHTMLFormElement::method): (DOMHTMLSelectElement::options): (DOMHTMLSelectElement::activateItemAtIndex): (DOMHTMLOptionElement::text): (DOMHTMLOptionElement::label): (DOMHTMLInputElement::form): (DOMHTMLInputElement::disabled): (DOMHTMLInputElement::readOnly): (DOMHTMLInputElement::setType): (DOMHTMLInputElement::value): (DOMHTMLInputElement::setValue): (DOMHTMLInputElement::setValueForUser): (DOMHTMLInputElement::select): (DOMHTMLInputElement::setSelectionStart): (DOMHTMLInputElement::selectionStart): (DOMHTMLInputElement::setSelectionEnd): (DOMHTMLInputElement::selectionEnd): (DOMHTMLInputElement::isTextField): (DOMHTMLInputElement::replaceCharactersInRange): (DOMHTMLInputElement::selectedRange): (DOMHTMLInputElement::setAutofilled): (DOMHTMLInputElement::isAutofilled): (DOMHTMLInputElement::isUserEdited): (DOMHTMLTextAreaElement::form): (DOMHTMLTextAreaElement::value): (DOMHTMLTextAreaElement::setValue): (DOMHTMLTextAreaElement::select): (DOMHTMLTextAreaElement::isUserEdited): (DOMHTMLIFrameElement::contentFrame): * WebFrame.cpp: (formElementFromDOMElement): (inputElementFromDOMElement): 2014-09-21 Chris Dumez Generate Element casting helper functions https://bugs.webkit.org/show_bug.cgi?id=136839 Reviewed by Darin Adler. Use JSXXX::toWrapped() instead of toXXX() function. * WebView.cpp: (WebView::elementFromJS): 2014-09-06 Brian J. Burg Web Inspector: convert DockSide to an enum class https://bugs.webkit.org/show_bug.cgi?id=136601 Reviewed by Timothy Hatcher. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorFrontendClient::frontendLoaded): 2014-09-04 Antti Koivisto Try to fix windows build. * WebURLResponse.cpp: (WebURLResponse::createInstance): (WebURLResponse::initWithURL): 2014-09-02 Brian J. Burg Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient https://bugs.webkit.org/show_bug.cgi?id=136476 Reviewed by Timothy Hatcher. * WebCoreStatistics.cpp: (WebCoreStatistics::shouldPrintExceptions): (WebCoreStatistics::setShouldPrintExceptions): 2014-09-02 Maciej Stachowiak Clean up naming for and slightly refactor legacy video fullscreen support https://bugs.webkit.org/show_bug.cgi?id=136446 Reviewed by Jer Noble. Key changes: supportsFullscreenForNode(Node*) --> supportsVideoFullscreen() enterFullscreenForNode(Node*) --> enterVideoFullscreenForVideoElement(HTMLVideoElement*) exitFullscreenForNode(Node*) --> exitVideoFullscreen() The old versions had unnecessary parameters, did not clearly distinguish their purpose from enterFullscreenForElement and friends, and wrongly claimed generality to all Nodes. Also changed many other places to use HTMLVideoElement* instead of Node* or HTMLMediaElement* when they were in fact only used for video elements and would only work for such. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::supportsVideoFullscreen): Adjust for the main refactoring. (WebChromeClient::enterVideoFullscreenForVideoElement): ditto (WebChromeClient::exitVideoFullscreen): ditto * WebCoreSupport/WebChromeClient.h: * WebView.cpp: (WebView::enterVideoFullscreenForVideoElement): Adjust for the main refactoring. (WebView::exitVideoFullscreen): ditto. * WebView.h: * FullscreenVideoController.cpp: Use video elements, not media elements throughout (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer): (FullscreenVideoController::setVideoElement): (FullscreenVideoController::enterFullscreen): (FullscreenVideoController::exitFullscreen): (FullscreenVideoController::canPlay): (FullscreenVideoController::play): (FullscreenVideoController::pause): (FullscreenVideoController::volume): (FullscreenVideoController::setVolume): (FullscreenVideoController::currentTime): (FullscreenVideoController::setCurrentTime): (FullscreenVideoController::duration): (FullscreenVideoController::beginScrubbing): (FullscreenVideoController::endScrubbing): (FullscreenVideoController::onChar): (FullscreenVideoController::onKeyDown): (FullscreenVideoController::onMouseUp): * FullscreenVideoController.h: (FullscreenVideoController::videoElement): 2014-09-03 Brent Fulgham Unreviewed build fix after r173200. * WebView.cpp: (WebView::setCacheModel): Use appropriate types for cache sizes to be 64-bit clean on CFNetwork compile. 2014-09-02 peavo@outlook.com [WinCairo] Memory cache capacity is not set. https://bugs.webkit.org/show_bug.cgi?id=136432 Reviewed by Alex Christensen. Reuse code from AppleWin to set memory and disk cache capacity. * WebKitSystemBits.cpp: (WebVolumeFreeSize): * WebKitSystemBits.h: * WebView.cpp: (WebView::setCacheModel): 2014-08-26 Brent Fulgham [Win] WebKit IDL incorrectly passes HWND as OLE_HANDLE https://bugs.webkit.org/show_bug.cgi?id=136258 Reviewed by Tim Horton. Avoid 32/64-bit truncation by preventing 64-bit HWND (and other) values from passing through the 32-bit OLE_HANDLE data type. * Interfaces/IWebDocument.idl: * Interfaces/IWebEmbeddedView.idl: * Interfaces/IWebErrorPrivate.idl: * Interfaces/IWebFrameLoadDelegate.idl: * Interfaces/IWebFramePrivate.idl: * Interfaces/IWebHistoryItem.idl: * Interfaces/IWebIconDatabase.idl: * Interfaces/IWebMutableURLRequestPrivate.idl: * Interfaces/IWebUIDelegate.idl: * Interfaces/IWebUIDelegatePrivate.idl: * Interfaces/IWebURLResponsePrivate.idl: * Interfaces/IWebView.idl: * Interfaces/IWebViewPrivate.idl: * WebCoreSupport/EmbeddedWidget.cpp: (EmbeddedWidget::createWindow): * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::rootViewToScreen): (WebChromeClient::screenToRootView): (WebChromeClient::platformPageClient): (WebChromeClient::runOpenPanel): (WebChromeClient::setCursor): * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::customizeMenu): * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createPlugin): * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::openInspectorFrontend): (WebInspectorClient::highlight): (WebInspectorFrontendClient::setAttachedWindowHeight): (WebInspectorFrontendClient::closeWindowWithoutNotifications): (WebInspectorFrontendClient::showWindowWithoutNotifications): * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorDelegate.cpp: * WebCoreSupport/WebInspectorDelegate.h: (WebInspectorDelegate::webViewFirstResponder): (WebInspectorDelegate::makeFirstResponder): (WebInspectorDelegate::contextMenuItemsForElement): (WebInspectorDelegate::trackCustomPopupMenu): (WebInspectorDelegate::addCustomMenuDrawingData): (WebInspectorDelegate::cleanUpCustomMenuDrawingData): (WebInspectorDelegate::drawHeaderInRect): (WebInspectorDelegate::drawFooterInRect): * WebDropSource.cpp: (generateMouseEvent): (WebDropSource::GiveFeedback): * WebError.cpp: (WebError::sslPeerCertificate): * WebError.h: * WebFrame.cpp: (WebFrame::paintDocumentRectToContext): (WebFrame::paintScrollViewRectToContextAtPoint): (WebFrame::createSubframeWithOwnerElement): (WebFrame::initWithWebView): (WebFrame::drawHeader): (WebFrame::drawFooter): * WebFrame.h: * WebHistoryItem.cpp: (WebHistoryItem::icon): * WebHistoryItem.h: * WebIconDatabase.cpp: (WebIconDatabase::iconForURL): (WebIconDatabase::defaultIconWithSize): * WebIconDatabase.h: * WebMutableURLRequest.cpp: (WebMutableURLRequest::setClientCertificate): * WebMutableURLRequest.h: * WebNodeHighlight.cpp: (WebNodeHighlight::WebNodeHighlight): * WebURLResponse.cpp: (WebURLResponse::sslPeerCertificate): * WebURLResponse.h: * WebView.cpp: (WebView::paintIntoBackingStore): (WebView::handleContextMenuEvent): (WebView::onInitMenuPopup): (WebView::onUninitMenuPopup): (WebView::WebViewWndProc): (WebView::dispatchDidReceiveIconFromWebFrame): (WebView::setHostWindow): (WebView::hostWindow): (WebView::generateSelectionImage): (WebView::mainFrameIcon): (WebView::viewWindow): (WebView::paintDocumentRectToContext): (WebView::paintScrollViewRectToContextAtPoint): (WebView::backingStore): (WebView::fullScreenClientSetParentWindow): * WebView.h: 2014-08-21 Alex Christensen [Win] Unreviewed build fix after r172849. * WebKitPrefix.h: Defined WEBCORE_EXPORT. 2014-08-19 Pratik Solanki Remove PurgeableBuffer since it is not very useful any more https://bugs.webkit.org/show_bug.cgi?id=135939 Reviewed by Andreas Kling. * WebCache.cpp: (WebCache::statistics): 2014-08-18 Commit Queue Unreviewed, rolling out r172736. https://bugs.webkit.org/show_bug.cgi?id=136060 Caused 14% PLT regressions (Requested by rniwa on #webkit). Reverted changeset: "Remove PurgeableBuffer since it is not very useful any more" https://bugs.webkit.org/show_bug.cgi?id=135939 http://trac.webkit.org/changeset/172736 2014-08-18 Pratik Solanki Remove PurgeableBuffer since it is not very useful any more https://bugs.webkit.org/show_bug.cgi?id=135939 Reviewed by Geoffrey Garen. * WebCache.cpp: (WebCache::statistics): 2014-07-27 Pratik Solanki Remove unused preference keys https://bugs.webkit.org/show_bug.cgi?id=135280 Reviewed by Darin Adler. * WebPreferenceKeysPrivate.h: 2014-07-22 Brent Fulgham [Win] Build fix after r171370. * WebCoreSupport/WebEditorClient.h: Add override for new 'overflowScrollPositionChanged'. 2014-07-03 Daniel Bates Add WTF::move() https://bugs.webkit.org/show_bug.cgi?id=134500 Rubber-stamped by Anders Carlsson. Substitute WTF::move() for std::move(). * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::openInspectorFrontend): (WebInspectorFrontendClient::WebInspectorFrontendClient): * WebHistory.cpp: (createUserInfoFromArray): * WebHistoryItem.cpp: (WebHistoryItem::initFromDictionaryRepresentation): * WebView.cpp: (WebView::addToDirtyRegion): (WebView::scrollBackingStore): 2014-06-26 Brady Eidson Remove use of PlatformStrategies for Gamepad API. https://bugs.webkit.org/show_bug.cgi?id=134348 Reviewed by Dean Jackson. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createGamepadStrategy): Deleted. * WebCoreSupport/WebPlatformStrategies.h: 2014-06-25 Brent Fulgham [Win] Expose Cache Information to WinLauncher https://bugs.webkit.org/show_bug.cgi?id=134318 Reviewed by Dean Jackson. * Interfaces/IWebCoreStatistics.idl: Add missing API added to WebKit since this was last updated. * WebCache.cpp: (WebCache::statistics): Add missing elements for purgable and purged data. * WebCoreStatistics.cpp: Provide implementaions. * WebCoreStatistics.h: Ditto. 2014-06-25 Brady Eidson Add new platform gamepad abstractions https://bugs.webkit.org/show_bug.cgi?id=134325 Reviewed by Dean Jackson. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createGamepadStrategy): * WebCoreSupport/WebPlatformStrategies.h: 2014-06-19 Anders Carlsson Try to fix Windows build. * WebFrame.h: 2014-06-18 Anders Carlsson Make FrameLoadType a strongly typed enum https://bugs.webkit.org/show_bug.cgi?id=134047 Reviewed by Andreas Kling. * WebView.cpp: (WebView::goToBackForwardItem): (WebView::loadBackForwardListFromOtherView): 2014-06-18 Anders Carlsson Remove IWebFramePrivate::loadType https://bugs.webkit.org/show_bug.cgi?id=134044 Reviewed by Tim Horton. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: (WebFrame::loadType): Deleted. (WebFrame::unused2): Deleted. * WebFrame.h: 2014-06-12 Brent Fulgham [Win] Avoid crashes in code that converted CFDictionaries to HashMap https://bugs.webkit.org/show_bug.cgi?id=133813 Reviewed by Tim Horton. * WebHistory.cpp: Add empty string checks to avoid crashes in hash function. (WebHistory::removeItem): (WebHistory::addItem): (WebHistory::visitedURL): (WebHistory::itemForURL): (WebHistory::removeItemForURLString): (WebHistory::itemForURLString): * WebPreferences.cpp: Ditto. (WebPreferences::getInstanceForIdentifier): (WebPreferences::setInstance): (WebPreferences::removeReferenceForIdentifier): * WebView.cpp: Ditto. Also convert OwnPtr uses in this file to std::unique_ptr. (WebView::close): (WebView::handleMouseEvent): (WebView::registerEmbeddedViewMIMEType): (WebView::shouldUseEmbeddedView): (WebView::enterFullscreenForNode): (WebView::fullScreenController): * WebView.h: 2014-05-07 Hyowon Kim GraphicsLayer::client() should return a reference. https://bugs.webkit.org/show_bug.cgi?id=126372 Reviewed by Simon Fraser. GraphicsLayers always have a GraphicsLayerClient attached, so make client() a reference and remove some unnecessary branches. The author of the changes in the mac port is Andreas Kling . * WebView.cpp: (WebView::setAcceleratedCompositing): 2014-04-30 Alexey Proskuryakov Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637: Clean up unnecessary methods in the BackForwardClient interface It broke a regression test and an API test. * WebBackForwardList.cpp: (WebBackForwardList::WebBackForwardList): (WebBackForwardList::~WebBackForwardList): (WebBackForwardList::createInstance): * WebBackForwardList.h: * WebView.cpp: (WebView::backForwardList): (WebView::canGoBack): (WebView::canGoForward): (WebView::loadBackForwardListFromOtherView): 2014-04-30 Brian J. Burg Clean up unnecessary methods in the BackForwardClient interface https://bugs.webkit.org/show_bug.cgi?id=131637 Reviewed by Andreas Kling. Remove uses of reference counting for BackForwardList. Use BackForwardController instead of BackForwardClient where possible. * WebBackForwardList.cpp: (WebBackForwardList::WebBackForwardList): (WebBackForwardList::~WebBackForwardList): (WebBackForwardList::createInstance): * WebBackForwardList.h: * WebView.cpp: (WebView::backForwardList): (WebView::canGoBack): (WebView::canGoForward): (WebView::loadBackForwardListFromOtherView): 2014-04-24 Myles C. Maxfield FontCache::fontCache() never returns nullptr so it can be made to return a reference instead https://bugs.webkit.org/show_bug.cgi?id=132110 Reviewed by Tim Horton. Updates callers to use '.' instead of '->'. No new tests are necessary because there should be no behavior change. * WebCoreStatistics.cpp: (WebCoreStatistics::cachedFontDataCount): (WebCoreStatistics::cachedFontDataInactiveCount): (WebCoreStatistics::purgeInactiveFontData): 2014-04-22 Alex Christensen Begin implementation of video using Media Foundation. https://bugs.webkit.org/show_bug.cgi?id=131830 Reviewed by Brent Fulgham. * FullscreenVideoController.cpp: * WebView.cpp: Added new USE(MEDIA_FOUNDATION) flag to prevent using the unsupported fullscreen api. 2014-04-09 Alexey Proskuryakov Eliminate DragSession structure https://bugs.webkit.org/show_bug.cgi?id=131465 Reviewed by Benjamin Poulain. * WebView.cpp: (WebView::DragEnter): (WebView::DragOver): 2014-04-09 Alexey Proskuryakov Rename some dragging functions https://bugs.webkit.org/show_bug.cgi?id=131460 Reviewed by Tim Horton. Renamed performDrag to performDragOperation. * WebView.cpp: (WebView::Drop): 2014-04-02 Mark Rowe Build fix after r166684. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): 2014-04-02 Martin Hock Unify private browsing with sessions. https://bugs.webkit.org/show_bug.cgi?id=130099 Reviewed by Alexey Proskuryakov. * WebCoreSupport/WebFrameLoaderClient.cpp: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral(). (WebFrameLoaderClient::updateGlobalHistoryItemForPage): * WebCoreSupport/WebFrameNetworkingContext.cpp: Ditto. (WebFrameNetworkingContext::storageSession): * WebView.cpp: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing(). (WebView::notifyPreferencesChanged): 2014-03-22 Darin Adler Remove String::deprecatedCharacters https://bugs.webkit.org/show_bug.cgi?id=126854 Reviewed by Sam Weinig. * WebKitStatistics.cpp: (WebKitStatistics::comClassNameCounts): Update to not use Vector::append(String). 2014-03-17 Brent Fulgham Provide preference to enable additional AVFoundation options https://bugs.webkit.org/show_bug.cgi?id=130275 Reviewed by Eric Carlson. * Interfaces/IWebPreferencesPrivate.idl: Added new preference. * WebPreferenceKeysPrivate.h: Ditto. * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Initialize preference to false. (WebPreferences::isInheritURIQueryComponentEnabled): Added. (WebPreferences::setEnableInheritURIQueryComponent): Added. * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): Handle new preference. 2014-03-16 Darin Adler Remove all deprecatedCharacters use from WebKit https://bugs.webkit.org/show_bug.cgi?id=130305 Reviewed by Andreas Kling. * AccessibleTextImpl.cpp: (AccessibleText::get_text): Use BString instead of SysAllocStringLen, which handles String directly. (AccessibleText::get_textBeforeOffset): Ditto. (AccessibleText::get_textAfterOffset): Ditto. (AccessibleText::get_textAtOffset): Ditto. (AccessibleText::get_attributes): Ditto. * DOMCSSClasses.cpp: (DOMCSSStyleDeclaration::getPropertyValue): Ditto. * DOMCoreClasses.cpp: (DOMNode::nodeValue): Ditto. (DOMElement::getAttribute): Ditto. (DOMElement::font): Rework this to leak a string, since it returns a pointer to a font family name's characters with no defined lifetime. * DOMHTMLClasses.cpp: (DOMHTMLElement::innerText): Use BString's String-based constructor, instead of explicitly passing a character pointer. (DOMHTMLFormElement::action): Ditto. (DOMHTMLFormElement::method): Ditto. (DOMHTMLInputElement::value): Ditto. (DOMHTMLTextAreaElement::value): Ditto. * MarshallingHelpers.cpp: (MarshallingHelpers::PathStringToFileCFURLRef): Use String::createCFString. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::checkSpellingOfString): Use StringView::upconvertedCharacters. (WebEditorClient::checkGrammarOfString): Ditto. * WebDataSource.cpp: (WebDataSource::unreachableURL): Use BString's String-based constructor, instead of explicitly passing a character pointer. * WebDownload.cpp: (WebDownload::bundlePathForTargetPath): Use BString instead of SysAllocStringLen. * WebDownloadCFNet.cpp: (WebDownload::didFinish): Use BString's String-based constructor, instead of explicitly passing a character pointer. * WebDownloadCurl.cpp: (WebDownload::didReceiveResponse): Ditto. * WebElementPropertyBag.cpp: (convertStringToVariant): Use BString instead of SysAllocStringLen. * WebFrame.cpp: (WebFrame::searchForLabelsBeforeElement): Ditto. (WebFrame::matchLabelsAgainstElement): Ditto. * WebHistory.cpp: (WebHistory::addVisitedLinksToPageGroup): Use a better loop and call visitedLinkHash, since it can take a String. * WebKitGraphics.cpp: (CenterTruncateStringToWidth): Use StringView::getCharactersWithUpconvert. (RightTruncateStringToWidth): Ditto. * WebView.cpp: (WebView::applicationNameForUserAgent): Use BString instead of SysAllocStringLen. (WebView::customUserAgent): Ditto. (WebView::groupName): Ditto. (WebView::selectedText): Ditto. (WebView::onIMERequestReconvertString): Use StringView::getCharactersWithUpconvert. 2014-03-14 Maciej Stachowiak Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 Reviewed by Simon Fraser. * CFDictionaryPropertyBag.cpp: * CFDictionaryPropertyBag.h: * CodeAnalysisConfig.h: * DOMCSSClasses.cpp: * DOMCSSClasses.h: * DOMCoreClasses.cpp: * DOMCoreClasses.h: * DOMEventsClasses.cpp: * DOMEventsClasses.h: * DOMHTMLClasses.cpp: * DOMHTMLClasses.h: * DefaultDownloadDelegate.cpp: * DefaultDownloadDelegate.h: * DefaultPolicyDelegate.cpp: * DefaultPolicyDelegate.h: * ForEachCoClass.cpp: * ForEachCoClass.h: * FullscreenVideoController.cpp: * FullscreenVideoController.h: * Interfaces/AccessibilityDelegate.idl: * Interfaces/DOMCSS.idl: * Interfaces/DOMCore.idl: * Interfaces/DOMEvents.idl: * Interfaces/DOMExtensions.idl: * Interfaces/DOMHTML.idl: * Interfaces/DOMPrivate.idl: * Interfaces/DOMRange.idl: * Interfaces/DOMWindow.idl: * Interfaces/IGEN_DOMObject.idl: * Interfaces/IWebArchive.idl: * Interfaces/IWebBackForwardList.idl: * Interfaces/IWebBackForwardListPrivate.idl: * Interfaces/IWebCache.idl: * Interfaces/IWebDataSource.idl: * Interfaces/IWebDatabaseManager.idl: * Interfaces/IWebDocument.idl: * Interfaces/IWebDownload.idl: * Interfaces/IWebEditingDelegate.idl: * Interfaces/IWebError.idl: * Interfaces/IWebErrorPrivate.idl: * Interfaces/IWebFormDelegate.idl: * Interfaces/IWebFrame.idl: * Interfaces/IWebFrameLoadDelegate.idl: * Interfaces/IWebFrameLoadDelegatePrivate.idl: * Interfaces/IWebFrameLoadDelegatePrivate2.idl: * Interfaces/IWebFramePrivate.idl: * Interfaces/IWebFrameView.idl: * Interfaces/IWebHTMLRepresentation.idl: * Interfaces/IWebHTTPURLResponse.idl: * Interfaces/IWebHistory.idl: * Interfaces/IWebHistoryDelegate.idl: * Interfaces/IWebHistoryItem.idl: * Interfaces/IWebHistoryItemPrivate.idl: * Interfaces/IWebHistoryPrivate.idl: * Interfaces/IWebIconDatabase.idl: * Interfaces/IWebInspector.idl: * Interfaces/IWebInspectorPrivate.idl: * Interfaces/IWebJavaScriptCollector.idl: * Interfaces/IWebKitStatistics.idl: * Interfaces/IWebMutableURLRequest.idl: * Interfaces/IWebMutableURLRequestPrivate.idl: * Interfaces/IWebNavigationData.idl: * Interfaces/IWebNotification.idl: * Interfaces/IWebNotificationCenter.idl: * Interfaces/IWebNotificationObserver.idl: * Interfaces/IWebPolicyDelegate.idl: * Interfaces/IWebPolicyDelegatePrivate.idl: * Interfaces/IWebPreferences.idl: * Interfaces/IWebPreferencesPrivate.idl: * Interfaces/IWebResource.idl: * Interfaces/IWebResourceLoadDelegate.idl: * Interfaces/IWebResourceLoadDelegatePrivate.idl: * Interfaces/IWebResourceLoadDelegatePrivate2.idl: * Interfaces/IWebScriptObject.idl: * Interfaces/IWebSecurityOrigin.idl: * Interfaces/IWebSerializedJSValuePrivate.idl: * Interfaces/IWebTextRenderer.idl: * Interfaces/IWebUIDelegate.idl: * Interfaces/IWebUIDelegatePrivate.idl: * Interfaces/IWebURLAuthenticationChallenge.idl: * Interfaces/IWebURLRequest.idl: * Interfaces/IWebURLResponse.idl: * Interfaces/IWebURLResponsePrivate.idl: * Interfaces/IWebUndoManager.idl: * Interfaces/IWebUndoTarget.idl: * Interfaces/IWebView.idl: * Interfaces/IWebViewPrivate.idl: * Interfaces/WebKit.idl: * Interfaces/WebScrollbarTypes.idl: * MarshallingHelpers.cpp: * MarshallingHelpers.h: * MemoryStream.cpp: * MemoryStream.h: * ProgIDMacros.h: * WebActionPropertyBag.cpp: * WebActionPropertyBag.h: * WebBackForwardList.cpp: * WebBackForwardList.h: * WebCache.cpp: * WebCache.h: * WebCachedFramePlatformData.h: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebContextMenuClient.cpp: * WebCoreSupport/WebContextMenuClient.h: * WebCoreSupport/WebDragClient.cpp: * WebCoreSupport/WebDragClient.h: * WebCoreSupport/WebEditorClient.cpp: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebInspectorClient.cpp: * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorDelegate.cpp: * WebCoreSupport/WebInspectorDelegate.h: * WebDataSource.cpp: * WebDataSource.h: * WebDatabaseManager.cpp: * WebDatabaseManager.h: * WebDocumentLoader.cpp: * WebDocumentLoader.h: * WebDownload.cpp: * WebDownload.h: * WebDownloadCFNet.cpp: * WebDownloadCurl.cpp: * WebDropSource.cpp: * WebDropSource.h: * WebElementPropertyBag.cpp: * WebElementPropertyBag.h: * WebError.cpp: * WebError.h: * WebFrame.cpp: * WebFrame.h: * WebFramePolicyListener.cpp: * WebFramePolicyListener.h: * WebHTMLRepresentation.cpp: * WebHTMLRepresentation.h: * WebHistory.cpp: * WebHistory.h: * WebHistoryItem.cpp: * WebHistoryItem.h: * WebIconDatabase.cpp: * WebIconDatabase.h: * WebInspector.cpp: * WebInspector.h: * WebJavaScriptCollector.cpp: * WebJavaScriptCollector.h: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitClassFactory.cpp: * WebKitClassFactory.h: * WebKitDLL.cpp: * WebKitDLL.h: * WebKitGraphics.cpp: * WebKitGraphics.h: * WebKitLogging.cpp: * WebKitLogging.h: * WebKitPrefix.cpp: * WebKitPrefix.h: * WebKitStatistics.cpp: * WebKitStatistics.h: * WebKitStatisticsPrivate.h: * WebKitSystemBits.cpp: * WebKitSystemBits.h: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebMutableURLRequest.h: * WebNavigationData.cpp: * WebNavigationData.h: * WebNodeHighlight.cpp: * WebNodeHighlight.h: * WebNotification.cpp: * WebNotification.h: * WebNotificationCenter.cpp: * WebNotificationCenter.h: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: * WebPreferences.h: * WebResource.cpp: * WebResource.h: * WebScriptObject.cpp: * WebScriptObject.h: * WebSecurityOrigin.cpp: * WebSecurityOrigin.h: * WebTextRenderer.cpp: * WebTextRenderer.h: * WebURLAuthenticationChallenge.cpp: * WebURLAuthenticationChallenge.h: * WebURLAuthenticationChallengeSender.cpp: * WebURLAuthenticationChallengeSender.h: * WebURLAuthenticationChallengeSenderCFNet.cpp: * WebURLAuthenticationChallengeSenderCurl.cpp: * WebURLCredential.cpp: * WebURLCredential.h: * WebURLProtectionSpace.cpp: * WebURLProtectionSpace.h: * WebURLResponse.cpp: * WebURLResponse.h: * WebView.cpp: * WebView.h: 2014-03-12 Sergio Villar Senin Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL https://bugs.webkit.org/show_bug.cgi?id=129612 Reviewed by Darin Adler. For new code use static NeverDestroyed instead. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::initialize): * WebHistory.cpp: (sharedHistoryStorage): * WebLocalizableStrings.cpp: (mainBundleLocStrings): (frameworkLocStringsMutex): (frameworkLocStrings): * WebView.cpp: (WebView::standardUserAgentWithApplicationName): 2014-03-13 Brian Burg Unreviewed build fix for Mac Windows after r165545. https://bugs.webkit.org/show_bug.cgi?id=129744 Reviewed by Timothy Hatcher. * Interfaces/IWebInspectorPrivate.idl: Remove callId from IWebInspectorPrivate. 2014-03-12 Brian Burg Web Inspector: Remove unused callId parameter from evaluateInWebInspector https://bugs.webkit.org/show_bug.cgi?id=129744 Reviewed by Timothy Hatcher. * WebInspector.cpp: (WebInspector::evaluateInFrontend): * WebInspector.h: 2014-03-06 Joseph Pecoraro Web Inspector: Expose the console object in JSContexts to interact with Web Inspector https://bugs.webkit.org/show_bug.cgi?id=127944 Reviewed by Geoffrey Garen. * WebCoreSupport/WebChromeClient.h: Update namespaces. 2014-03-04 Zalan Bujtas Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies. https://bugs.webkit.org/show_bug.cgi?id=129557 Reviewed by Simon Fraser. This is the preparation for snapping rounded rects to device pixel position. It enables device pixel aware border-radius painting. No change in functionality. * FullscreenVideoController.cpp: (HUDSlider::draw): (FullscreenVideoController::draw): 2014-03-02 Darin Adler Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions https://bugs.webkit.org/show_bug.cgi?id=129592 Reviewed by Sam Weinig. * WebCoreSupport/WebEditorClient.cpp: Added now-needed include. 2014-02-25 Anders Carlsson Get rid of VisitedLinkStrategy https://bugs.webkit.org/show_bug.cgi?id=129324 Reviewed by Dan Bernstein. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::getPluginInfo): * WebCoreSupport/WebPlatformStrategies.h: 2014-02-24 Renata Hodovan Get rid of the unused 'immediate' parameters from repaint related functions https://bugs.webkit.org/show_bug.cgi?id=129111 Reviewed by Simon Fraser. Removing the 'immediate' parameters from repaint related functions - accoring to the FIXME in RenderView::repaintViewRectangle() - since they have no effect. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::invalidateRootView): (WebChromeClient::invalidateContentsAndRootView): (WebChromeClient::invalidateContentsForSlowScroll): * WebCoreSupport/WebChromeClient.h: 2014-02-20 Csaba Osztrogonác Get rid of redundant Platform.h includes https://bugs.webkit.org/show_bug.cgi?id=128817 Reviewed by Brent Fulgham. * WebDownloadCFNet.cpp: * WebDownloadCurl.cpp: * WebURLResponse.cpp: 2014-02-18 Sam Weinig Simplify HTML tokenizer parameterization down to what is used https://bugs.webkit.org/show_bug.cgi?id=128977 Reviewed by Alexey Proskuryakov. Remove unused SPI. * WebView.cpp: (WebView::setCustomHTMLTokenizerTimeDelay): (WebView::setCustomHTMLTokenizerChunkSize): 2014-02-17 Anders Carlsson Remove view source code https://bugs.webkit.org/show_bug.cgi?id=127233 Reviewed by Antti Koivisto. * WebFrame.cpp: (WebFrame::inViewSourceMode): (WebFrame::setInViewSourceMode): * WebView.cpp: (WebView::setInViewSourceMode): (WebView::inViewSourceMode): 2014-02-17 Sergio Correia Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector https://bugs.webkit.org/show_bug.cgi?id=128681 Reviewed by Timothy Hatcher. Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting WebCore/inspector/*. Besides files in there, a few other files in JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/ and WebCore/testing were touched. * WebCoreSupport/WebInspectorClient.cpp: * WebCoreSupport/WebInspectorClient.h: 2014-02-14 Brent Fulgham [Win] Make tests more consistent with Mac platform https://bugs.webkit.org/show_bug.cgi?id=128848 Reviewed by Simon Fraser. * Interfaces/IWebPreferencesPrivate.idl: Add access to the mock scrollbar and screen font substitution features. * WebPreferenceKeysPrivate.h: Ditto * WebPreferences.cpp: Ditto (WebPreferences::mockScrollbarsEnabled): (WebPreferences::setMockScrollbarsEnabled): (WebPreferences::screenFontSubstitutionEnabled): (WebPreferences::setScreenFontSubstitutionEnabled): * WebPreferences.h: Ditto * WebView.cpp: (WebView::notifyPreferencesChanged): Ditto 2014-02-11 Zalan Bujtas Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based. https://bugs.webkit.org/show_bug.cgi?id=128460 Reviewed by Simon Fraser. GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on subpixel position. No change in functionality. * WebView.cpp: (WebView::paintContents): * WebView.h: 2014-02-11 Alex Christensen Fixed pointer truncation on Win64. https://bugs.webkit.org/show_bug.cgi?id=128211 Reviewed by Brent Fulgham. * WebCoreSupport/EmbeddedWidget.cpp: (EmbeddedWidget::createWindow): * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::customizeMenu): * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createPlugin): * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::WebInspectorClient): (WebInspectorClient::openInspectorFrontend): (WebInspectorClient::highlight): (WebInspectorClient::releaseFrontend): (WebInspectorFrontendClient::setAttachedWindowHeight): (WebInspectorFrontendClient::closeWindowWithoutNotifications): * WebCoreSupport/WebInspectorClient.h: * WebDropSource.cpp: (generateMouseEvent): * WebFrame.cpp: (WebFrame::createSubframeWithOwnerElement): (WebFrame::initWithWebView): Removed all casts from &HWND to OLE_HANDLE*. 2014-02-11 peavo@outlook.com [WinCairo] Compile error related to toString function. https://bugs.webkit.org/show_bug.cgi?id=128607 Reviewed by Brent Fulgham. * WebView.cpp: (toString): Added another toString function to make sure we are not trying to use WTF::toString. 2014-02-08 Ryosuke Niwa Cleanup the interface of FrameSelection https://bugs.webkit.org/show_bug.cgi?id=128481 Reviewed by Andreas Kling. * WebView.cpp: (WebView::selectionRect): 2014-02-08 Darin Adler Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters https://bugs.webkit.org/show_bug.cgi?id=128233 Reviewed by Anders Carlsson. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::checkSpellingOfString): Use StringView. (WebEditorClient::checkGrammarOfString): Ditto. * WebCoreSupport/WebEditorClient.h: Ditto. 2014-02-06 Joseph Pecoraro Web Inspector: Add Console support to JSContext Inspection https://bugs.webkit.org/show_bug.cgi?id=127941 Reviewed by Geoffrey Garen. * WebCoreSupport/WebChromeClient.h: 2014-02-06 Brent Fulgham [Win] Correct IME Regression after r141479 https://bugs.webkit.org/show_bug.cgi?id=128323 Reviewed by Tim Horton. * WebView.cpp: (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used to select the resetIME case. Corrected for behavior of new cancel method. 2014-02-04 Andreas Kling Remove