1. 06 Sep, 2012 40 commits
    • weinig@apple.com's avatar
      Part 2 of removing PlatformString.h, remove PlatformString.h · 3f5ab024
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95931
      
      Reviewed by Adam Barth.
      
      Remove PlatformString.h
      
      Source/WebCore:
      
      * GNUmakefile.list.am:
      * Modules/filesystem/AsyncFileWriter.h:
      * Modules/filesystem/DOMFilePath.h:
      * Modules/filesystem/DOMFileSystemBase.h:
      * Modules/filesystem/DirectoryEntry.h:
      * Modules/filesystem/DirectoryEntrySync.h:
      * Modules/filesystem/DirectoryReader.h:
      * Modules/filesystem/DirectoryReaderBase.h:
      * Modules/filesystem/DirectoryReaderSync.h:
      * Modules/filesystem/EntryBase.cpp:
      * Modules/filesystem/EntrySync.h:
      * Modules/filesystem/FileEntrySync.h:
      * Modules/filesystem/FileSystemCallbacks.h:
      * Modules/filesystem/LocalFileSystem.h:
      * Modules/geolocation/GeolocationError.h:
      * Modules/geolocation/Geoposition.h:
      * Modules/geolocation/PositionError.h:
      * Modules/indexeddb/IDBAny.h:
      * Modules/indexeddb/IDBDatabaseBackendInterface.h:
      * Modules/indexeddb/IDBDatabaseCallbacks.h:
      * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
      * Modules/indexeddb/IDBDatabaseError.h:
      * Modules/indexeddb/IDBFactory.h:
      * Modules/indexeddb/IDBFactoryBackendInterface.h:
      * Modules/indexeddb/IDBIndex.h:
      * Modules/indexeddb/IDBIndexBackendInterface.h:
      * Modules/indexeddb/IDBKey.h:
      * Modules/indexeddb/IDBKeyPath.h:
      * Modules/indexeddb/IDBMetadata.h:
      * Modules/indexeddb/IDBObjectStore.h:
      * Modules/indexeddb/IDBObjectStoreBackendInterface.h:
      * Modules/indexeddb/IDBTransactionBackendInterface.h:
      * Modules/indexeddb/IDBUpgradeNeededEvent.h:
      * Modules/indexeddb/IDBVersionChangeEvent.h:
      * Modules/mediastream/MediaStreamTrack.h:
      * Modules/networkinfo/NetworkInfoConnection.h:
      * Modules/notifications/DOMWindowNotifications.h:
      * Modules/speech/SpeechGrammar.h:
      * Modules/speech/SpeechRecognition.h:
      * Modules/speech/SpeechRecognitionAlternative.h:
      * Modules/speech/SpeechRecognitionClient.h:
      * Modules/speech/SpeechRecognitionError.h:
      * Modules/webaudio/AudioContext.cpp:
      * Modules/webaudio/AudioParam.h:
      * Modules/webdatabase/AbstractDatabase.h:
      * Modules/webdatabase/ChangeVersionWrapper.h:
      * Modules/webdatabase/DOMWindowWebDatabase.h:
      * Modules/webdatabase/Database.h:
      * Modules/webdatabase/DatabaseAuthorizer.cpp:
      * Modules/webdatabase/DatabaseAuthorizer.h:
      * Modules/webdatabase/DatabaseDetails.h:
      * Modules/webdatabase/DatabaseSync.h:
      * Modules/webdatabase/DatabaseTask.h:
      * Modules/webdatabase/DatabaseTracker.h:
      * Modules/webdatabase/OriginUsageRecord.h:
      * Modules/webdatabase/SQLError.h:
      * Modules/webdatabase/SQLStatement.h:
      * Modules/webdatabase/SQLStatementSync.h:
      * Modules/webdatabase/SQLTransaction.cpp:
      * Modules/webdatabase/SQLTransactionSync.cpp:
      * Modules/webdatabase/SQLTransactionSync.h:
      * Modules/webdatabase/WorkerContextWebDatabase.h:
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      * Modules/webdatabase/chromium/QuotaTracker.h:
      * Modules/websockets/ThreadableWebSocketChannel.cpp:
      * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
      * Modules/websockets/WebSocketHandshake.h:
      * Modules/websockets/WebSocketHandshakeResponse.h:
      * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
      * Modules/websockets/WorkerThreadableWebSocketChannel.h:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/gobject/ConvertToUTF8String.cpp:
      * bindings/js/JSCSSStyleDeclarationCustom.cpp:
      * bindings/js/JSClipboardCustom.cpp:
      * bindings/js/JSImageDataCustom.cpp:
      * bindings/js/JSInspectorFrontendHostCustom.cpp:
      * bindings/js/JSLazyEventListener.h:
      * bindings/js/JSStorageCustom.cpp:
      * bindings/js/JSXSLTProcessorCustom.cpp:
      * bindings/js/JavaScriptCallFrame.cpp:
      * bindings/js/ScheduledAction.h:
      * bindings/js/ScriptDebugServer.h:
      * bindings/js/ScriptHeapSnapshot.h:
      * bindings/js/ScriptValue.h:
      * bindings/js/SerializedScriptValue.h:
      * bindings/objc/DOMCustomXPathNSResolver.mm:
      * bindings/objc/DOMXPath.mm:
      * bindings/objc/WebScriptObject.mm:
      * bindings/scripts/CodeGeneratorJS.pm:
      (AddIncludesForTypeInImpl):
      (AddIncludesForSVGAnimatedType):
      * bindings/scripts/CodeGeneratorV8.pm:
      (AddIncludesForType):
      * bindings/v8/Dictionary.h:
      * bindings/v8/JavaScriptCallFrame.h:
      * bindings/v8/NPV8Object.cpp:
      * bindings/v8/ScriptDebugServer.h:
      * bindings/v8/ScriptFunctionCall.h:
      * bindings/v8/ScriptHeapSnapshot.h:
      * bindings/v8/ScriptProfile.h:
      * bindings/v8/ScriptProfileNode.h:
      * bindings/v8/ScriptProfiler.h:
      * bindings/v8/ScriptSourceCode.h:
      * bindings/v8/V8Binding.cpp:
      * bindings/v8/V8DOMWrapper.h:
      * bindings/v8/V8LazyEventListener.h:
      * bindings/v8/V8NPUtils.cpp:
      * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
      * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
      * bindings/v8/custom/V8LocationCustom.cpp:
      * bridge/IdentifierRep.cpp:
      * bridge/NP_jsobject.cpp:
      * bridge/c/c_utility.cpp:
      * css/CSSBasicShapes.h:
      * css/CSSBorderImageSliceValue.cpp:
      * css/CSSCharsetRule.h:
      * css/CSSCursorImageValue.cpp:
      * css/CSSFontFaceSrcValue.h:
      * css/CSSGradientValue.cpp:
      * css/CSSInheritedValue.cpp:
      * css/CSSInitialValue.cpp:
      * css/CSSLineBoxContainValue.cpp:
      * css/CSSMediaRule.h:
      * css/CSSProperty.cpp:
      * css/CSSPropertySourceData.cpp:
      * css/CSSPropertySourceData.h:
      * css/CSSReflectValue.cpp:
      * css/CSSTimingFunctionValue.cpp:
      * css/CSSUnicodeRangeValue.cpp:
      * css/CSSValueList.cpp:
      * css/Counter.h:
      * css/FontFeatureValue.h:
      * css/FontValue.cpp:
      * css/MediaQuery.h:
      * css/MediaQueryEvaluator.h:
      * css/MediaQueryListListener.h:
      * css/ShadowValue.cpp:
      * css/StyleMedia.h:
      * css/StyleSheet.h:
      * css/StyleSheetList.cpp:
      * css/WebKitCSSMatrix.h:
      * css/WebKitCSSTransformValue.cpp:
      * dom/DOMStringList.h:
      * dom/DOMStringMap.h:
      * dom/DocumentMarker.h:
      * dom/ErrorEvent.h:
      * dom/ExceptionBase.h:
      * dom/MessagePortChannel.h:
      * dom/MutationRecord.h:
      * dom/TransformSource.h:
      * dom/ViewportArguments.cpp:
      * editing/DOMTransactionStep.h:
      * editing/EditingStyle.h:
      * editing/MarkupAccumulator.h:
      * editing/SmartReplaceICU.cpp:
      * editing/SpellChecker.h:
      * editing/SurroundingText.h:
      * fileapi/AsyncFileStream.cpp:
      * fileapi/Blob.h:
      * fileapi/BlobURL.cpp:
      * fileapi/File.h:
      * history/HistoryItem.h:
      * history/blackberry/HistoryItemViewState.h:
      * history/cf/HistoryPropertyList.h:
      * html/DOMFormData.cpp:
      * html/DOMURL.h:
      * html/MicroDataItemValue.h:
      * html/PublicURLManager.h:
      * html/canvas/CanvasPattern.cpp:
      * html/canvas/CanvasRenderingContext2D.h:
      * html/canvas/CanvasStyle.h:
      * html/canvas/WebGLActiveInfo.h:
      * html/canvas/WebGLGetInfo.h:
      * html/canvas/WebGLRenderingContext.h:
      * html/parser/CSSPreloadScanner.h:
      * html/parser/HTMLEntitySearch.h:
      * html/parser/HTMLEntityTable.h:
      * html/parser/HTMLMetaCharsetParser.cpp:
      * inspector/CodeGeneratorInspector.py:
      (InspectorFrontend_h):
      * inspector/ContentSearchUtils.h:
      * inspector/InjectedScript.cpp:
      * inspector/InjectedScriptBase.cpp:
      * inspector/InjectedScriptManager.h:
      * inspector/InjectedScriptModule.h:
      * inspector/InjectedScriptWebGLModule.h:
      * inspector/InspectorAgent.h:
      * inspector/InspectorCSSAgent.h:
      * inspector/InspectorController.h:
      * inspector/InspectorDOMDebuggerAgent.h:
      * inspector/InspectorDOMStorageAgent.h:
      * inspector/InspectorDatabaseAgent.h:
      * inspector/InspectorDatabaseResource.h:
      * inspector/InspectorFrontendClientLocal.cpp:
      * inspector/InspectorFrontendClientLocal.h:
      * inspector/InspectorFrontendHost.h:
      * inspector/InspectorIndexedDBAgent.h:
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorResourceAgent.h:
      * inspector/InspectorState.h:
      * inspector/InspectorStyleSheet.h:
      * inspector/InspectorStyleTextEditor.h:
      * inspector/InspectorValues.h:
      * inspector/InspectorWebGLAgent.h:
      * inspector/InspectorWorkerResource.h:
      * inspector/ScriptArguments.h:
      * inspector/ScriptBreakpoint.h:
      * inspector/ScriptCallFrame.h:
      * inspector/ScriptDebugListener.h:
      * inspector/TimelineRecordFactory.h:
      * inspector/generate-inspector-protocol-version:
      (main):
      * loader/DocumentLoader.cpp:
      * loader/DocumentWriter.h:
      * loader/FTPDirectoryParser.h:
      * loader/FormState.h:
      * loader/HistoryController.h:
      * loader/PolicyChecker.h:
      * loader/ResourceLoadScheduler.h:
      * loader/SubframeLoader.h:
      * loader/SubstituteData.h:
      * loader/WorkerThreadableLoader.h:
      * loader/appcache/ApplicationCache.h:
      * loader/appcache/ApplicationCacheGroup.h:
      * loader/archive/ArchiveFactory.cpp:
      * loader/archive/ArchiveResourceCollection.h:
      * loader/cache/CachedResource.h:
      * loader/cache/MemoryCache.h:
      * loader/icon/IconRecord.h:
      * loader/icon/PageURLRecord.h:
      * loader/mac/LoaderNSURLExtras.mm:
      * loader/win/DocumentLoaderWin.cpp:
      * page/Console.cpp:
      * page/Coordinates.h:
      * page/DOMSelection.cpp:
      * page/EventSource.cpp:
      * page/GroupSettings.h:
      * page/NavigatorBase.cpp:
      * page/OriginAccessEntry.h:
      * page/Page.h:
      * page/SecurityOrigin.h:
      * page/SpeechInputResult.h:
      * page/UserContentURLPattern.h:
      * page/WindowFeatures.cpp:
      * page/WindowFeatures.h:
      * page/WorkerNavigator.h:
      * page/animation/AnimationControllerPrivate.h:
      * platform/AsyncFileSystem.h:
      * platform/AsyncFileSystemCallbacks.h:
      * platform/ContentType.h:
      * platform/ContextMenu.h:
      * platform/ContextMenuItem.h:
      * platform/Cookie.h:
      * platform/CrossThreadCopier.cpp:
      * platform/DateComponents.cpp:
      * platform/FileChooser.h:
      * platform/FileStream.cpp:
      * platform/FileSystem.h:
      * platform/KURL.cpp:
      (WebCore):
      * platform/KURL.h:
      * platform/KURLHash.h:
      * platform/KillRing.h:
      * platform/Language.cpp:
      * platform/Length.cpp:
      * platform/LinkHash.cpp:
      * platform/Logging.cpp:
      * platform/MIMETypeRegistry.h:
      * platform/SSLKeyGenerator.h:
      * platform/SchemeRegistry.h:
      * platform/SharedBuffer.h:
      * platform/Theme.h:
      * platform/UUID.h:
      * platform/animation/Animation.h:
      * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h:
      * platform/blackberry/CookieManager.h:
      * platform/blackberry/CookieMap.h:
      * platform/blackberry/DragDataBlackBerry.cpp:
      * platform/blackberry/KURLBlackBerry.cpp:
      * platform/blackberry/LocalizedStringsBlackBerry.cpp:
      * platform/blackberry/SSLKeyGeneratorBlackBerry.cpp:
      * platform/blackberry/TemporaryLinkStubs.cpp:
      * platform/cf/FileSystemCF.cpp:
      * platform/cf/SchedulePair.h:
      * platform/chromium/ChromiumDataObject.h:
      * platform/chromium/ClipboardUtilitiesChromium.cpp:
      * platform/chromium/DragDataChromium.cpp:
      * platform/chromium/FileSystemChromium.cpp:
      * platform/chromium/FileSystemChromiumMac.mm:
      * platform/chromium/LanguageChromium.cpp:
      * platform/chromium/SSLKeyGeneratorChromium.cpp:
      * platform/cocoa/KeyEventCocoa.mm:
      * platform/efl/ErrorsEfl.h:
      * platform/efl/LanguageEfl.cpp:
      * platform/efl/LocalizedStringsEfl.cpp:
      * platform/efl/LoggingEfl.cpp:
      * platform/efl/PasteboardEfl.cpp:
      * platform/efl/PlatformScreenEfl.cpp:
      * platform/graphics/ANGLEWebKitBridge.h:
      * platform/graphics/BitmapImage.cpp:
      * platform/graphics/FontPlatformData.cpp:
      * platform/graphics/GlyphPageTreeNode.cpp:
      * platform/graphics/GraphicsContext3D.h:
      * platform/graphics/GraphicsTypes.cpp:
      * platform/graphics/SegmentedFontData.cpp:
      * platform/graphics/blackberry/IconBlackBerry.cpp:
      * platform/graphics/blackberry/LayerData.h:
      * platform/graphics/blackberry/LayerFilterRenderer.cpp:
      * platform/graphics/blackberry/LayerRenderer.cpp:
      * platform/graphics/blackberry/skia/PlatformSupport.h:
      * platform/graphics/ca/PlatformCALayer.h:
      * platform/graphics/ca/PlatformCALayerClient.h:
      * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
      * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
      * platform/graphics/cairo/ImageBufferCairo.cpp:
      * platform/graphics/cairo/PathCairo.cpp:
      * platform/graphics/cg/ImageSourceCGMac.mm:
      * platform/graphics/cg/PathCG.cpp:
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      * platform/graphics/chromium/GraphicsLayerChromium.cpp:
      * platform/graphics/chromium/IconChromium.cpp:
      * platform/graphics/chromium/IconChromiumAndroid.cpp:
      * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
      * platform/graphics/efl/IconEfl.cpp:
      * platform/graphics/filters/FEComposite.h:
      * platform/graphics/filters/FEDisplacementMap.h:
      * platform/graphics/filters/SourceAlpha.cpp:
      * platform/graphics/filters/SourceAlpha.h:
      * platform/graphics/filters/SourceGraphic.cpp:
      * platform/graphics/filters/SourceGraphic.h:
      * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
      * platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
      * platform/graphics/mac/IconMac.mm:
      * platform/graphics/mac/ImageMac.mm:
      * platform/graphics/opentype/OpenTypeUtilities.h:
      * platform/graphics/openvg/PathOpenVG.cpp:
      * platform/graphics/pango/FontPlatformDataPango.cpp:
      * platform/graphics/qt/FontCacheQt.cpp:
      * platform/graphics/qt/FontPlatformDataQt.cpp:
      * platform/graphics/qt/IconQt.cpp:
      * platform/graphics/qt/ImageQt.cpp:
      * platform/graphics/qt/PathQt.cpp:
      * platform/graphics/skia/FontCustomPlatformData.h:
      * platform/graphics/skia/ImageSkia.cpp:
      * platform/graphics/win/FontCustomPlatformData.h:
      * platform/graphics/win/FontPlatformDataCGWin.cpp:
      * platform/graphics/win/FontPlatformDataCairoWin.cpp:
      * platform/graphics/win/FontPlatformDataWin.cpp:
      * platform/graphics/win/IconWin.cpp:
      * platform/graphics/win/ImageCGWin.cpp:
      * platform/graphics/win/ImageCairoWin.cpp:
      * platform/graphics/win/SimpleFontDataCGWin.cpp:
      * platform/graphics/wince/FontCustomPlatformData.h:
      * platform/graphics/wince/FontPlatformData.cpp:
      * platform/graphics/wince/ImageWinCE.cpp:
      * platform/graphics/wince/MediaPlayerProxy.cpp:
      * platform/graphics/wince/PathWinCE.cpp:
      * platform/graphics/wince/PlatformPathWinCE.cpp:
      * platform/graphics/wx/FontCacheWx.cpp:
      * platform/graphics/wx/FontPlatformDataWx.cpp:
      * platform/graphics/wx/IconWx.cpp:
      * platform/graphics/wx/PathWx.cpp:
      * platform/gtk/ErrorsGtk.h:
      * platform/gtk/FileSystemGtk.cpp:
      * platform/gtk/GtkPopupMenu.h:
      * platform/gtk/KeyBindingTranslator.h:
      * platform/gtk/LanguageGtk.cpp:
      * platform/gtk/LocalizedStringsGtk.cpp:
      * platform/gtk/LoggingGtk.cpp:
      * platform/gtk/PasteboardGtk.cpp:
      * platform/image-decoders/ImageDecoder.h:
      * platform/leveldb/LevelDBSlice.h:
      * platform/mac/FileSystemMac.mm:
      * platform/mediastream/MediaStreamSource.h:
      * platform/mock/GeolocationClientMock.h:
      * platform/network/BlobData.h:
      * platform/network/BlobRegistryImpl.h:
      * platform/network/BlobResourceHandle.h:
      * platform/network/Credential.h:
      * platform/network/FormData.h:
      * platform/network/FormDataBuilder.h:
      * platform/network/HTTPParsers.cpp:
      * platform/network/HTTPRequest.h:
      * platform/network/HTTPValidation.cpp:
      * platform/network/ProtectionSpace.h:
      * platform/network/ResourceErrorBase.h:
      * platform/network/SocketStreamErrorBase.h:
      * platform/network/blackberry/DNSBlackBerry.cpp:
      * platform/network/blackberry/DeferredData.h:
      * platform/network/blackberry/NetworkJob.h:
      * platform/network/cf/CookieJarCFNet.cpp:
      * platform/network/curl/CookieJarCurl.cpp:
      * platform/network/curl/ResourceHandleManager.h:
      * platform/network/qt/DnsPrefetchHelper.cpp:
      * platform/network/soup/ResourceRequestSoup.cpp:
      * platform/network/soup/ResourceResponseSoup.cpp:
      * platform/network/win/CookieJarWin.cpp:
      * platform/posix/FileSystemPOSIX.cpp:
      * platform/qt/ClipboardQt.cpp:
      * platform/qt/CookieJarQt.cpp:
      * platform/qt/FileSystemQt.cpp:
      * platform/qt/LanguageQt.cpp:
      * platform/qt/LocalizedStringsQt.cpp:
      * platform/qt/LoggingQt.cpp:
      * platform/qt/PlatformSupport.h:
      * platform/sql/SQLValue.h:
      * platform/sql/SQLiteDatabase.h:
      * platform/sql/SQLiteFileSystem.h:
      * platform/text/DecodeEscapeSequences.h:
      * platform/text/LineEnding.cpp:
      * platform/text/ParserUtilities.h:
      * platform/text/PlatformString.h: Removed.
      * platform/text/RegularExpression.h:
      * platform/text/SegmentedString.h:
      * platform/text/StringWithDirection.h:
      * platform/text/SuffixTree.h:
      * platform/text/TextBreakIteratorICU.cpp:
      * platform/text/TextCodec.cpp:
      * platform/text/TextCodec.h:
      * platform/text/TextCodecLatin1.cpp:
      * platform/text/TextCodecUTF16.cpp:
      * platform/text/TextCodecUserDefined.cpp:
      * platform/text/TextEncoding.cpp:
      * platform/text/blackberry/StringBlackBerry.cpp:
      * platform/text/cf/StringCF.cpp:
      * platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp:
      * platform/text/gtk/TextCodecGtk.cpp:
      * platform/text/mac/StringMac.mm:
      * platform/text/mac/TextCodecMac.cpp:
      * platform/text/qt/TextCodecQt.cpp:
      * platform/text/win/TextCodecWin.h:
      * platform/text/wince/TextBreakIteratorWinCE.cpp:
      * platform/win/BString.cpp:
      * platform/win/DragDataWin.cpp:
      * platform/win/GDIObjectCounter.h:
      * platform/win/LoggingWin.cpp:
      * platform/win/WCDataObject.cpp:
      * platform/wince/DragDataWinCE.cpp:
      * platform/wx/ClipboardWx.cpp:
      * platform/wx/FileSystemWx.cpp:
      * platform/wx/LanguageWx.cpp:
      * platform/wx/LocalizedStringsWx.cpp:
      * platform/wx/LoggingWx.cpp:
      * platform/wx/PasteboardWx.cpp:
      * platform/wx/PopupMenuWx.cpp:
      * plugins/PluginData.h:
      * plugins/PluginDatabase.h:
      * plugins/PluginDebug.cpp:
      * plugins/PluginPackage.h:
      * plugins/PluginStream.h:
      * rendering/style/StyleDashboardRegion.h:
      * storage/Storage.cpp:
      * storage/StorageArea.h:
      * storage/StorageEvent.h:
      * storage/StorageEventDispatcher.h:
      * storage/StorageMap.h:
      * storage/StorageNamespace.h:
      * storage/StorageNamespaceImpl.h:
      * storage/StorageSyncManager.h:
      * storage/StorageTask.h:
      * storage/StorageTracker.h:
      * svg/SVGPathByteStreamBuilder.h:
      * svg/SVGPathParser.h:
      * svg/SVGPathStringSource.h:
      * svg/SVGStyledElement.cpp:
      * svg/animation/SMILTimeContainer.h:
      * svg/graphics/filters/SVGFilterBuilder.cpp:
      * svg/graphics/filters/SVGFilterBuilder.h:
      * testing/Internals.h:
      * workers/DefaultSharedWorkerRepository.cpp:
      * workers/WorkerLocation.cpp:
      * workers/WorkerThread.cpp:
      * xml/DOMParser.cpp:
      * xml/NativeXPathNSResolver.cpp:
      * xml/XMLSerializer.cpp:
      * xml/XMLSerializer.h:
      * xml/XPathExpression.cpp:
      * xml/XPathValue.h:
      * xml/XSLTUnicodeSort.cpp:
      
      Source/WebKit/blackberry:
      
      * Api/DumpRenderTreeClient.h:
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      * WebCoreSupport/InspectorClientBlackBerry.h:
      * WebCoreSupport/JavaScriptDebuggerBlackBerry.cpp:
      * WebKitSupport/AboutData.h:
      
      Source/WebKit/cf:
      
      * WebCoreSupport/WebInspectorClientCF.cpp:
      (WebInspectorClient::createFrontendSettings):
      
      Source/WebKit/chromium:
      
      * src/ContextMenuClientImpl.cpp:
      * src/EditorClientImpl.cpp:
      * src/InspectorFrontendClientImpl.cpp:
      * src/LocalFileSystemChromium.cpp:
      * src/SpeechInputClientImpl.cpp:
      * src/SpeechRecognitionClientProxy.h:
      * src/WebDevToolsAgentImpl.cpp:
      * src/WebDevToolsFrontendImpl.cpp:
      * src/WebDevToolsFrontendImpl.h:
      * src/WebEntities.h:
      * src/WebFrameImpl.h:
      * src/WorkerFileSystemCallbacksBridge.h:
      * tests/UniscribeHelperTest.cpp:
      
      Source/WebKit/efl:
      
      * WebCoreSupport/ChromeClientEfl.cpp:
      * WebCoreSupport/InspectorClientEfl.cpp:
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/ChromeClientGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/InspectorClientGtk.cpp:
      * gdom/ConvertToGCharPrivate.h:
      * webkit/webkitsecurityorigin.cpp:
      * webkit/webkitwebdatasource.cpp:
      * webkit/webkitwebhistoryitem.cpp:
      * webkit/webkitwebresource.cpp:
      
      Source/WebKit/mac:
      
      * History/WebHistoryItem.mm:
      * Misc/WebStringTruncator.mm:
      * Plugins/Hosted/NetscapePluginHostManager.h:
      (NetscapePluginHostManager):
      * Plugins/WebPluginController.mm:
      * Storage/WebStorageTrackerClient.mm:
      * WebCoreSupport/WebChromeClient.mm:
      * WebCoreSupport/WebEditorClient.mm:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      * WebCoreSupport/WebIconDatabaseClient.mm:
      * WebCoreSupport/WebInspectorClient.h:
      (WebInspectorClient):
      (WebInspectorFrontendClient):
      * WebView/WebRenderLayer.mm:
      * WebView/WebViewData.h:
      
      Source/WebKit/qt:
      
      * Api/qwebdatabase_p.h:
      * Api/qwebframe_p.h:
      * Api/qwebhistory.cpp:
      * Api/qwebhistoryinterface.cpp:
      * Api/qwebpage_p.h:
      * Api/qwebsettings.cpp:
      * WebCoreSupport/ChromeClientQt.h:
      * WebCoreSupport/InspectorClientQt.cpp:
      
      Source/WebKit/win:
      
      * DOMCSSClasses.cpp:
      * DefaultPolicyDelegate.cpp:
      * MarshallingHelpers.cpp:
      * WebCoreSupport/WebInspectorClient.h:
      * WebDownload.h:
      * WebFrame.h:
      * WebHistoryItem.h:
      * WebIconDatabase.cpp:
      * WebKitDLL.h:
      * WebKitGraphics.cpp:
      * WebKitSystemBits.cpp:
      * WebLocalizableStrings.cpp:
      * WebNotificationCenter.cpp:
      * WebResource.h:
      
      Source/WebKit/wx:
      
      * WebFrame.cpp:
      * WebKitSupport/ChromeClientWx.cpp:
      * WebKitSupport/EditorClientWx.cpp:
      * WebKitSupport/FrameLoaderClientWx.cpp:
      * WebKitSupport/InspectorClientWx.cpp:
      * WebSettings.cpp:
      * WebView.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f5ab024
    • danakj@chromium.org's avatar
      [chromium] Add a customized copy() method to CCRenderPassDrawQuad · 7f5b243a
      danakj@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95871
      
      Reviewed by Adrienne Walker.
      
      Source/WebCore:
      
      CCRenderPassDrawQuad is special because a copied quad will need to
      point to a different RenderPass id, since new ids are given to copied
      RenderPasses. Add a custom copy() method to CCRenderPassDrawQuad that
      takes as input the new RenderPass id that should appear in the copied
      quad.
      
      Test: CCDrawQuad.copyRenderPassDrawQuad
      
      * platform/graphics/chromium/cc/CCDrawQuad.cpp:
      (WebCore::CCDrawQuad::copy):
      * platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
      (WebCore::CCRenderPassDrawQuad::copy):
      (WebCore):
      * platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
      (CCRenderPassDrawQuad):
      
      Source/WebKit/chromium:
      
      * tests/CCDrawQuadTest.cpp:
      (WebCore):
      (WebCore::TEST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f5b243a
    • commit-queue@webkit.org's avatar
      gradient-with-scaled-ancestor.html is not calling setDeviceScaleFactor · d4494fc8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95847
      
      Patch by Alex Sakhartchouk <alexst@chromium.org> on 2012-09-06
      Reviewed by Beth Dakin.
      
      Setting the device scale factor in the layout test and updating expectations until we can rebase
      
      * fast/hidpi/gradient-with-scaled-ancestor.html:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4494fc8
    • ap@apple.com's avatar
      [WK2] Annotate multi-process FIXMEs with bug numbers · 078f2966
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=95916
      
              Reviewed by Eric Carlson.
      
              * UIProcess/WebContext.cpp:
              (WebKit::WebContext::setProcessModel): Ensure that plug-in process is enabled.
              Comments in WebPluginSiteDataManager said that it's required for multi-process.
              (WebKit::WebContext::createNewWebProcess): Added a bug number.
              (WebKit::WebContext::disconnectProcess): Ditto.
              (WebKit::WebContext::createWebPage): Ditto.
              (WebKit::WebContext::download): Ditto.
              (WebKit::WebContext::getWebCoreStatistics): Ditto.
      
              * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
              (WebKit::WebPluginSiteDataManager::getSitesWithData):
              (WebKit::WebPluginSiteDataManager::clearSiteData):
              Removed FIXMEs - some ports haven't switched to plugin process yet, but that
              doesn't stop others from having a multi-process model. Added an ASSERT to document
              this requirement (in addition to the check in WebContext).
      
              * UIProcess/Downloads/DownloadProxy.cpp:
              (WebKit::DownloadProxy::cancel):
              (WebKit::DownloadProxy::didReceiveAuthenticationChallenge):
              (WebKit::DownloadProxy::startTransfer):
              * UIProcess/WebApplicationCacheManagerProxy.cpp:
              (WebKit::WebApplicationCacheManagerProxy::getApplicationCacheOrigins):
              (WebKit::WebApplicationCacheManagerProxy::deleteEntriesForOrigin):
              (WebKit::WebApplicationCacheManagerProxy::deleteAllEntries):
              * UIProcess/WebCookieManagerProxy.cpp:
              (WebKit::WebCookieManagerProxy::getHostnamesWithCookies):
              (WebKit::WebCookieManagerProxy::getHTTPCookieAcceptPolicy):
              * UIProcess/WebDatabaseManagerProxy.cpp:
              (WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin):
              (WebKit::WebDatabaseManagerProxy::getDatabaseOrigins):
              (WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin):
              (WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin):
              (WebKit::WebDatabaseManagerProxy::deleteAllDatabases):
              (WebKit::WebDatabaseManagerProxy::setQuotaForOrigin):
              * UIProcess/WebIconDatabase.cpp:
              (WebKit::WebIconDatabase::getLoadDecisionForIconURL):
              (WebKit::WebIconDatabase::didFinishURLImport):
              * UIProcess/WebKeyValueStorageManagerProxy.cpp:
              (WebKit::WebKeyValueStorageManagerProxy::getKeyValueStorageOrigins):
              (WebKit::WebKeyValueStorageManagerProxy::deleteEntriesForOrigin):
              (WebKit::WebKeyValueStorageManagerProxy::deleteAllEntries):
              * UIProcess/WebMediaCacheManagerProxy.cpp:
              (WebKit::WebMediaCacheManagerProxy::getHostnamesWithMediaCache):
              * UIProcess/WebResourceCacheManagerProxy.cpp:
              (WebKit::WebResourceCacheManagerProxy::getCacheOrigins):
              (WebKit::WebResourceCacheManagerProxy::clearCacheForOrigin):
              (WebKit::WebResourceCacheManagerProxy::clearCacheForAllOrigins):
              Added bug numbers.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      078f2966
    • msaboff@apple.com's avatar
      WebKit2 IPC always sends strings using 16 bit data format · 478d5f1f
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95811
      
      Reviewed by Benjamin Poulain.
      
      Changed string encoding to pass an 8bit flag and then send either 8 or 16 bit
      character data.
      
      * Platform/CoreIPC/ArgumentCoders.cpp:
      (CoreIPC::::encode):
      (CoreIPC::decodeStringText): New templatized string creation and decoder method.
      (CoreIPC::::decode):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      478d5f1f
    • commit-queue@webkit.org's avatar
      Remove extraneous includes (HTMLElement, SVGElement, GlyphBuffer, Clipboard) · 26e97944
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95780
      
      Patch by Nikhil Bhargava <nbhargava@google.com> on 2012-09-06
      Reviewed by Eric Seidel.
      
      Removes extraneous includes of type HTMLElement, SVGElement, GlyphBuffer,
      and Clipboard. There is a minor compile-time performance boost.
      
      * Modules/mediastream/MediaStreamEvent.h:
      * dom/Event.cpp:
      * dom/Event.h:
      (WebCore):
      * dom/EventDispatchMediator.cpp:
      * dom/EventListenerMap.cpp:
      * dom/MouseRelatedEvent.h:
      * dom/UIEvent.cpp:
      * html/FormAssociatedElement.h:
      (WebCore):
      * inspector/TimelineRecordFactory.cpp:
      * platform/graphics/FontPlatformData.h:
      * rendering/RenderLineBoxList.h:
      * rendering/style/RenderStyle.h:
      (WebCore):
      * svg/SVGAnimatedType.h:
      * svg/SVGExternalResourcesRequired.cpp:
      * svg/SVGExternalResourcesRequired.h:
      (WebCore):
      * svg/SVGURIReference.h:
      (WebCore):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26e97944
    • mitz@apple.com's avatar
      REGRESSION(r127712): It broke http/tests/xmlhttprequest/basic-auth.html on JSC platforms · cddaeac9
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95972
      
      Source/WebCore: 
      
      Reverted r127712, because it was based on the false premise that “[Optional] works the way
      XMLHttpRequest expects”.
      
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      (WebCore::JSXMLHttpRequest::open):
      * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
      (WebCore::V8XMLHttpRequest::openCallback):
      (WebCore):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::open):
      (WebCore):
      * xml/XMLHttpRequest.h:
      (XMLHttpRequest):
      * xml/XMLHttpRequest.idl:
      
      LayoutTests: 
      
      Removed the failing test from the skipped list.
      
      * platform/qt/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cddaeac9
    • carlosgc@webkit.org's avatar
      [GTK] [WK2] Crash when navigating between pages · aaf2db1e
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95949
      
      Reviewed by Martin Robinson.
      
      Do not trust isMainResource parameter in
      webkitWebViewResourceLoadStarted(), because it's always true for
      all subresources of pages loaded from the history cache. We can
      simply assume that the first resource loaded for the main frame
      is the main web view resource.
      
      * UIProcess/API/gtk/WebKitResourceLoadClient.cpp:
      (didInitiateLoadForResource):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkitWebViewResourceLoadStarted):
      * UIProcess/API/gtk/WebKitWebViewPrivate.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aaf2db1e
    • carlosgc@webkit.org's avatar
      [GTK] Add API to get/set the security policy of a given URI scheme · 28d21bcb
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95549
      
      Reviewed by Martin Robinson.
      
      Add WebKitSecurityPolicy enum with flags that represent the
      security policy of a URI scheme. Add methods to get and set the
      security policy flags for a given URI scheme.
      
      * docs/webkitgtk-sections.txt: Add new symbols.
      * tests/testglobals.c:
      (test_globals_security_policy):
      (main):
      * webkit/webkitglobals.cpp:
      (webkit_set_security_policy_for_uri_scheme):
      (webkit_get_security_policy_for_uri_scheme):
      * webkit/webkitglobals.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28d21bcb
    • keishi@webkit.org's avatar
      Use native function bind in page popups · 6ebc0c09
      keishi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95976
      
      Reviewed by Kent Tamura.
      
      We should be using Function.prototype.bind instead of our own bind implementation.
      
      No new tests. No behavior change.
      
      * Resources/pagepopups/calendarPicker.js:
      (CalendarPicker):
      (CalendarPicker.prototype._layoutButtons):
      (YearMonthController.prototype.attachTo):
      (YearMonthController.prototype._attachLeftButtonsTo):
      (YearMonthController.prototype._attachRightButtonsTo):
      (DaysTable.prototype.attachTo):
      * Resources/pagepopups/colorSuggestionPicker.js:
      (ColorPicker):
      (ColorPicker.prototype._layout):
      * Resources/pagepopups/pickerCommon.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ebc0c09
    • abecsi@webkit.org's avatar
      [ANGLE] Fix the build with gcc 4.7 · 08cc80d9
      abecsi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95989
      
      Reviewed by Csaba Osztrogonác.
      
      The build fails because of a bogus warning about the auto-generated
      pplval variable. Unfortunately the warning is called -Wuninitialized
      in gcc 4.6 and -Wmaybe-uninitialized in gcc 4.7 thus we also need to
      ignore unknown pragmas not to break the build with compilers that do
      not recognize these options.
      
      * src/compiler/preprocessor/new/ExpressionParser.y:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08cc80d9
    • commit-queue@webkit.org's avatar
      Web Inspector: Timeline: cache "filteredRecords" for better scrolling performance. · 0145ec92
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95731
      
      Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-09-06
      Reviewed by Yury Semikhatsky.
      
      Now scrolling is sluggish on large datasets.
      Performance degrades, because each refresh causes DFS on all recorded items.
      Solution: caching/invalidation of DFS (filtering) results.
      
      Also fixed "truncate selected record range on mode change" glitch.
      
      * inspector/front-end/TimelinePanel.js:
      (WebInspector.TimelinePanel):
      (WebInspector.TimelinePanel.prototype._scheduleRefresh):
      Add flag for cache invalidation.
      * inspector/front-end/TimelinePresentationModel.js:
      (WebInspector.TimelinePresentationModel.prototype.invalidateFilteredRecords):
      Added.
      (WebInspector.TimelinePresentationModel.prototype.filteredRecords):
      Caching/using cached results.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0145ec92
    • kbalazs@webkit.org's avatar
      [WK2] Crash in WebPageProxy::showPopupMenu if PageClient does not implement createPopupMenuProxy · e4e62b89
      kbalazs@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95862
      
      Reviewed by Simon Hausmann.
      
      Bail out early if the PageClient does not create a PopupMenuProxy for us.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::showPopupMenu):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4e62b89
    • commit-queue@webkit.org's avatar
      [EFL] Gardening after r127728, r127534 · 7ec5885a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95975
      
      Unreviewed gardening.
      
      Following tests were added to TestExpectations:
      http/tests/xmlhttprequest/basic-auth.html fails after r127728.
      fast/innerHTML/innerHTML-iframe.html fails after r127534.
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-09-06
      
      * platform/efl/fast/innerHTML/innerHTML-iframe-expected.txt: Removed.
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ec5885a
    • loislo@chromium.org's avatar
      Unreviewed rebaseline for Web Inspector NMI test. It was broken at r127738. · 1cdabca2
      loislo@chromium.org authored
      * inspector/profiler/memory-instrumentation-cached-images-expected.txt:
      * inspector/profiler/memory-instrumentation-cached-images.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cdabca2
    • commit-queue@webkit.org's avatar
      [Qt] Fix build on Mac OS X 10.6 · 7d663152
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95200
      
      Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-06
      Reviewed by Tor Arne Vestbø.
      
      The build on Mac OS X 10.6 is broken when using QuickTime. Enable it only for
      10.7 and newer.
      
      * qmake/mkspecs/features/features.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d663152
    • loislo@chromium.org's avatar
      Unreviewed Web Inspector: test fix. · 948cd4c8
      loislo@chromium.org authored
      * tests/MemoryInstrumentationTest.cpp:
      (StringOwnerInstrumented):
      (WebCore::StringOwnerInstrumented::StringOwnerInstrumented):
      (WebCore::StringOwnerInstrumented::reportMemoryUsage):
      (WebCore):
      (WebCore::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      948cd4c8
    • commit-queue@webkit.org's avatar
      [EFL] Remove unnecessary logic in ewk_frame_source_get. · 4cb9ee3d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95828
      
      Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-06
      Reviewed by Kenneth Rohde Christiansen.
      
      Removed unnecessary logic that checks if <html> tag exists in document.
      WebKit automatically fill out <html></html> tags if they are not existed.
      
      * ewk/ewk_frame.cpp:
      (ewk_frame_source_get):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cb9ee3d
    • commit-queue@webkit.org's avatar
      [WKTR] addSelectionKey should be mapped to "Control" modifiers on other OSes than Mac · 9b759f9b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95973
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-06
      Reviewed by Kenneth Rohde Christiansen.
      
      Tools:
      
      Correctly map "addSelectionKey" to "Control" modifier
      in WKTR's EventSender on other OSes than Mac OS X,
      instead of mapping it to the "Meta" modifier.
      
      * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
      (WTR::parseModifier):
      
      LayoutTests:
      
      Unskip several test cases that are passing on WebKit2
      now that "addSelectionKey" is properly mapped to
      "Control" modifier on other OSes than Mac OS X, in
      WKTR's EventSender.
      
      * platform/efl-wk2/TestExpectations:
      * platform/gtk-wk2/Skipped:
      * platform/win-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b759f9b
    • loislo@chromium.org's avatar
      Web Inspector: NMI: switch to hierarchical identifiers of MemoryBlockTypes and... · 2a98856e
      loislo@chromium.org authored
      Web Inspector: NMI: switch to hierarchical identifiers of MemoryBlockTypes and use these identifiers in protocol.
      https://bugs.webkit.org/show_bug.cgi?id=95957
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      Now when we use string identifiers as MemoryObjectType we can use them as the identifiers for the protocol
      instead of MemoryBlockNames hardcoded in InspectorMemoryAgent..
      At a later stage, when each type of memory will be counted in MemoryInstrumentation
      we will build the blocks hierarchy for the front-end automatically.
      
      * dom/MemoryInstrumentation.cpp:
      (WebCore):
      * dom/MemoryInstrumentation.h:
      (GenericMemoryTypes):
      (WebCore::MemoryInstrumentation::addRootObject):
      (WebCore::MemoryObjectInfo::reportObjectInfo):
      (WebCoreMemoryTypes):
      * inspector/InspectorMemoryAgent.cpp:
      (MemoryBlockName):
      (WebCore):
      * inspector/MemoryInstrumentationImpl.cpp:
      (WebCore::MemoryInstrumentationImpl::countObjectSize):
      * inspector/front-end/NativeMemorySnapshotView.js:
      (WebInspector.MemoryBlockViewProperties._initialize):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::reportMemoryUsage):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::reportMemoryUsage):
      * loader/cache/CachedResourceHandle.cpp:
      (WebCore::CachedResourceHandleBase::reportMemoryUsage):
      * platform/SharedBuffer.cpp:
      (WebCore::SharedBuffer::reportMemoryUsage):
      
      Source/WebKit/chromium:
      
      Now when we use string identifiers as MemoryObjectType we can use them as the identifiers for the protocol
      instead of MemoryBlockNames hardcoded in InspectorMemoryAgent..
      At a later stage, when each memory type is counted in MemoryInstrumentation
      we will build the blocks hierarchy for the front-end automatically.
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::InstrumentedUndefined::InstrumentedUndefined):
      (WebCore::InstrumentedUndefined::reportMemoryUsage):
      (WebCore::InstrumentedDOM::InstrumentedDOM):
      (WebCore::InstrumentedDOM::reportMemoryUsage):
      (InstrumentedDOM):
      (WebCore::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a98856e
    • commit-queue@webkit.org's avatar
      CSS 3 'overflow-wrap' property implementation · a1db8488
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=94475
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-09-06
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      Added 'overflow-wrap' property implementation according to
      http://www.w3.org/TR/2012/WD-css3-text-20120814/#overflow-wrap.
      The specification declares that 'word-wrap' as a shorthand
      for the 'overflow-wrap' property. So what was basically done
      is declaring of new 'overflow-wrap' property and renaming
      of the internal data structures from 'WordWrap' to 'OverflowWrap'.
      Both 'overflow-wrap' and 'word-wrap' properties share the same
      handlers and thus have the same behaviour.
      
      Test: fast/text/overflow-wrap.html
      
      * WebCore.order: Rename exported setWordWrap to setOverflowWrap.
      * css/CSSComputedStyleDeclaration.cpp:  Add CSSPropertyOverflowWrap to computedProperties.
      (WebCore):
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp: Validation for the 'overflow-wrap' property.
      (WebCore::isValidKeywordPropertyAndValue):
      (WebCore::isKeywordPropertyID):
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator EOverflowWrap):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty): CSSPropertyOverflowWrap is inherited.
      * css/CSSPropertyNames.in: Declare new 'overflow-wrap' property.
      * css/StyleBuilder.cpp: Assign property handler (same as for 'word-wrap').
      (WebCore::StyleBuilder::StyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectMatchingRulesForList): Renaming.
      * rendering/RenderTextControl.cpp: Ditto.
      (WebCore::RenderTextControl::computeLogicalHeight):
      * rendering/RenderTextControlSingleLine.cpp: Ditto.
      (WebCore::RenderTextControlSingleLine::createInnerTextStyle):
      * rendering/style/RenderStyle.cpp: Ditto.
      (WebCore::RenderStyle::diff):
      * rendering/style/RenderStyle.h: Ditto.
      * rendering/style/RenderStyleConstants.h: Ditto.
      * rendering/style/StyleRareInheritedData.cpp: Ditto.
      (WebCore::StyleRareInheritedData::StyleRareInheritedData):
      (WebCore::StyleRareInheritedData::operator==):
      * rendering/style/StyleRareInheritedData.h: Ditto.
      (StyleRareInheritedData):
      
      LayoutTests:
      
      Added 'overflow-wrap' property implementation according to
      http://www.w3.org/TR/2012/WD-css3-text-20120814/#overflow-wrap.
      New ref-test is added to check the simularity
      in behaviour of 'overflow-wrap' and 'word-wrap' properties.
      
      * fast/text/overflow-wrap-expected.html: Added.
      * fast/text/overflow-wrap.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1db8488
    • anilsson@rim.com's avatar
      [BlackBerry] Always log shader compilation failure · 048abc13
      anilsson@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95948
      
      Reviewed by George Staikos.
      
      Also add shader source to the logs. In addition, don't bail on the
      first failure, run through all shaders so we get a complete set of
      logs.
      
      No new tests: no change in functionality.
      
      * platform/graphics/blackberry/LayerRenderer.cpp:
      (WebCore::LayerRenderer::loadShader):
      (WebCore::LayerRenderer::initializeSharedGLObjects):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      048abc13
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Update TestExpectations for fast/events/tab-focus-link-in-canvas.html · d30dd6e5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95970
      
      Unreviewed EFL gardening.
      
      Update WK2-EFL TestExpectations to add bug number for:
      fast/events/tab-focus-link-in-canvas.html
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-06
      
      * platform/efl-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d30dd6e5
    • kbalazs@webkit.org's avatar
      [nrwt] Harden against empty stdout/stderr after stopping a crashed/timed out driver · 6053507f
      kbalazs@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95710
      
      Reviewed by Dirk Pranke.
      
      The stdout / stderr output can be None so make sure
      we won't raise an exception in this case.
      
      * Scripts/webkitpy/layout_tests/port/driver.py:
      (Driver.run_test):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6053507f
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Provide implementation for WebPage::performDefaultBehaviorForKeyEvent() · 7bd9b88e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95943
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-06
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit2:
      
      Provide implementation for WebPage::performDefaultBehaviorForKeyEvent()
      in EFL WK2.
      
      * WebProcess/WebPage/efl/WebPageEfl.cpp:
      (WebKit::WebPage::performDefaultBehaviorForKeyEvent):
      
      LayoutTests:
      
      Unskip several test cases that are passing now that EFL WK2
      has a proper implementation for
      WebPage::performDefaultBehaviorForKeyEvent().
      
      * platform/efl-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bd9b88e
    • paroga@webkit.org's avatar
      Remove String::operator+=() from windows platform code · 340c579c
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95904
      
      Reviewed by Benjamin Poulain.
      
      Use StringBuilder and operator+() to concatenate strings instead of operator+=().
      
      Source/WebCore:
      
      * platform/win/ClipboardWin.cpp:
      (WebCore::filesystemPathFromUrlOrTitle):
      
      Source/WebKit/win:
      
      * AccessibleBase.cpp:
      (AccessibleBase::get_accKeyboardShortcut):
      * WebDownload.cpp:
      (WebDownload::bundlePathForTargetPath):
      * WebView.cpp:
      (imeCompositionArgumentNames):
      
      Source/WebKit2:
      
      * UIProcess/win/WebView.cpp:
      (WebKit::imeCompositionArgumentNames):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      340c579c
    • commit-queue@webkit.org's avatar
      [CMake] Add notifications path to the WebKit2/CMakeLists.txt · da44dac1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95843
      
      Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-09-06
      Reviewed by Laszlo Gombos.
      
      Add WebCore/Modules/Notifications to the WebKit2_INCLUDE_DIRECTORIES of WebKit2/CMakeLists.txt.
      There are some build errors when ENABLE_NOTIFICATIONS feature is enabled.
      
      * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da44dac1
    • mikelawther@chromium.org's avatar
      Rewrite zooming test to no longer output pixel numbers · c72a29b7
      mikelawther@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95922
      
      Reviewed by Dan Bernstein.
      
      The original version of this test output pixel sizes, which had different results on
      different ports. The test has been rewritten to suppress the pixel size output.
      
      * css3/calc/zoom-with-em-expected.txt:
      * css3/calc/zoom-with-em.html:
      * platform/chromium/css3/calc/zoom-with-em-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c72a29b7
    • commit-queue@webkit.org's avatar
      [EFL] Sanitize URLs in EWebLauncher / Minibrowser · c770bb27
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95849
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-06
      Reviewed by Kenneth Rohde Christiansen.
      
      Sanitize URLs passed by the user as program
      argument or typed in the URL bar in order to
      be more tolerant.
      
      * EWebLauncher/CMakeLists.txt:
      * EWebLauncher/main.c:
      (main):
      * EWebLauncher/url_bar.c:
      (_url_bar_url_get_with_protocol):
      (on_urlbar_key_down):
      * EWebLauncher/url_utils.c: Added.
      (has_scheme):
      (url_from_user_input): Add utility function to construct a
      URL from user input.
      * EWebLauncher/url_utils.h: Added.
      * MiniBrowser/efl/CMakeLists.txt:
      * MiniBrowser/efl/main.c:
      (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c770bb27
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening, skip one more failing test, · e7204fe1
      ossy@webkit.org authored
      because we like regressions in the trunk. :)
      
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7204fe1
    • keishi@webkit.org's avatar
      Refactor CalendarPicker to not use global variables. · ad9032cc
      keishi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95830
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Introduce CalendarPicker so we can have multiple Pickers in one page
      popup in the future.
      
      No new tests. No behavior change.
      
      * Resources/pagepopups/calendarPicker.js:
      (initialize):
      (resetMain):
      (openCalendarPicker):
      (CalendarPicker):
      (CalendarPicker.prototype._layout):
      (CalendarPicker.prototype.handleToday):
      (CalendarPicker.prototype.handleClear):
      (CalendarPicker.prototype.fixWindowSize):
      (CalendarPicker.prototype._layoutButtons):
      (YearMonthController):
      (YearMonthController.prototype.attachTo):
      (YearMonthController.prototype._redraw):
      (YearMonthController.prototype._handleYearMonthChange):
      (YearMonthController.prototype.moveRelatively):
      (DaysTable):
      (DaysTable.prototype.attachTo):
      (CalendarPicker.prototype.stepMismatch):
      (CalendarPicker.prototype.outOfRange):
      (CalendarPicker.prototype.isValidDate):
      (DaysTable.prototype._renderMonth):
      (DaysTable.prototype._navigateToMonth):
      (DaysTable.prototype._maybeSetPreviousMonth):
      (DaysTable.prototype._maybeSetNextMonth):
      (DaysTable.prototype._handleDayClick):
      (DaysTable.prototype._handleKey):
      (CalendarPicker.prototype._handleBodyKeyDown):
      * Resources/pagepopups/colorSuggestionPicker.js:
      (ColorPicker):
      (ColorPicker.prototype._layout):
      (ColorPicker.prototype._handleKeyDown):
      (ColorPicker.prototype._handleSwatchClick):
      * Resources/pagepopups/pickerCommon.js:
      (Picker):
      (Picker.prototype.submitValue):
      (Picker.prototype.handleCancel):
      (Picker.prototype.chooseOtherColor):
      
      LayoutTests:
      
      * fast/forms/date/calendar-picker-appearance-pre-100.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad9032cc
    • hausmann@webkit.org's avatar
      [Qt] Various small Windows / MSVC build fixes · cd603beb
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95934
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit2:
      
      * Shared/LayerTreeContext.h: Include stdint.h due to the use of uint32_t as layer id.
      * UIProcess/API/qt/qquickwebview_p.h:
      (WebKit): Fix struct vs. class forward declaration mismatch, causing linking errors.
      * UIProcess/API/qt/tests/bytearraytestdata.h: Remove export macro from internal test class
      that is not used anymore. Using the export macro from a DLL when the code in question is not
      part of the DLL results in the export macro expanding to dllimport, giving incorrect linkage
      for the unit test.
      * WebProcess/qt/WebProcessMainQt.cpp:
      (WebKit::WebProcessMainQt): Removed explicit call to srandom(), which is not available on Windows.
      The call appears to be unnecessary in the light of the WTF::initializeThreading() call below, which
      in turn calls WTF::initializeRandomNumberGenerator(), which does the same thing already (and isn't
      needed on Windows, as per comment in wtf/RandomNumberSeed.h)
      
      Source/WTF:
      
      For the Qt build on Windows, do not enable WTF_USE_UNIX_DOMAIN_SOCKETS for
      WebKit2 IPC.
      
      * wtf/Platform.h:
      
      Tools:
      
      setFocus takes a boolean as argument: Don't try to implicitly convert
      an enum to a boolean, MSVC doesn't like that. The intent here is to
      enable focus, so just pass true.
      
      * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
      (WTR::PlatformWebView::focus):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd603beb
    • hausmann@webkit.org's avatar
      Small typo I forgot to land as part of r127724 · 37e5ae99
      hausmann@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37e5ae99
    • hausmann@webkit.org's avatar
      [Qt] Fix build with ANGLE on platforms that provide EGL/GLESv2 · 516d3eb0
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95965
      
      Reviewed by Tor Arne Vestbø.
      
      .:
      
      Add ANGLE as separate static library to the build and dependencies.
      
      * Source/api.pri:
      * WebKit.pro:
      
      Source/ThirdParty/ANGLE:
      
      Add build rules to build ANGLE as a static library for the Qt port.
      
      * ANGLE.pri: Added.
      * ANGLE.pro: Added.
      * DerivedSources.pri: Added.
      * Target.pri: Added.
      
      Source/WebCore:
      
      Moved all ANGLE build rules from here to Source/Thirty/ANGLE and
      instead depend on the new library with a simple WEBKIT += ANGLE.
      
      * DerivedSources.pri:
      * Target.pri:
      * platform/graphics/ANGLEWebKitBridge.h: Simplify the include statement
      for the internal shader compiler API, aligned with the other platforms.
      
      Source/WebKit:
      
      Depend on ANGLE if necessary, due to the use WebCore types that pull in ANGLE
      headers (GraphicsContext3D.h in particular).
      
      * WebKit1.pro:
      
      Source/WebKit2:
      
      Depend on ANGLE if necessary, due to the use WebCore types that pull in ANGLE
      headers (GraphicsContext3D.h in particular).
      
      * Target.pri:
      
      Tools:
      
      Add ANGLE as a static library module to the Qt WebKit build system.
      
      * qmake/mkspecs/features/default_post.prf:
      * qmake/mkspecs/modules/angle.prf: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      516d3eb0
    • commit-queue@webkit.org's avatar
      [EFL] Keep placeholder text visible until first input from user. · 29d93cc6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95851
      
      Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-06
      Reviewed by Gyuyoung Kim.
      
      Current specification, http://dev.w3.org/html5/spec/single-page.html#attr-input-placeholder, has allowed user agent to keep placeholder text until first input.
      Therefore, this patch enabled it.
      
      * platform/efl/RenderThemeEfl.h:
      (WebCore::RenderThemeEfl::shouldShowPlaceholderWhenFocused):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29d93cc6
    • dominik.rottsches@intel.com's avatar
      [EFL] Gardening after r127620, r127698 and r127704 · cc0a4b41
      dominik.rottsches@intel.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95963
      
      Unreviewed gardening.
      
      Following tests were added to TestExpectations:
      compositing/overflow/overflow-auto-with-touch-toggle.html fails after r127620.
      fast/dom/HTMLScriptElement/script-reexecution.html fails after r127698.
      fast/viewport/viewport-limits-adjusted-for-no-user-scale-control.html fails after r127704.
      fast/viewport/viewport-limits-adjusted-for-no-user-scale.html fails after r127704.
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-09-06
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc0a4b41
    • bashi@chromium.org's avatar
      [Chromium] Win build fix attempt after r127715 · cc167153
      bashi@chromium.org authored
      * tests/CCRenderPassTest.cpp:
      (WebCore::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc167153
    • abecsi@webkit.org's avatar
      [WK2] Make [Qt]ViewportHandler cross platform · c8e24fa7
      abecsi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91257
      
      Source/WebKit2:
      
      Reviewed by Kenneth Rohde Christiansen and Simon Hausmann.
      
      Since QtViewportHandler includes behaviour that is not platform
      specific together with hooks to the QtQuick API layer, a platform
      independent implementation would allow other ports to use the
      viewport controlling functionality provided.
      
      This patch removes QtViewportHandler and introduces a platform
      independent PageViewportController class that is responsible
      for handling requests from the web process (eg. content size
      changes, viewport attributes changes and scroll position requests).
      Requests from the web process are acted on by a platform specific
      client class which implements the PageViewportControllerClient
      interface which provides hooks to the platform specific API layer.
      
      The PageViewportController is also responsible to notify the web
      process about changes in the viewport state (eg. viewport size,
      visible rect, content scale and movement trajectory).
      The client is responsible to delegate these UI changes to the
      PageViewportController.
      
      For now only PageViewportControllerClientQt implements the client
      interface besides providing other QQuick specific functionality
      (gestures, animations, etc).
      
      * Target.pri:
      * UIProcess/API/qt/qquickwebpage_p_p.h:
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::onComponentComplete):
      (QQuickWebViewFlickablePrivate::~QQuickWebViewFlickablePrivate):
      (QQuickWebViewFlickablePrivate::didChangeViewportProperties):
      (QQuickWebViewFlickablePrivate::updateViewportSize):
      (QQuickWebViewFlickablePrivate::pageDidRequestScroll):
      (QQuickWebViewFlickablePrivate::didChangeContentsSize):
      * UIProcess/API/qt/qquickwebview_p.h:
      (WebKit):
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (WebKit):
      (QQuickWebViewPrivate::pageViewportControllerClient):
      (QQuickWebViewPrivate):
      (QQuickWebViewFlickablePrivate):
      * UIProcess/API/qt/qwebkittest.cpp:
      (QWebKitTest::viewport):
      (QWebKitTest::devicePixelRatio):
      (QWebKitTest::contentsScale):
      * UIProcess/PageViewportController.cpp: Added.
      (WebKit):
      (WebKit::bound):
      (WebKit::fuzzyCompare):
      (WebKit::boundPosition):
      (WebKit::ViewportUpdateDeferrer::ViewportUpdateDeferrer):
      (WebKit::ViewportUpdateDeferrer::~ViewportUpdateDeferrer):
      (WebKit::PageViewportController::PageViewportController):
      (WebKit::PageViewportController::convertFromViewport):
      (WebKit::PageViewportController::convertToViewport):
      (WebKit::PageViewportController::innerBoundedContentsScale):
      (WebKit::PageViewportController::outerBoundedContentsScale):
      (WebKit::PageViewportController::didChangeContentsSize):
      (WebKit::PageViewportController::pageDidRequestScroll):
      (WebKit::PageViewportController::setViewportSize):
      (WebKit::PageViewportController::setVisibleContentsRect):
      (WebKit::PageViewportController::syncVisibleContents):
      (WebKit::PageViewportController::didChangeViewportAttributes):
      (WebKit::PageViewportController::suspendContent):
      (WebKit::PageViewportController::resumeContent):
      (WebKit::PageViewportController::positionRangeForContentAtScale):
      * UIProcess/PageViewportController.h: Added.
      (WebCore):
      (WebKit):
      (ViewportUpdateDeferrer):
      (PageViewportController):
      (WebKit::PageViewportController::~PageViewportController):
      (WebKit::PageViewportController::hasSuspendedContent):
      (WebKit::PageViewportController::hadUserInteraction):
      (WebKit::PageViewportController::allowsUserScaling):
      (WebKit::PageViewportController::contentsLayoutSize):
      (WebKit::PageViewportController::devicePixelRatio):
      (WebKit::PageViewportController::minimumContentsScale):
      (WebKit::PageViewportController::maximumContentsScale):
      (WebKit::PageViewportController::setHadUserInteraction):
      * UIProcess/PageViewportControllerClient.h: Added.
      (WebKit):
      (PageViewportControllerClient):
      (WebKit::PageViewportControllerClient::PageViewportControllerClient):
      (WebKit::PageViewportControllerClient::~PageViewportControllerClient):
      * UIProcess/qt/PageViewportControllerClientQt.cpp: Added.
      (WebKit):
      (WebKit::PageViewportControllerClientQt::PageViewportControllerClientQt):
      (WebKit::PageViewportControllerClientQt::ScaleAnimation::updateCurrentValue):
      (WebKit::PageViewportControllerClientQt::~PageViewportControllerClientQt):
      (WebKit::PageViewportControllerClientQt::setContentRectVisiblePositionAtScale):
      (WebKit::PageViewportControllerClientQt::animateContentRectVisible):
      (WebKit::PageViewportControllerClientQt::flickMoveStarted):
      (WebKit::PageViewportControllerClientQt::flickMoveEnded):
      (WebKit::PageViewportControllerClientQt::pageItemPositionChanged):
      (WebKit::PageViewportControllerClientQt::scaleAnimationStateChanged):
      (WebKit::PageViewportControllerClientQt::touchBegin):
      (WebKit::PageViewportControllerClientQt::touchEnd):
      (WebKit::PageViewportControllerClientQt::focusEditableArea):
      (WebKit::PageViewportControllerClientQt::zoomToAreaGestureEnded):
      (WebKit::PageViewportControllerClientQt::nearestValidVisibleContentsRect):
      (WebKit::PageViewportControllerClientQt::setContentsPosition):
      (WebKit::PageViewportControllerClientQt::setContentsScale):
      (WebKit::PageViewportControllerClientQt::setContentsRectToNearestValidBounds):
      (WebKit::PageViewportControllerClientQt::didResumeContent):
      (WebKit::PageViewportControllerClientQt::allowsUserScaling):
      (WebKit::PageViewportControllerClientQt::devicePixelRatio):
      (WebKit::PageViewportControllerClientQt::minimumContentsScale):
      (WebKit::PageViewportControllerClientQt::maximumContentsScale):
      (WebKit::PageViewportControllerClientQt::currentContentsScale):
      (WebKit::PageViewportControllerClientQt::contentsLayoutSize):
      (WebKit::PageViewportControllerClientQt::scrollAnimationActive):
      (WebKit::PageViewportControllerClientQt::panGestureActive):
      (WebKit::PageViewportControllerClientQt::panGestureStarted):
      (WebKit::PageViewportControllerClientQt::panGestureRequestUpdate):
      (WebKit::PageViewportControllerClientQt::panGestureEnded):
      (WebKit::PageViewportControllerClientQt::panGestureCancelled):
      (WebKit::PageViewportControllerClientQt::scaleAnimationActive):
      (WebKit::PageViewportControllerClientQt::cancelScrollAnimation):
      (WebKit::PageViewportControllerClientQt::interruptScaleAnimation):
      (WebKit::PageViewportControllerClientQt::pinchGestureActive):
      (WebKit::PageViewportControllerClientQt::pinchGestureStarted):
      (WebKit::PageViewportControllerClientQt::pinchGestureRequestUpdate):
      (WebKit::PageViewportControllerClientQt::pinchGestureEnded):
      (WebKit::PageViewportControllerClientQt::pinchGestureCancelled):
      (WebKit::PageViewportControllerClientQt::visibleContentsRect):
      (WebKit::PageViewportControllerClientQt::didChangeContentsSize):
      (WebKit::PageViewportControllerClientQt::didChangeVisibleContents):
      (WebKit::PageViewportControllerClientQt::didChangeViewportAttributes):
      (WebKit::PageViewportControllerClientQt::updateViewportController):
      (WebKit::PageViewportControllerClientQt::scaleContent):
      (WebKit::PageViewportControllerClientQt::viewportScaleForRect):
      * UIProcess/qt/PageViewportControllerClientQt.h: Added.
      (WebKit):
      (PageViewportControllerClientQt):
      (WebKit::PageViewportControllerClientQt::setController):
      (ScaleAnimation):
      (WebKit::PageViewportControllerClientQt::ScaleAnimation::ScaleAnimation):
      (WebKit::PageViewportControllerClientQt::ScaleStackItem::ScaleStackItem):
      (ScaleStackItem):
      * UIProcess/qt/QtGestureRecognizer.cpp:
      (WebKit::QtGestureRecognizer::viewportController):
      * UIProcess/qt/QtGestureRecognizer.h:
      (WebKit):
      * UIProcess/qt/QtPanGestureRecognizer.cpp:
      (WebKit::QtPanGestureRecognizer::update):
      (WebKit::QtPanGestureRecognizer::finish):
      (WebKit::QtPanGestureRecognizer::cancel):
      * UIProcess/qt/QtPinchGestureRecognizer.cpp:
      (WebKit::QtPinchGestureRecognizer::update):
      (WebKit::QtPinchGestureRecognizer::finish):
      (WebKit::QtPinchGestureRecognizer::cancel):
      * UIProcess/qt/QtViewportHandler.cpp: Removed.
      * UIProcess/qt/QtWebPageEventHandler.cpp:
      (WebKit::QtWebPageEventHandler::QtWebPageEventHandler):
      (WebKit::QtWebPageEventHandler::setViewportController):
      (WebKit::QtWebPageEventHandler::inputPanelVisibleChanged):
      (WebKit::QtWebPageEventHandler::handleInputEvent):
      (WebKit::QtWebPageEventHandler::doneWithTouchEvent):
      (WebKit::QtWebPageEventHandler::didFindZoomableArea):
      * UIProcess/qt/QtWebPageEventHandler.h:
      (WebKit):
      (QtWebPageEventHandler):
      (WebKit::QtWebPageEventHandler::viewportController):
      
      Tools:
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Remove initial scale from viewport info item since it is
      set to -1 after applied thus it does not hold any valuable
      information.
      
      * MiniBrowser/qt/qml/ViewportInfoItem.qml:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8e24fa7
    • commit-queue@webkit.org's avatar
      Renamed useYarrJIT() option to useRegExpJIT(). Also fixed regression in · 8a89a852
      commit-queue@webkit.org authored
      which inadvertantly allows the ASM llint to use the baseline JIT when
      useRegExpJIT() is true.
      https://bugs.webkit.org/show_bug.cgi?id=95918.
      
      Patch by Mark Lam <mark.lam@apple.com> on 2012-09-06
      Reviewed by Geoffrey Garen.
      
      * runtime/JSGlobalData.cpp:
      (JSC::enableAssembler):
      (JSC::JSGlobalData::JSGlobalData):
      * runtime/JSGlobalData.h:
      (JSC::JSGlobalData::canUseJIT):
      (JSC::JSGlobalData::canUseRegExpJIT):
      (JSGlobalData):
      * runtime/Options.cpp:
      (JSC::Options::initialize):
      * runtime/Options.h:
      (JSC):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a89a852
    • commit-queue@webkit.org's avatar
      Add new V8DependentRetained that allows keeping a v8::Object alive as long as... · 8ca322de
      commit-queue@webkit.org authored
      Add new V8DependentRetained that allows keeping a v8::Object alive as long as another v8::Object is alive
      https://bugs.webkit.org/show_bug.cgi?id=95519
      
      Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-09-06
      Reviewed by Adam Barth.
      
      Add new V8DependentRetained that allows keeping a v8::Object alive as long as another
      v8::Object is alive. This is useful for keeping callbacks attached to wrappers without
      keeping strong references to v8::Objects in the C++ side which can result in leaks
      when cycles are created.
      
      No new tests needed, this will be used to fix MutationObservers which will have tests.
      
      * WebCore.gypi:
      * bindings/v8/V8DependentRetained.h: Added.
      (WebCore):
      (V8DependentRetained):
      (WebCore::V8DependentRetained::V8DependentRetained):
      (WebCore::V8DependentRetained::~V8DependentRetained):
      (WebCore::V8DependentRetained::get): Gets the v8::Object value.
      (WebCore::V8DependentRetained::isEmpty): Checks if the value is still alive.
      (WebCore::V8DependentRetained::createPropertyName):
      (WebCore::V8DependentRetained::ownerWeakCallback): Clear the value when the owner is released.
      (WebCore::V8DependentRetained::valueWeakCallback):
      (WebCore::V8DependentRetained::release):
      * bindings/v8/V8HiddenPropertyName.cpp:
      (WebCore::V8HiddenPropertyName::hiddenReferenceName): Modified to allow creating hidden String or Symbol names.
      * bindings/v8/V8HiddenPropertyName.h:
      (V8HiddenPropertyName):
      * bindings/v8/V8PerIsolateData.cpp:
      (WebCore::V8PerIsolateData::V8PerIsolateData):
      * bindings/v8/V8PerIsolateData.h:
      (WebCore::V8PerIsolateData::nextDependentRetainedId): Returns the next available hidden property index.
      (V8PerIsolateData):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ca322de