2012-03-12 Pavel Podivilov Web Inspector: DebuggerModel.Location should have scriptId property. https://bugs.webkit.org/show_bug.cgi?id=80830 Reviewed by Vsevolod Vlasov. * inspector/front-end/CompilerSourceMapping.js: (WebInspector.ClosureCompilerSourceMapping.prototype.sourceLocationToCompiledLocation): * inspector/front-end/ConsoleMessage.js: (WebInspector.ConsoleMessageImpl.prototype.location): * inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.Location): (WebInspector.DebuggerModel.prototype._failedToParseScriptSource): (WebInspector.DebuggerModel.prototype.createRawLocation): (WebInspector.DebuggerModel.prototype.createRawLocationByURL): * inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded): (WebInspector.DebuggerPresentationModel.prototype._addConsoleMessageToScript): (WebInspector.DebuggerPresentationModel.prototype._addPendingConsoleMessagesToScript): (WebInspector.DebuggerPresentationModelResourceBinding.prototype._uiSourceCodeForResource): (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation): * inspector/front-end/RawSourceCode.js: (WebInspector.RawSourceCode.PlainSourceMapping.prototype.uiLocationToRawLocation): (WebInspector.RawSourceCode.FormattedSourceMapping.prototype.rawLocationToUILocation): (WebInspector.RawSourceCode.FormattedSourceMapping.prototype.uiLocationToRawLocation): (WebInspector.RawSourceCode.CompilerSourceMapping.prototype.uiLocationToRawLocation): * inspector/front-end/ScriptFormatter.js: (WebInspector.ScriptFormatter.locationToPosition): (WebInspector.ScriptFormatter.positionToLocation): (WebInspector.FormattedSourceMapping.prototype.originalToFormatted): (WebInspector.FormattedSourceMapping.prototype.formattedToOriginal): 2012-03-12 Dana Jansens [chromium] A couple early-outs for occlusion tracker https://bugs.webkit.org/show_bug.cgi?id=80742 Reviewed by Adrienne Walker. Covered by existing tests. * platform/graphics/chromium/cc/CCOcclusionTracker.cpp: (WebCore::::occluded): (WebCore::::unoccludedContentRect): 2012-03-12 Zeno Albisser [Qt][Mac] Build fails after adding WebCoreCFAutorelease(CFTypeRef) (r110360). https://bugs.webkit.org/show_bug.cgi?id=80840 CoreFoundation/CFBase.h needs to be included to define the type CFTypeRef. Reviewed by Tor Arne Vestbø. * platform/mac/WebCoreObjCExtras.h: 2012-03-12 George Staikos Remove unused global static variable for BlackBerry. https://bugs.webkit.org/show_bug.cgi?id=80790 Reviewed by Alexey Proskuryakov. * platform/graphics/gpu/DrawingBuffer.cpp: (WebCore): 2012-03-12 George Staikos Correct usage of NDEBUG to fix warnings on BlackBerry. https://bugs.webkit.org/show_bug.cgi?id=80790 Reviewed by Alexey Proskuryakov. * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp: (WebCore::CookieDatabaseBackingStore::sendChangesToDatabase): * platform/blackberry/CookieManager.cpp: (WebCore::CookieManager::initiateCookieLimitCleanUp): 2012-03-12 Ilya Tikhonovsky Re-apply the patch after v8 roll to r11000. Web Inspector: move heap snapshot nodes data to external array. https://bugs.webkit.org/show_bug.cgi?id=79911 Reviewed by Vsevolod Vlasov. Tests: heap-shapshot.html heap-shapshot-loader.html * inspector/front-end/HeapSnapshot.js: (WebInspector.Int32Array): (WebInspector.Int32Array.prototype.get array): (WebInspector.HeapSnapshotLoader.prototype._parseNodes): (WebInspector.HeapSnapshotLoader.prototype.pushJSONChunk): (WebInspector.HeapSnapshot): (WebInspector.HeapSnapshot.prototype._init): 2012-03-12 Simon Hausmann [Qt] Fix build with newer Qt 5. Reviewed by Tor Arne Vestbø. * platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::fileListNameForWidth): Use DefaultCodec instead of the deprecated CodecForTR. 2012-03-12 Hans Wennborg Speech JavaScript API: SpeechRecognitionEvent https://bugs.webkit.org/show_bug.cgi?id=80513 Reviewed by Adam Barth. Implement SpeechRecognitionEvent. (Spec: http://speech-javascript-api-spec.googlecode.com/git/speechapi.html) Test: fast/events/constructors/speech-recognition-event-constructor.html * Modules/speech/DOMWindowSpeech.idl: * Modules/speech/SpeechRecognitionEvent.cpp: Added. (WebCore): (WebCore::SpeechRecognitionEventInit::SpeechRecognitionEventInit): (WebCore::SpeechRecognitionEvent::create): (WebCore::SpeechRecognitionEvent::createResult): (WebCore::SpeechRecognitionEvent::createNoMatch): (WebCore::SpeechRecognitionEvent::createResultDeleted): (WebCore::SpeechRecognitionEvent::createError): (WebCore::SpeechRecognitionEvent::interfaceName): (WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent): * Modules/speech/SpeechRecognitionEvent.h: Added. (WebCore): (SpeechRecognitionEventInit): (SpeechRecognitionEvent): (WebCore::SpeechRecognitionEvent::result): (WebCore::SpeechRecognitionEvent::error): (WebCore::SpeechRecognitionEvent::resultIndex): (WebCore::SpeechRecognitionEvent::resultHistory): * Modules/speech/SpeechRecognitionEvent.idl: * WebCore.gypi: * bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::webkitSpeechRecognitionEventEnabled): * bindings/v8/OptionsObject.cpp: (WebCore::OptionsObject::get): (WebCore): * bindings/v8/OptionsObject.h: (WebCore): (OptionsObject): * dom/EventNames.h: (WebCore): * dom/EventNames.in: 2012-03-12 Kent Tamura Use ICU C API instead of C++ API in LocalizedNumberICU https://bugs.webkit.org/show_bug.cgi?id=80815 https://bugs.gentoo.org/show_bug.cgi?id=407401 Reviewed by Hajime Morita. ICU 4.8 doesn't have kNumberStyle. We had better to use ICU C API in general to avoid such issues. This patch should not make any behavior change. * platform/text/LocalizedNumberICU.cpp: (WebCore::ICULocale::ICULocale): Change the argument type: icu::Locale -> const char* (WebCore::ICULocale::~ICULocale): Delete m_numberFormat with unum_close(). (WebCore::ICULocale::create): Do not create icu::Locale. (WebCore::ICULocale::createForCurrentLocale): ditto. (WebCore::ICULocale::setDecimalSymbol): Use unum_getSymbol() instead of DecimalFormatSymbols::getSymbol(). (WebCore::ICULocale::setDecimalTextAttribute): Added. A utility function to store prefixes and suffixes. (WebCore::ICULocale::initializeDecimalFormat): - unum_open(), instead of NumberFormat::createInstance(). - Use C API symbols. - Cache positive/negative prefixes/suffixes. (WebCore::ICULocale::convertToLocalizedNumber): Use cached prefixes and suffixes. (WebCore::matches): Stop using template because we don't use UString anymore. (WebCore::ICULocale::detectSignAndGetDigitRange): - Use cached prefixes and suffixes. - Use String::startsWith() and endsWith(). (WebCore::ICULocale::convertFromLocalizedNumber): * platform/text/LocalizedNumberICU.h: (ICULocale): 2012-03-11 Pavel Podivilov Web Inspector: decouple LiveLocation from RawSourceCode. https://bugs.webkit.org/show_bug.cgi?id=80785 Reviewed by Vsevolod Vlasov. * inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.createPlacard): (WebInspector.DebuggerPresentationModel.prototype._debuggerPaused): (WebInspector.PresentationCallFrame): (WebInspector.PresentationCallFrame.prototype.uiLocation): (WebInspector.DebuggerPresentationModel.CallFramePlacard): * inspector/front-end/RawSourceCode.js: * inspector/front-end/ScriptMapping.js: (WebInspector.MainScriptMapping): (WebInspector.MainScriptMapping.prototype.createLiveLocation): (WebInspector.MainScriptMapping.prototype._registerLiveLocation): (WebInspector.MainScriptMapping.prototype._unregisterLiveLocation): (WebInspector.MainScriptMapping.prototype._updateLiveLocations): (WebInspector.MainScriptMapping.prototype._uiSourceCodeListChanged): (WebInspector.MainScriptMapping.prototype.reset): (WebInspector.LiveLocation): (WebInspector.LiveLocation.prototype.init): (WebInspector.LiveLocation.prototype.dispose): (WebInspector.LiveLocation.prototype._update): 2012-03-11 Victor Carbune The main code structure for placing future text track cue rendering code and main outer rendering steps. https://bugs.webkit.org/show_bug.cgi?id=79746 Reviewed by Eric Carlson. No new tests. Only refactoring, but some chromium tests require rebaselining and have been marked accordingly. * css/mediaControls.css: (::-webkit-media-controls): Changed the default display to -webkit-box, as captions need to always be rendered on top of the controls, if they are visible. (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel): Default position attribute is now relative, handled by the parent -webkit-box (video::-webkit-media-text-track-container): The position of the container is now relative, handled by -webkit-box. (video::-webkit-media-text-track-display): Adjusted text color to match the color required in the WebVTT spec (section 3.5.1 'color' property) * css/mediaControlsChromium.css: (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel): Default position attribute is now relative, handled by the parent -webkit-box * html/shadow/MediaControlElements.cpp: (WebCore::MediaControlPanelElement::MediaControlPanelElement): Added a timer for the webkit fade out transition event. This timer is required for setting the display property to 'none', when the fade out transition is over. Otherwise, captions would not be displayed at the bottom of the video. (WebCore::MediaControlPanelElement::startTimer): Added. (WebCore): (WebCore::MediaControlPanelElement::stopTimer): Added. (WebCore::MediaControlPanelElement::transitionTimerFired): Added. If the current state of the controls is transparent, the display property is set to 'none'. (WebCore::MediaControlPanelElement::makeOpaque): The inline display:'none' property is removed before the fade in transition. (WebCore::MediaControlPanelElement::makeTransparent): Added the timer start. (WebCore::MediaControlTextTrackContainerElement::MediaControlTextTrackContainerElement): Removed m_bottom as it is not needed anymore. (WebCore::MediaControlTextTrackContainerElement::updateDisplay): Added. Main function for the rendering rules. (WebCore::MediaControlTextTrackContainerElement::updateSizes): The bottom position needs not to be set anymore. * html/shadow/MediaControlElements.h: (MediaControlPanelElement): Added timer internals. (MediaControlTextTrackContainerElement): Added updateDisplay() and removed unused variables. (WebCore): * html/shadow/MediaControlRootElement.cpp: Removed m_textTrackDisplay and duplicated code with MediaControlRootElementChromium (only minimum function calls to the main text track container) (WebCore::MediaControlRootElement::MediaControlRootElement): (WebCore::MediaControlRootElement::setMediaController): (WebCore::MediaControlRootElement::createTextTrackDisplay): (WebCore::MediaControlRootElement::updateTextTrackDisplay): * html/shadow/MediaControlRootElementChromium.cpp: Removed m_textTrackDisplay and duplicate code with MediaControlRootElement (only minimum function calls to the main text track container remained) (WebCore::MediaControlRootElementChromium::MediaControlRootElementChromium): (WebCore::MediaControlRootElementChromium::setMediaController): (WebCore::MediaControlRootElementChromium::createTextTrackDisplay): (WebCore::MediaControlRootElementChromium::updateTextTrackDisplay): (WebCore): * html/track/TextTrackCue.cpp: Enhanced structure for supporting more complex rendering required by the WebVTT spec. (WebCore::TextTrackCue::TextTrackCue): (WebCore::TextTrackCue::cueDidChange): Mark the display tree as obsolete, so that it needs to be re-computed. (WebCore::TextTrackCue::setIsActive): The display tree needs to be removed as soon as the cue becomes inactive. Adjusted this method to support the functionality. (WebCore): (WebCore::TextTrackCue::determineDisplayParameters): Added. This method will hold main positioning parameter computations for a TextTrackCue (WebCore): (WebCore::TextTrackCue::getDisplayTree): Added. This method returns the root node of the CSS boxes that need to be displayed on top of the video, for the current instance. * html/track/TextTrackCue.h: (WebCore): (TextTrackCue): 2012-03-11 Sheriff Bot Unreviewed, rolling out r110359. http://trac.webkit.org/changeset/110359 https://bugs.webkit.org/show_bug.cgi?id=80799 SelectPopupMenuTest.ClickItem failure (Requested by ukai on #webkit). * platform/chromium/PopupListBox.cpp: (WebCore::PopupListBox::paint): (WebCore::PopupListBox::paintRow): (WebCore::PopupListBox::getRowHeight): * platform/chromium/PopupListBox.h: (PopupContainerSettings): * platform/chromium/PopupMenuChromium.cpp: (WebCore): (WebCore::PopupMenuChromium::show): * platform/chromium/PopupMenuChromium.h: (PopupMenuChromium): * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::showPopup): 2012-03-11 Timothy Hatcher Fix a crash opening the Web Inspector in WebKit1 clients. The call to InspectorFrontendClientLocal::setAttachedWindow is preformed really early in the process, causing it to crash almost every time. It should use evaluateOnLoad instead of evaluateAsBoolean. Crash when bringing up Web Inspector in WebKit1 client https://bugs.webkit.org/show_bug.cgi?id=80796 Reviewed by Brian Weinstein. * inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::setAttachedWindow): Use evaluateOnLoad instead of evaluateAsBoolean. 2012-03-11 Shawn Singh REGRESSION (r93614): scrolling div does not repaint https://bugs.webkit.org/show_bug.cgi?id=80641 Reviewed by Simon Fraser. Test: compositing/repaint/newly-composited-repaint-rect.html * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::updateBacking): When a layer becomes newly composited and creates its backing, the repaintRect may become invalid. This patch recomputes repaintRects in this case. 2012-03-11 George Staikos Enable JPEG encoding for BlackBerry. https://bugs.webkit.org/show_bug.cgi?id=80792 Reviewed by Antonio Gomes. * PlatformBlackBerry.cmake: 2012-03-11 Pavel Feldman Web Inspector: console.log attempts to substitute any "%" character in the message. https://bugs.webkit.org/show_bug.cgi?id=80504 Reviewed by Vsevolod Vlasov. Test: inspector/console/console-string-format.html * inspector/front-end/AuditRules.js: (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback): * inspector/front-end/ProfileDataGridTree.js: * inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress): * inspector/front-end/utilities.js: 2012-03-11 Andrey Kosyakov Web Inspector: use monotonically increasing time in timeline agent https://bugs.webkit.org/show_bug.cgi?id=80786 Reviewed by Pavel Feldman. * bindings/v8/ScriptGCEvent.cpp: (WebCore::ScriptGCEvent::gcPrologueCallback): (WebCore::ScriptGCEvent::gcEpilogueCallback): * inspector/InspectorTimelineAgent.cpp: (WebCore::InspectorTimelineAgent::pushGCEventRecords): (WebCore::InspectorTimelineAgent::willSendResourceRequest): (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord): (WebCore::InspectorTimelineAgent::appendRecord): (WebCore::InspectorTimelineAgent::pushCurrentRecord): (WebCore::InspectorTimelineAgent::timestamp): (WebCore): * inspector/InspectorTimelineAgent.h: (InspectorTimelineAgent): (WebCore::InspectorTimelineAgent::timestamp): 2012-03-11 Vsevolod Vlasov Web Inspector: Network panel does not show responses for application/json data https://bugs.webkit.org/show_bug.cgi?id=80684 Reviewed by Pavel Feldman. Test: http/tests/inspector/network/async-xhr-json-mime-type.html * inspector/InspectorPageAgent.cpp: (WebCore::createXHRTextDecoder): (WebCore::InspectorPageAgent::cachedResourceContent): * inspector/InspectorPageAgent.h: * inspector/NetworkResourcesData.cpp: (WebCore::createOtherResourceTextDecoder): (WebCore): (WebCore::NetworkResourcesData::responseReceived): 2012-03-11 Vsevolod Vlasov Web Inspector: CSS content is not shown when stylesheet is loaded with invalid mime type in quirks mode. https://bugs.webkit.org/show_bug.cgi?id=80528 Reviewed by Pavel Feldman. Test: http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html * inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::cachedResourceContent): 2012-03-11 Viatcheslav Ostapenko [Qt] [WK2] Support threaded renderer in WK2 https://bugs.webkit.org/show_bug.cgi?id=76661 Reviewed by Noam Rosenthal. Add TransformationMatrix conversions from/to Qt QMatrix4x4. Used by Qt WebKit2 rendering and tested by Qt WebKit2 API tests. * platform/graphics/qt/TransformationMatrixQt.cpp: (WebCore::TransformationMatrix::operator QMatrix4x4): (WebCore): (WebCore::TransformationMatrix::TransformationMatrix): * platform/graphics/transforms/TransformationMatrix.h: (TransformationMatrix): 2012-03-09 Jon Lee Rename NotificationPresenter to NotificationClient https://bugs.webkit.org/show_bug.cgi?id=80488 Reviewed by Kentaro Hara. * notifications/NotificationCenter.h: Renamed from notifications/NotificationPresenter.h. Refactor to use renamed WebCore::NotificationClient. * GNUmakefile.list.am: * Target.pri: * WebCore.exp.in: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * notifications/Notification.cpp: (WebCore::Notification::Notification): (WebCore::Notification::show): (WebCore::Notification::cancel): (WebCore::Notification::contextDestroyed): (WebCore::Notification::finishLoading): * notifications/NotificationCenter.cpp: (WebCore::NotificationCenter::create): (WebCore::NotificationCenter::NotificationCenter): (WebCore::NotificationCenter::checkPermission): (WebCore::NotificationCenter::requestPermission): (WebCore::NotificationCenter::disconnectFrame): * notifications/NotificationController.cpp: (WebCore::NotificationController::NotificationController): (WebCore::NotificationController::create): (WebCore::NotificationController::clientFrom): (WebCore::provideNotification): * notifications/NotificationController.h: (WebCore): (NotificationController): (WebCore::NotificationController::client): * page/DOMWindow.cpp: (WebCore::DOMWindow::webkitNotifications): * page/DOMWindow.h: (DOMWindow): * workers/WorkerContext.cpp: (WebCore::WorkerContext::webkitNotifications): * workers/WorkerThread.cpp: (WebCore::WorkerThread::WorkerThread): * workers/WorkerThread.h: (WebCore): (WebCore::WorkerThread::getNotificationClient): (WebCore::WorkerThread::setNotificationClient): (WorkerThread): 2012-03-10 Julien Chaffraix RenderObject with 'resize' different from 'none' should have a RenderLayer https://bugs.webkit.org/show_bug.cgi?id=80738 Reviewed by James Robinson. Covered by fast/css/resize-single-axis.html. * rendering/RenderBox.h: (WebCore::RenderBox::requiresLayerForOverflowClip): The resizer logic is tied to RenderLayer so force a RenderLayer to be allocated if resize() != RESIZE_NONE. 2012-03-10 Stephen White Unreviewed, rolling out r110358. http://trac.webkit.org/changeset/110358 https://bugs.webkit.org/show_bug.cgi?id=80706 No improvement on specified benchmarks. * dom/ContainerNode.cpp: (WebCore::collectNodes): (WebCore::collectTargetNodes): 2012-03-10 MORITA Hajime ShadowTree uses weak iteration patterns https://bugs.webkit.org/show_bug.cgi?id=80572 Reviewed by Dimitri Glazkov. Patch by Adam Barth. This patch moves various ShadowTree to using a better iteration pattern in which we collect all the ShadowRoots we're planning to iterate into a vector and then iterate over them. * dom/ShadowTree.cpp: (ShadowRootVector): (WebCore::ShadowRootVector::ShadowRootVector): (WebCore): (WebCore::ShadowTree::removeAllShadowRoots): (WebCore::ShadowTree::insertedIntoDocument): (WebCore::ShadowTree::removedFromDocument): (WebCore::ShadowTree::insertedIntoTree): (WebCore::ShadowTree::removedFromTree): (WebCore::ShadowTree::willRemove): 2012-03-10 Sheriff Bot Unreviewed, rolling out r110363. http://trac.webkit.org/changeset/110363 https://bugs.webkit.org/show_bug.cgi?id=80757 link error in chromium: unresolved external symbol webkit_support::CreateScopedTempDirectory(void) (Requested by ukai_home on #webkit). * Modules/indexeddb/IDBLevelDBBackingStore.cpp: (WebCore::IDBLevelDBBackingStore::open): * platform/leveldb/LevelDBDatabase.cpp: * platform/leveldb/LevelDBDatabase.h: (LevelDBDatabase): 2012-03-09 Robert Kroeger Handle more Gesture* events by performing scrolls on the correct target ScrollableArea https://bugs.webkit.org/show_bug.cgi?id=80311 Implement GestureScroll* events via re-use of WheelEvent dispatch. Reviewed by James Robinson. Layout tests previously submited as https://bugs.webkit.org/show_bug.cgi?id=80201 and unit test added as part of this patch. * page/EventHandler.cpp: (WebCore::wheelGranularityToScrollGranularity): Refactoring. (WebCore): (WebCore::scrollNode): (WebCore::EventHandler::EventHandler): (WebCore::EventHandler::clear): (WebCore::EventHandler::handleWheelEvent): (WebCore::EventHandler::defaultWheelEventHandler): (WebCore::EventHandler::handleGestureEvent): Added GestureScrollBegin & End. (WebCore::EventHandler::handleGestureTap): (WebCore::EventHandler::handleGestureScrollUpdate): (WebCore::EventHandler::handleGestureScrollCore): Refactoring. * page/EventHandler.h: (EventHandler): * platform/PlatformWheelEvent.h: Added additional scroll type. * platform/ScrollAnimator.cpp: (WebCore::ScrollAnimator::handleWheelEvent): Forward additional scroll type. * platform/ScrollAnimator.h: (WebCore): * platform/ScrollAnimatorNone.cpp: (WebCore::ScrollAnimatorNone::ScrollAnimatorNone): Handle additional scroll type. (WebCore::ScrollAnimatorNone::fireUpAnAnimation): (WebCore): (WebCore::ScrollAnimatorNone::scroll): * platform/ScrollAnimatorNone.h: (ScrollAnimatorNone): * platform/ScrollTypes.h: Added an additional scroll type. * platform/ScrollableArea.cpp: (WebCore::ScrollableArea::scroll): 2012-03-09 Erik Arvidsson [V8] Fix a fixme in v8 bindings https://bugs.webkit.org/show_bug.cgi?id=80734 Reviewed by Kentaro Hara. No new tests. Covered by existing tests. * bindings/v8/V8Binding.cpp: (WebCore::toInt32): (WebCore::toUInt32): 2012-03-09 Lauro Neto [Qt] WebCore/Target.pri contains obsolete FileStreamProxy.h reference. https://bugs.webkit.org/show_bug.cgi?id=80730 Reviewed by Tor Arne Vestbø. Build fix. Target.pri was still including old FileStreamProxy.h. * Target.pri: 2012-03-05 Cem Kocagil Pan scroll icon is painted at incorrect coordinates in frames https://bugs.webkit.org/show_bug.cgi?id=79378 Convert client coordinates to parent ScrollView coordinates Reviewed by Antonio Gomes * platform/ScrollView.cpp: (WebCore::ScrollView::paintPanScrollIcon): 2012-03-09 Joshua Bell IndexedDB: Handle LevelDB database corruption https://bugs.webkit.org/show_bug.cgi?id=79413 Add LevelDBDatabase::destroy() method so that clients can retry if open() fails. Reviewed by Tony Chang. Test: webkit_unit_tests --gtest_filter='LevelDBDatabaseTest.CorruptionTest' * Modules/indexeddb/IDBLevelDBBackingStore.cpp: Implement open/destroy/open strategy. (WebCore::IDBLevelDBBackingStore::open): * platform/leveldb/LevelDBDatabase.cpp: (WebCore::LevelDBDatabase::destroy): (WebCore): * platform/leveldb/LevelDBDatabase.h: (LevelDBDatabase): 2012-03-09 Jessie Berlin Fix one of the Windows build warnings. * html/track/TextTrackCueList.idl: Add a newline to the end of the file. 2012-03-09 Tyler Abbott BlackBerry PlayBook doesn't sniff mime types https://bugs.webkit.org/show_bug.cgi?id=73869 Reviewed by Rob Buis. Hook up MIMESniffing for BlackBerry. Override Content-Types will not be overriden. File extensions will be trusted when content is loaded from disk. No tests, BlackBerry tests are not yet present in webkit.org codebase. * PlatformBlackBerry.cmake: * platform/network/blackberry/NetworkJob.cpp: (WebCore::NetworkJob::NetworkJob): (WebCore::NetworkJob::initialize): (WebCore::NetworkJob::handleNotifyDataReceived): (WebCore::NetworkJob::sendResponseIfNeeded): * platform/network/blackberry/NetworkJob.h: (NetworkJob): 2012-03-09 Enrica Casucci Move WebNSURLExtras code down to WebCore. https://bugs.webkit.org/show_bug.cgi?id=80611 Reviewed by Alexey Proskuryakov. * WebCore.exp.in: Added new exported functions. * WebCore.xcodeproj/project.pbxproj: Added WebCoreNSURLExtras.* * platform/FileSystem.h: Added setMetadataURL. * platform/mac/FileSystemMac.mm: (WebCore::setMetaData): Added. (WebCore::setMetadataURL): Added. * platform/mac/WebCoreNSStringExtras.h: * platform/mac/WebCoreNSStringExtras.mm: (hasCaseInsensitivePrefix): Added. * platform/mac/WebCoreNSURLExtras.h: Added. * platform/mac/WebCoreNSURLExtras.mm: Added. * platform/mac/WebCoreObjCExtras.h: * platform/mac/WebCoreSystemInterface.h: * platform/mac/WebCoreSystemInterface.mm: 2012-03-09 Tim Dresser [chromium] Increase size of Combo Box Options for touch and high DPI devices https://bugs.webkit.org/show_bug.cgi?id=80027 Reviewed by Darin Fisher. Scale Combo box popups by defaultDeviceScaleFactor, and add padding to