- 21 Nov, 2013 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=105784 .: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. * Source/autotools/SetupWebKitFeatures.m4: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: Source/WebCore: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. Source/WebKit: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Source/WebKit/efl: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. * ewk/ewk_settings.cpp: (ewk_settings_memory_cache_clear): Source/WebKit/win: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. * WebWorkersPrivate.cpp: (WebWorkersPrivate::workerThreadCount): Source/WTF: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. * wtf/FeatureDefines.h: * wtf/nix/FeatureDefinesNix.h: Tools: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. * Scripts/webkitperl/FeatureList.pm: WebKitLibraries: Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21 Reviewed by Darin Adler. * win/tools/vsprops/FeatureDefines.props: * win/tools/vsprops/FeatureDefinesCairo.props: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Sep, 2013 1 commit
-
-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=121770 Reviewed by Andreas Kling. Source/WebCore: For now, MainFrame simply derives from Frame and adds nothing. Next, we will make each Frame point back to its MainFrame. * CMakeLists.txt: Added MainFrame.cpp/h. * GNUmakefile.list.am: Ditto. * Target.pri: Ditto. * WebCore.exp.in: Ditto. * WebCore.vcxproj/WebCore.vcxproj: Ditto. * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto. * WebCore.xcodeproj/project.pbxproj: Ditto. * page/Frame.cpp: (WebCore::Frame::Frame): Use references instead of pointers for constructor. (WebCore::Frame::create): Pass references instead of pointers to constructor. * page/Frame.h: Made constructor protected instead of private, and marked destructor virtual explicitly. Also marked virtual functions OVERRIDE and FINAL. * page/MainFrame.cpp: Added. * page/MainFrame.h: Added. * page/Page.cpp: (WebCore::Page::Page): Use MainFrame::create instead of Frame::create. (WebCore::Page::frameIsMainFrame): Moved here, no longer inline. (WebCore::Page::renderTreeSize): Use const Frame* instead of Frame*. (WebCore::Page::checkSubframeCountConsistency): Ditto. * page/Page.h: Changed mainFrame() to return MainFrame& and m_mainFrame to be a RefPtr<MainFrame>. * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: * bindings/js/PageScriptDebugServer.cpp: * bindings/js/ScriptProfiler.cpp: * bindings/js/ScriptState.cpp: * css/MediaQueryEvaluator.cpp: * dom/Document.cpp: * history/CachedFrame.cpp: * history/CachedPage.cpp: * history/PageCache.cpp: * html/HTMLPlugInImageElement.cpp: * inspector/InspectorAgent.cpp: * inspector/InspectorCanvasAgent.cpp: * inspector/InspectorClient.cpp: * inspector/InspectorDOMAgent.cpp: * inspector/InspectorFrontendClientLocal.cpp: * inspector/InspectorFrontendHost.cpp: * inspector/InspectorInputAgent.cpp: * inspector/InspectorInstrumentation.cpp: * inspector/InspectorOverlay.cpp: * inspector/InspectorPageAgent.cpp: * inspector/PageRuntimeAgent.cpp: * loader/FrameLoader.cpp: * loader/HistoryController.cpp: * loader/archive/mhtml/MHTMLArchive.cpp: * page/AutoscrollController.cpp: * page/Chrome.cpp: * page/ContextMenuController.cpp: * page/DOMWindow.cpp: * page/DragController.cpp: * page/EventHandler.cpp: * page/FocusController.cpp: * page/FrameTree.cpp: * page/FrameView.cpp: * page/GestureTapHighlighter.cpp: * page/PageGroup.cpp: * page/PageGroupLoadDeferrer.cpp: * page/PageSerializer.cpp: * page/PageThrottler.cpp: * page/Settings.cpp: * page/SpatialNavigation.cpp: * page/mac/DragControllerMac.mm: * page/mac/PageMac.cpp: * page/scrolling/ScrollingCoordinator.cpp: * page/scrolling/mac/ScrollingCoordinatorMac.mm: * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp: * plugins/DOMMimeType.cpp: * storage/StorageEventDispatcher.cpp: * svg/graphics/SVGImage.cpp: * testing/InternalSettings.cpp: * testing/Internals.cpp: Include MainFrame.h instead of Frame.h as needed. Source/WebKit/efl: * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: * WebCoreSupport/InspectorClientEfl.cpp: * ewk/ewk_view.cpp: Include MainFrame.h instead of Frame.h as needed. Source/WebKit/gtk: * WebCoreSupport/AcceleratedCompositingContextGL.cpp: * WebCoreSupport/ChromeClientGtk.cpp: * WebCoreSupport/FrameLoaderClientGtk.cpp: * WebCoreSupport/GtkAdjustmentWatcher.cpp: * webkit/webkitwebframe.cpp: * webkit/webkitwebview.cpp: * webkit/webkitviewportattributes.cpp: Include MainFrame.h instead of Frame.h as needed. Source/WebKit/mac: * WebCoreSupport/WebDragClient.mm: * WebCoreSupport/WebInspectorClient.mm: * WebCoreSupport/WebPlatformStrategies.mm: * WebView/WebFrame.mm: * WebView/WebHTMLView.mm: * WebView/WebView.mm: Include MainFrame.h instead of Frame.h as needed. Source/WebKit/qt: * Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp: * Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp: * Source/WebKit/qt/WebCoreSupport/QWebFrameAdapter.cpp: * Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp: * Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp: * Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp: Include MainFrame.h instead of Frame.h as needed. Source/WebKit/win: * win/WebCoreSupport/WebDragClient.cpp: * win/WebCoreSupport/WebContextMenuClient.cpp: * win/WebDropSource.cpp: * win/WebFrame.cpp: * win/WebView.cpp: Include MainFrame.h instead of Frame.h as needed. Source/WebKit2: * WebProcess/FullScreen/WebFullScreenManager.cpp: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: * WebProcess/InjectedBundle/InjectedBundle.cpp: * WebProcess/Plugins/PluginView.cpp: * WebProcess/Storage/StorageAreaMap.cpp: * WebProcess/WebCoreSupport/WebChromeClient.cpp: * WebProcess/WebCoreSupport/WebContextMenuClient.cpp: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm: * WebProcess/WebPage/FindController.cpp: * WebProcess/WebPage/PageOverlay.cpp: * WebProcess/WebPage/WebInspector.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp: * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp: * WebProcess/WebPage/mac/LayerTreeHostMac.mm: * WebProcess/WebPage/mac/RemoteLayerTreeContext.mm: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: * WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm: * WebProcess/WebPage/mac/WebPageMac.mm: Include MainFrame.h instead of Frame.h as needed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Sep, 2013 1 commit
-
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=121336 Reviewed by Darin Adler. * Modules/indexeddb/IDBCursor.h: * Modules/indexeddb/IDBObjectStore.h: * bindings/js/JSInjectedScriptHostCustom.cpp: * bindings/js/JSInjectedScriptManager.cpp: * bindings/js/JSNodeCustom.cpp: * bindings/js/JSNodeFilterCondition.h: * bindings/js/ScriptController.cpp: * bindings/js/ScriptDebugServer.cpp: * bindings/js/ScriptDebugServer.h: * bindings/js/ScriptEventListener.cpp: * bindings/js/ScriptEventListener.h: * bindings/js/ScriptFunctionCall.cpp: * bindings/js/ScriptFunctionCall.h: * bindings/js/ScriptObject.cpp: * bindings/js/ScriptObject.h: * bindings/js/ScriptProfiler.cpp: * bindings/js/ScriptProfiler.h: * bindings/js/ScriptState.cpp: * bindings/js/ScriptState.h: * bindings/js/ScriptValue.cpp: * bindings/js/ScriptValue.h: * bindings/js/SerializedScriptValue.cpp: * bindings/js/SerializedScriptValue.h: * dom/Document.cpp: * dom/Document.h: * dom/NodeFilter.cpp: * dom/NodeFilter.h: * dom/NodeFilterCondition.cpp: * dom/NodeFilterCondition.h: * dom/NodeIterator.cpp: * dom/NodeIterator.h: * dom/ScriptExecutionContext.cpp: * dom/ScriptExecutionContext.h: * dom/Traversal.cpp: * dom/Traversal.h: * dom/TreeWalker.cpp: * dom/TreeWalker.h: * inspector/ConsoleMessage.cpp: * inspector/ConsoleMessage.h: * inspector/InjectedScript.h: * inspector/InjectedScriptBase.cpp: * inspector/InjectedScriptBase.h: * inspector/InjectedScriptCanvasModule.cpp: * inspector/InjectedScriptCanvasModule.h: * inspector/InjectedScriptHost.cpp: * inspector/InjectedScriptHost.h: * inspector/InjectedScriptManager.cpp: * inspector/InjectedScriptManager.h: * inspector/InjectedScriptModule.cpp: * inspector/InjectedScriptModule.h: * inspector/InspectorAgent.cpp: * inspector/InspectorCanvasAgent.cpp: * inspector/InspectorCanvasAgent.h: * inspector/InspectorConsoleAgent.cpp: * inspector/InspectorConsoleAgent.h: * inspector/InspectorConsoleInstrumentation.h: * inspector/InspectorDOMAgent.cpp: * inspector/InspectorDebuggerAgent.cpp: * inspector/InspectorDebuggerAgent.h: * inspector/InspectorFrontendClientLocal.cpp: * inspector/InspectorFrontendHost.cpp: * inspector/InspectorIndexedDBAgent.cpp: * inspector/InspectorInstrumentation.cpp: * inspector/InspectorInstrumentation.h: * inspector/PageConsoleAgent.cpp: * inspector/PageDebuggerAgent.cpp: * inspector/PageRuntimeAgent.cpp: * inspector/PageRuntimeAgent.h: * inspector/ScriptArguments.cpp: * inspector/ScriptArguments.h: * inspector/ScriptDebugListener.h: * inspector/WorkerDebuggerAgent.cpp: * inspector/WorkerRuntimeAgent.cpp: * page/Console.cpp: * page/Console.h: * page/ContentSecurityPolicy.cpp: * page/ContentSecurityPolicy.h: * page/PageConsole.cpp: * page/PageConsole.h: * workers/WorkerGlobalScope.cpp: * workers/WorkerGlobalScope.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 26 Aug, 2013 1 commit
-
-
akling@apple.com authored
<http://webkit.org/b/119677> Reviewed by Antti Koivisto. Page always creates the main Frame by itself now, so it will never be null during the Page's lifetime. Let Page::mainFrame() return Frame& and remove a sea of null checks. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Jun, 2013 1 commit
-
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=118059 Reviewed by Kentaro Hara. Source/WebCore: Rename WorkerContext / SharedWorkerContext / DedicatedWorkerContext to WorkerGlobalScope / SharedWorkerGlobalScope / DedicatedWorkerGlobalScope to match the latest specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workerglobalscope Those interfaces have [NoInterfaceObject] IDL extended attribute so the name did not matter much so far. However, the specification was updated and [NoInterfaceObject] was removed. We should therefore rename those interfaces as a preparation for this change. No new tests, no behavior change as these interfaces are not exposed to JavaScript yet. * CMakeLists.txt: * DerivedSources.cpp: * DerivedSources.make: * DerivedSources.pri: * GNUmakefile.am: * GNUmakefile.list.am: * Modules/filesystem/WorkerGlobalScopeFileSystem.cpp: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.cpp. (WebCore::WorkerGlobalScopeFileSystem::webkitRequestFileSystem): (WebCore::WorkerGlobalScopeFileSystem::webkitRequestFileSystemSync): (WebCore::WorkerGlobalScopeFileSystem::webkitResolveLocalFileSystemURL): (WebCore::WorkerGlobalScopeFileSystem::webkitResolveLocalFileSystemSyncURL): * Modules/filesystem/WorkerGlobalScopeFileSystem.h: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.h. * Modules/filesystem/WorkerGlobalScopeFileSystem.idl: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.idl. * Modules/indexeddb/IDBFactory.cpp: * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.cpp. (WebCore::WorkerGlobalScopeIndexedDatabase::WorkerGlobalScopeIndexedDatabase): (WebCore::WorkerGlobalScopeIndexedDatabase::~WorkerGlobalScopeIndexedDatabase): (WebCore::WorkerGlobalScopeIndexedDatabase::supplementName): (WebCore::WorkerGlobalScopeIndexedDatabase::from): (WebCore::WorkerGlobalScopeIndexedDatabase::indexedDB): * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.h. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.idl. * Modules/notifications/Notification.cpp: * Modules/notifications/NotificationCenter.cpp: * Modules/notifications/WorkerGlobalScopeNotifications.cpp: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.cpp. (WebCore::WorkerGlobalScopeNotifications::WorkerGlobalScopeNotifications): (WebCore::WorkerGlobalScopeNotifications::~WorkerGlobalScopeNotifications): (WebCore::WorkerGlobalScopeNotifications::supplementName): (WebCore::WorkerGlobalScopeNotifications::from): (WebCore::WorkerGlobalScopeNotifications::webkitNotifications): * Modules/notifications/WorkerGlobalScopeNotifications.h: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.h. * Modules/notifications/WorkerGlobalScopeNotifications.idl: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.idl. * Modules/webdatabase/DatabaseContext.cpp: (WebCore::DatabaseContext::allowDatabaseAccess): (WebCore::DatabaseContext::databaseExceededQuota): * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp. (WebCore::WorkerGlobalScopeWebDatabase::openDatabase): (WebCore::WorkerGlobalScopeWebDatabase::openDatabaseSync): * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.h. (WebCore::WorkerGlobalScopeWebDatabase::WorkerGlobalScopeWebDatabase): (WebCore::WorkerGlobalScopeWebDatabase::~WorkerGlobalScopeWebDatabase): * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.idl. * Modules/websockets/ThreadableWebSocketChannel.cpp: (WebCore::ThreadableWebSocketChannel::create): * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp: (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasksCallback): * Modules/websockets/WorkerThreadableWebSocketChannel.cpp: (WebCore::WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel): (WebCore::workerGlobalScopeDidSend): (WebCore::WorkerThreadableWebSocketChannel::Peer::send): (WebCore::workerGlobalScopeDidGetBufferedAmount): (WebCore::WorkerThreadableWebSocketChannel::Peer::bufferedAmount): (WebCore::workerGlobalScopeDidConnect): (WebCore::WorkerThreadableWebSocketChannel::Peer::didConnect): (WebCore::workerGlobalScopeDidReceiveMessage): (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessage): (WebCore::workerGlobalScopeDidReceiveBinaryData): (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData): (WebCore::workerGlobalScopeDidUpdateBufferedAmount): (WebCore::WorkerThreadableWebSocketChannel::Peer::didUpdateBufferedAmount): (WebCore::workerGlobalScopeDidStartClosingHandshake): (WebCore::WorkerThreadableWebSocketChannel::Peer::didStartClosingHandshake): (WebCore::workerGlobalScopeDidClose): (WebCore::WorkerThreadableWebSocketChannel::Peer::didClose): (WebCore::workerGlobalScopeDidReceiveMessageError): (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessageError): (WebCore::WorkerThreadableWebSocketChannel::Bridge::Bridge): (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::create): (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::~WorkerGlobalScopeDidInitializeTask): (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::WorkerGlobalScopeDidInitializeTask): (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize): (WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect): (WebCore::WorkerThreadableWebSocketChannel::Bridge::waitForMethodCompletion): * Modules/websockets/WorkerThreadableWebSocketChannel.h: (WebCore::WorkerThreadableWebSocketChannel::create): (WebCore::WorkerThreadableWebSocketChannel::Bridge::create): * Target.pri: * UseJSC.cmake: * WebCore.order: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: * bindings/cpp/WebDOMEventTarget.cpp: (toWebKit): * bindings/cpp/WebDOMEventTarget.h: * bindings/generic/ActiveDOMCallback.cpp: * bindings/js/DOMRequestState.h: (WebCore::DOMRequestState::DOMRequestState): * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSDOMBinding.h: * bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::scriptExecutionContext): (WebCore::toJSDOMGlobalObject): * bindings/js/JSDedicatedWorkerGlobalScopeCustom.cpp: Renamed from Source/WebCore/bindings/js/JSDedicatedWorkerContextCustom.cpp. (WebCore::JSDedicatedWorkerGlobalScope::postMessage): * bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::handleEvent): * bindings/js/JSEventTargetCustom.cpp: (WebCore::toJS): * bindings/js/JSWorkerGlobalScopeBase.cpp: Renamed from Source/WebCore/bindings/js/JSWorkerContextBase.cpp. (WebCore::JSWorkerGlobalScopeBase::JSWorkerGlobalScopeBase): (WebCore::JSWorkerGlobalScopeBase::finishCreation): (WebCore::JSWorkerGlobalScopeBase::destroy): (WebCore::JSWorkerGlobalScopeBase::scriptExecutionContext): (WebCore::toJS): (WebCore::toJSDedicatedWorkerGlobalScope): (WebCore::toJSSharedWorkerGlobalScope): (WebCore::toJSWorkerGlobalScope): * bindings/js/JSWorkerGlobalScopeBase.h: Renamed from Source/WebCore/bindings/js/JSWorkerContextBase.h. (WebCore::JSWorkerGlobalScopeBase::impl): (WebCore::JSWorkerGlobalScopeBase::createStructure): * bindings/js/JSWorkerGlobalScopeCustom.cpp: Renamed from Source/WebCore/bindings/js/JSWorkerContextCustom.cpp. (WebCore::JSWorkerGlobalScope::visitChildren): (WebCore::JSWorkerGlobalScope::getOwnPropertySlotDelegate): (WebCore::JSWorkerGlobalScope::getOwnPropertyDescriptorDelegate): (WebCore::JSWorkerGlobalScope::importScripts): (WebCore::JSWorkerGlobalScope::setTimeout): (WebCore::JSWorkerGlobalScope::setInterval): * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::execute): * bindings/js/ScheduledAction.h: * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::startForWorkerGlobalScope): (WebCore::ScriptProfiler::stopForWorkerGlobalScope): * bindings/js/ScriptProfiler.h: * bindings/js/ScriptState.cpp: (WebCore::scriptStateFromWorkerGlobalScope): * bindings/js/ScriptState.h: * bindings/js/WorkerScriptController.cpp: (WebCore::WorkerScriptController::WorkerScriptController): (WebCore::WorkerScriptController::~WorkerScriptController): (WebCore::WorkerScriptController::initScript): (WebCore::WorkerScriptController::evaluate): (WebCore::WorkerScriptController::setException): (WebCore::WorkerScriptController::forbidExecution): (WebCore::WorkerScriptController::isExecutionForbidden): (WebCore::WorkerScriptController::disableEval): (WebCore::WorkerScriptController::attachDebugger): (WebCore::WorkerScriptController::detachDebugger): * bindings/js/WorkerScriptController.h: (WebCore::WorkerScriptController::workerGlobalScopeWrapper): (WebCore::WorkerScriptController::initScriptIfNeeded): * bindings/js/WorkerScriptDebugServer.cpp: (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer): (WebCore::WorkerScriptDebugServer::addListener): (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions): (WebCore::WorkerScriptDebugServer::removeListener): (WebCore::WorkerScriptDebugServer::runEventLoopWhilePaused): * bindings/js/WorkerScriptDebugServer.h: * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): (GenerateImplementation): * bindings/scripts/IDLAttributes.txt: * bindings/scripts/preprocess-idls.pl: * dom/ActiveDOMObject.cpp: * dom/EventTarget.h: * dom/EventTargetFactory.in: * dom/MessagePort.cpp: (WebCore::MessagePort::dispatchMessages): * dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::createdMessagePort): (WebCore::ScriptExecutionContext::destroyedMessagePort): (WebCore::ScriptExecutionContext::vm): * dom/ScriptExecutionContext.h: (WebCore::ScriptExecutionContext::isWorkerGlobalScope): * inspector/InjectedScriptManager.cpp: (WebCore::InjectedScriptManager::createForWorker): (WebCore::InjectedScriptManager::canAccessInspectedWorkerGlobalScope): * inspector/InjectedScriptManager.h: * inspector/InspectorConsoleInstrumentation.h: (WebCore::InspectorInstrumentation::addMessageToConsole): * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didStartWorkerGlobalScopeImpl): (WebCore::InspectorInstrumentation::willEvaluateWorkerScript): (WebCore::InspectorInstrumentation::workerGlobalScopeTerminatedImpl): (WebCore::InspectorInstrumentation::instrumentingAgentsForWorkerGlobalScope): (WebCore::InspectorInstrumentation::instrumentingAgentsForNonDocumentContext): * inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::didStartWorkerGlobalScope): (WebCore::InspectorInstrumentation::workerGlobalScopeTerminated): * inspector/InspectorProfilerAgent.cpp: (WebCore::WorkerProfilerAgent::WorkerProfilerAgent): (WebCore::WorkerProfilerAgent::startProfiling): (WebCore::WorkerProfilerAgent::stopProfiling): (WebCore::InspectorProfilerAgent::create): * inspector/InspectorProfilerAgent.h: * inspector/InspectorRuntimeAgent.h: * inspector/InspectorWorkerAgent.cpp: (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::WorkerFrontendChannel): (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::~WorkerFrontendChannel): (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::proxy): (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::connectToWorkerGlobalScope): (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::disconnectFromWorkerGlobalScope): (WebCore::InspectorWorkerAgent::connectToWorker): (WebCore::InspectorWorkerAgent::disconnectFromWorker): (WebCore::InspectorWorkerAgent::didStartWorkerGlobalScope): (WebCore::InspectorWorkerAgent::workerGlobalScopeTerminated): (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels): (WebCore::InspectorWorkerAgent::createWorkerFrontendChannel): * inspector/InspectorWorkerAgent.h: * inspector/InstrumentingAgents.cpp: (WebCore::instrumentationForWorkerGlobalScope): * inspector/InstrumentingAgents.h: * inspector/WorkerDebuggerAgent.cpp: (WebCore::WorkerDebuggerAgent::create): (WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent): (WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent): (WebCore::WorkerDebuggerAgent::interruptAndDispatchInspectorCommands): (WebCore::WorkerDebuggerAgent::injectedScriptForEval): * inspector/WorkerDebuggerAgent.h: * inspector/WorkerInspectorController.cpp: (WebCore::WorkerInspectorController::WorkerInspectorController): (WebCore::WorkerInspectorController::connectFrontend): * inspector/WorkerInspectorController.h: * inspector/WorkerRuntimeAgent.cpp: (WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent): (WebCore::WorkerRuntimeAgent::injectedScriptForEval): (WebCore::WorkerRuntimeAgent::pauseWorkerGlobalScope): * inspector/WorkerRuntimeAgent.h: (WebCore::WorkerRuntimeAgent::create): * loader/ThreadableLoader.cpp: (WebCore::ThreadableLoader::create): (WebCore::ThreadableLoader::loadResourceSynchronously): * loader/WorkerThreadableLoader.cpp: (WebCore::WorkerThreadableLoader::WorkerThreadableLoader): (WebCore::WorkerThreadableLoader::loadResourceSynchronously): (WebCore::workerGlobalScopeDidSendData): (WebCore::WorkerThreadableLoader::MainThreadBridge::didSendData): (WebCore::workerGlobalScopeDidReceiveResponse): (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse): (WebCore::workerGlobalScopeDidReceiveData): (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData): (WebCore::workerGlobalScopeDidFinishLoading): (WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading): (WebCore::workerGlobalScopeDidFail): (WebCore::WorkerThreadableLoader::MainThreadBridge::didFail): (WebCore::workerGlobalScopeDidFailAccessControlCheck): (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailAccessControlCheck): (WebCore::workerGlobalScopeDidFailRedirectCheck): (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck): * loader/WorkerThreadableLoader.h: (WebCore::WorkerThreadableLoader::create): * loader/cache/MemoryCache.cpp: (WebCore::MemoryCache::removeRequestFromCache): * platform/blackberry/LocalFileSystemBlackBerry.cpp: (WebCore::openFileSystem): (WebCore::LocalFileSystem::deleteFileSystem): * platform/blackberry/WorkerAsyncFileSystemBlackBerry.cpp: (WebCore::WorkerAsyncFileSystemBlackBerry::WorkerAsyncFileSystemBlackBerry): (WebCore::WorkerAsyncFileSystemBlackBerry::openFileSystem): (WebCore::WorkerAsyncFileSystemBlackBerry::deleteFileSystem): * platform/blackberry/WorkerAsyncFileSystemBlackBerry.h: (WebCore::WorkerAsyncFileSystemBlackBerry::create): * platform/blackberry/WorkerAsyncFileWriterBlackBerry.h: * platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.cpp: (WebCore::WorkerPlatformAsyncFileSystemCallbacks::postTaskToWorkerThread): * platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.h: * platform/blackberry/WorkerPlatformFileWriterClient.cpp: (WebCore::WorkerPlatformFileWriterClient::postTaskToWorkerThreadIfNeeded): * platform/blackberry/WorkerPlatformFileWriterClient.h: * workers/DedicatedWorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/DedicatedWorkerContext.cpp. (WebCore::DedicatedWorkerGlobalScope::create): (WebCore::DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope): (WebCore::DedicatedWorkerGlobalScope::~DedicatedWorkerGlobalScope): (WebCore::DedicatedWorkerGlobalScope::interfaceName): (WebCore::DedicatedWorkerGlobalScope::postMessage): (WebCore::DedicatedWorkerGlobalScope::importScripts): (WebCore::DedicatedWorkerGlobalScope::thread): * workers/DedicatedWorkerGlobalScope.h: Renamed from Source/WebCore/workers/DedicatedWorkerContext.h. * workers/DedicatedWorkerGlobalScope.idl: Renamed from Source/WebCore/workers/DedicatedWorkerContext.idl. * workers/DedicatedWorkerThread.cpp: (WebCore::DedicatedWorkerThread::createWorkerGlobalScope): (WebCore::DedicatedWorkerThread::runEventLoop): * workers/DedicatedWorkerThread.h: * workers/DefaultSharedWorkerRepository.cpp: (WebCore::SharedWorkerProxy::postTaskForModeToWorkerGlobalScope): (WebCore::SharedWorkerProxy::workerGlobalScopeClosed): (WebCore::SharedWorkerProxy::workerGlobalScopeDestroyed): (WebCore::SharedWorkerConnectTask::performTask): (WebCore::SharedWorkerScriptLoader::notifyFinished): (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded): * workers/SharedWorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/SharedWorkerContext.cpp. (WebCore::createConnectEvent): (WebCore::SharedWorkerGlobalScope::create): (WebCore::SharedWorkerGlobalScope::SharedWorkerGlobalScope): (WebCore::SharedWorkerGlobalScope::~SharedWorkerGlobalScope): (WebCore::SharedWorkerGlobalScope::interfaceName): (WebCore::SharedWorkerGlobalScope::thread): (WebCore::SharedWorkerGlobalScope::logExceptionToConsole): * workers/SharedWorkerGlobalScope.h: Renamed from Source/WebCore/workers/SharedWorkerContext.h. (WebCore::SharedWorkerGlobalScope::name): * workers/SharedWorkerGlobalScope.idl: Renamed from Source/WebCore/workers/SharedWorkerContext.idl. * workers/SharedWorkerThread.cpp: (WebCore::SharedWorkerThread::createWorkerGlobalScope): * workers/SharedWorkerThread.h: * workers/Worker.cpp: (WebCore::Worker::Worker): (WebCore::Worker::postMessage): (WebCore::Worker::terminate): (WebCore::Worker::notifyFinished): * workers/Worker.h: * workers/WorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/WorkerContext.cpp. (WebCore::CloseWorkerGlobalScopeTask::create): (WebCore::CloseWorkerGlobalScopeTask::performTask): (WebCore::CloseWorkerGlobalScopeTask::isCleanupTask): (WebCore::WorkerGlobalScope::WorkerGlobalScope): (WebCore::WorkerGlobalScope::~WorkerGlobalScope): (WebCore::WorkerGlobalScope::applyContentSecurityPolicyFromString): (WebCore::WorkerGlobalScope::scriptExecutionContext): (WebCore::WorkerGlobalScope::virtualURL): (WebCore::WorkerGlobalScope::virtualCompleteURL): (WebCore::WorkerGlobalScope::completeURL): (WebCore::WorkerGlobalScope::userAgent): (WebCore::WorkerGlobalScope::disableEval): (WebCore::WorkerGlobalScope::location): (WebCore::WorkerGlobalScope::close): (WebCore::WorkerGlobalScope::navigator): (WebCore::WorkerGlobalScope::hasPendingActivity): (WebCore::WorkerGlobalScope::postTask): (WebCore::WorkerGlobalScope::setTimeout): (WebCore::WorkerGlobalScope::clearTimeout): (WebCore::WorkerGlobalScope::clearInspector): (WebCore::WorkerGlobalScope::setInterval): (WebCore::WorkerGlobalScope::clearInterval): (WebCore::WorkerGlobalScope::importScripts): (WebCore::WorkerGlobalScope::errorEventTarget): (WebCore::WorkerGlobalScope::logExceptionToConsole): (WebCore::WorkerGlobalScope::addConsoleMessage): (WebCore::WorkerGlobalScope::addMessage): (WebCore::WorkerGlobalScope::addMessageToWorkerConsole): (WebCore::WorkerGlobalScope::isContextThread): (WebCore::WorkerGlobalScope::isJSExecutionForbidden): (WebCore::WorkerGlobalScope::eventTargetData): (WebCore::WorkerGlobalScope::ensureEventTargetData): (WebCore::WorkerGlobalScope::Observer::Observer): (WebCore::WorkerGlobalScope::Observer::~Observer): (WebCore::WorkerGlobalScope::Observer::stopObserving): (WebCore::WorkerGlobalScope::registerObserver): (WebCore::WorkerGlobalScope::unregisterObserver): (WebCore::WorkerGlobalScope::notifyObserversOfStop): (WebCore::WorkerGlobalScope::eventQueue): * workers/WorkerGlobalScope.h: Renamed from Source/WebCore/workers/WorkerContext.h. (WebCore::WorkerGlobalScope::isSharedWorkerGlobalScope): (WebCore::WorkerGlobalScope::isDedicatedWorkerGlobalScope): (WebCore::WorkerGlobalScope::url): (WebCore::WorkerGlobalScope::groupSettings): (WebCore::WorkerGlobalScope::script): (WebCore::WorkerGlobalScope::clearScript): (WebCore::WorkerGlobalScope::thread): (WebCore::WorkerGlobalScope::self): (WebCore::WorkerGlobalScope::workerInspectorController): (WebCore::WorkerGlobalScope::optionalNavigator): (WebCore::WorkerGlobalScope::optionalLocation): (WebCore::WorkerGlobalScope::isClosing): * workers/WorkerGlobalScope.idl: Renamed from Source/WebCore/workers/WorkerContext.idl. * workers/WorkerGlobalScopeProxy.h: Renamed from Source/WebCore/workers/WorkerContextProxy.h. (WebCore::WorkerGlobalScopeProxy::~WorkerGlobalScopeProxy): (WebCore::WorkerGlobalScopeProxy::PageInspector::~PageInspector): (WebCore::WorkerGlobalScopeProxy::connectToInspector): (WebCore::WorkerGlobalScopeProxy::disconnectFromInspector): (WebCore::WorkerGlobalScopeProxy::sendMessageToInspector): * workers/WorkerLoaderProxy.h: * workers/WorkerMessagingProxy.cpp: (WebCore::MessageWorkerGlobalScopeTask::create): (WebCore::MessageWorkerGlobalScopeTask::MessageWorkerGlobalScopeTask): (WebCore::MessageWorkerGlobalScopeTask::performTask): (WebCore::WorkerGlobalScopeDestroyedTask::create): (WebCore::WorkerGlobalScopeDestroyedTask::WorkerGlobalScopeDestroyedTask): (WebCore::WorkerGlobalScopeDestroyedTask::performTask): (WebCore::WorkerTerminateTask::performTask): (WebCore::PostMessageToPageInspectorTask::performTask): (WebCore::WorkerGlobalScopeProxy::create): (WebCore::WorkerMessagingProxy::WorkerMessagingProxy): (WebCore::WorkerMessagingProxy::~WorkerMessagingProxy): (WebCore::WorkerMessagingProxy::startWorkerGlobalScope): (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope): (WebCore::WorkerMessagingProxy::postTaskForModeToWorkerGlobalScope): (WebCore::WorkerMessagingProxy::workerObjectDestroyedInternal): (WebCore::connectToWorkerGlobalScopeInspectorTask): (WebCore::WorkerMessagingProxy::connectToInspector): (WebCore::disconnectFromWorkerGlobalScopeInspectorTask): (WebCore::WorkerMessagingProxy::disconnectFromInspector): (WebCore::dispatchOnInspectorBackendTask): (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyed): (WebCore::WorkerMessagingProxy::workerGlobalScopeClosed): (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyedInternal): (WebCore::WorkerMessagingProxy::terminateWorkerGlobalScope): * workers/WorkerMessagingProxy.h: * workers/WorkerObjectProxy.h: * workers/WorkerReportingProxy.h: * workers/WorkerRunLoop.cpp: (WebCore::WorkerRunLoop::run): (WebCore::WorkerRunLoop::runInMode): (WebCore::WorkerRunLoop::runCleanupTasks): (WebCore::WorkerRunLoop::Task::performTask): * workers/WorkerRunLoop.h: * workers/WorkerScriptLoader.cpp: (WebCore::WorkerScriptLoader::loadSynchronously): * workers/WorkerThread.cpp: (WebCore::WorkerThread::workerThread): (WebCore::WorkerThread::runEventLoop): (WebCore::WorkerThreadShutdownFinishTask::performTask): (WebCore::WorkerThreadShutdownStartTask::performTask): (WebCore::WorkerThread::stop): * workers/WorkerThread.h: (WebCore::WorkerThread::workerGlobalScope): * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::usesDashboardBackwardCompatibilityMode): (WebCore::XMLHttpRequest::responseXML): Source/WebKit/qt: Update calls to ScriptExecutionContext::isWorkerContext() as it was renamed to ScriptExecutionContext::isWorkerGlobalScope(). * WebCoreSupport/NotificationPresenterClientQt.cpp: (WebCore::NotificationPresenterClientQt::show): (WebCore::NotificationPresenterClientQt::toPage): (WebCore::NotificationPresenterClientQt::toFrame): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Dec, 2012 1 commit
-
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=104031 Rubber stamped by Mark Hahnenberg Source/JavaScriptCore: Make room in the namespace for https://bugs.webkit.org/show_bug.cgi?id=102999. * API/JSProfilerPrivate.cpp: (JSStartProfiling): (JSEndProfiling): * CMakeLists.txt: * GNUmakefile.list.am: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: * JavaScriptCore.xcodeproj/project.pbxproj: * Target.pri: * interpreter/Interpreter.cpp: (JSC::Interpreter::throwException): (JSC::Interpreter::execute): (JSC::Interpreter::executeCall): (JSC::Interpreter::executeConstruct): * jit/JIT.h: * jit/JITCode.h: * jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION): * jit/JITStubs.h: (JSC): * llint/LLIntSlowPaths.cpp: (JSC::LLInt::LLINT_SLOW_PATH_DECL): * profiler/LegacyProfiler.cpp: Added. (JSC): (JSC::LegacyProfiler::profiler): (JSC::LegacyProfiler::startProfiling): (JSC::LegacyProfiler::stopProfiling): (JSC::dispatchFunctionToProfiles): (JSC::LegacyProfiler::willExecute): (JSC::LegacyProfiler::didExecute): (JSC::LegacyProfiler::exceptionUnwind): (JSC::LegacyProfiler::createCallIdentifier): (JSC::createCallIdentifierFromFunctionImp): * profiler/LegacyProfiler.h: Added. (JSC): (LegacyProfiler): (JSC::LegacyProfiler::currentProfiles): * profiler/ProfileGenerator.cpp: (JSC::ProfileGenerator::addParentForConsoleStart): * profiler/ProfileNode.cpp: * profiler/Profiler.cpp: Removed. * profiler/Profiler.h: Removed. * runtime/JSGlobalData.h: (JSC): (JSC::JSGlobalData::enabledProfiler): (JSGlobalData): * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::~JSGlobalObject): Source/WebCore: Just renaming, no new tests. * ForwardingHeaders/profiler/LegacyProfiler.h: Copied from Source/WebCore/ForwardingHeaders/profiler/Profiler.h. * ForwardingHeaders/profiler/Profiler.h: Removed. * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::start): (WebCore::ScriptProfiler::stop): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Sep, 2012 1 commit
-
-
loislo@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=96511 Reviewed by Yury Semikhatsky. After moving core NMI code to WTF namespace I removed forward declarations of MemoryObjectInfo and MemoryInstrumentation from WebCore headers and add forward declaration into wtf/Forward.h Source/WebCore: * bindings/v8/DOMDataStore.h: (WebCore): * bindings/v8/ScriptProfiler.h: (WebCore): * bindings/v8/V8DOMMap.h: (WebCore): * bindings/v8/V8PerIsolateData.h: (WebCore): * bindings/v8/V8ValueCache.h: (WebCore): * css/CSSProperty.h: * css/CSSRule.h: (WebCore): * css/CSSSelectorList.h: (WebCore): * css/CSSStyleDeclaration.h: (WebCore): * css/CSSStyleSheet.h: (WebCore): * css/CSSValue.h: * css/MediaList.h: (WebCore): * css/MediaQuery.h: * css/MediaQueryExp.h: * css/StylePropertySet.h: (WebCore): * css/StyleResolver.h: * css/StyleRule.h: (WebCore): * css/StyleRuleImport.h: (WebCore): * css/StyleSheetContents.h: (WebCore): * css/WebKitCSSKeyframeRule.h: * css/WebKitCSSKeyframesRule.h: (WebCore): * css/WebKitCSSMixFunctionValue.h: * dom/DocumentEventQueue.h: (WebCore): * dom/ElementAttributeData.h: (WebCore): * dom/Event.h: (WebCore): * dom/Node.h: (WebCore): * dom/WebCoreMemoryInstrumentation.cpp: (WTF): (WTF::WebCore::KURL): * dom/WebCoreMemoryInstrumentation.h: (WebCore): (WTF): * inspector/MemoryInstrumentationImpl.h: * loader/DocumentLoader.h: (WebCore): * loader/FrameLoader.h: (WebCore): * loader/ResourceLoader.h: (WebCore): * loader/SubstituteData.h: * loader/cache/CachedCSSStyleSheet.h: (WebCore): * loader/cache/CachedRawResource.h: (WebCore): * loader/cache/CachedResource.h: (WebCore): * loader/cache/CachedResourceHandle.h: * loader/cache/CachedResourceLoader.h: (WebCore): * loader/cache/CachedScript.h: (WebCore): * loader/cache/CachedShader.h: * loader/cache/CachedXSLStyleSheet.h: (WebCore): * loader/cache/MemoryCache.h: (WebCore): * page/Frame.h: (WebCore): * platform/SharedBuffer.h: * platform/graphics/CrossfadeGeneratedImage.h: (WebCore): * platform/graphics/Image.h: (WebCore): * platform/network/FormData.h: (WebCore): * platform/network/ResourceRequestBase.h: * platform/network/ResourceResponseBase.h: * rendering/style/RenderStyle.h: (WebCore): * rendering/style/StyleRareInheritedData.h: (WebCore): * rendering/style/StyleRareNonInheritedData.h: (WebCore): Source/WTF: * wtf/Forward.h: (WTF): * wtf/MemoryInstrumentation.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Aug, 2012 1 commit
-
-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=95271 Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-08-30 Reviewed by Geoffrey Garen. Source/JavaScriptCore: Having JSC::UString and WTF::String increase the complexity of working on WebKit, and add useless conversions in the bindings. It also cause some code bloat. The performance advantages of UString have been ported over in previous patches. This patch is the last step: getting rid of UString. In addition to the simplified code, this also reduce the binary size by 15kb on x86_64. * API/OpaqueJSString.cpp: (OpaqueJSString::ustring): * runtime/Identifier.h: (JSC::Identifier::ustring): To avoid changing everything at once, the function named ustring() were kept as is. They will be renamed in a follow up patch. * runtime/JSString.h: (JSC::JSString::string): (JSC::JSValue::toWTFString): (JSC::inlineJSValueNotStringtoString): (JSC::JSValue::toWTFStringInline): Since JSValue::toString() already exist (and return the JSString), the direct accessor is renamed to ::toWTFString(). We may change ::string() to ::jsString() and ::toWTFString() to ::toString() in the future. * runtime/StringPrototype.cpp: (JSC::substituteBackreferencesSlow): Replace the use of UString::getCharacters<>() by String::getCharactersWithUpconvert<>(). Source/WebCore: Update the code to use String instead of UString. On x86_64, this reduces the binary size by 22kb. Since it is no longer possible to differenciate JSC::jsString() and WebCore::jsString() by the input types, WebCore::jsString() is renated to WebCore::jsStringWithCache(). Since the cache is using a PtrHash, JSC::jsString() is used in place of the old WebCore::jsString() when the string is generated locally. This is because the cache can never match in those cases. Source/WebKit/blackberry: Replace UString by String. * WebCoreSupport/ClientExtension.cpp: * WebCoreSupport/PagePopupBlackBerry.cpp: (WebCore::PagePopupBlackBerry::installDomFunction): Source/WebKit/efl: Replace UString by String. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::sendWebIntentResponse): * ewk/ewk_frame.cpp: (ewk_frame_script_execute): Source/WebKit/gtk: Replace UString by String. * gdom/ConvertToGCharPrivate.h: (copyAsGchar): Source/WebKit/mac: Get rid of UString, replace it by String, and simplify the code when possible. On x86_64, this reduces the binary size by 7kb. * Plugins/Hosted/NetscapePluginHostProxy.mm: (identifierFromIdentifierRep): * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::addValueToArray): (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState): * Plugins/Hosted/ProxyInstance.mm: (WebKit::ProxyRuntimeMethod::create): (WebKit::ProxyRuntimeMethod::finishCreation): (WebKit::ProxyInstance::getPropertyNames): (WebKit::ProxyInstance::methodsNamed): (WebKit::ProxyInstance::fieldNamed): * WebView/WebFrame.mm: (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]): * WebView/WebScriptDebugDelegate.mm: (-[WebScriptCallFrame functionName]): (-[WebScriptCallFrame evaluateWebScript:]): * WebView/WebScriptDebugger.h: (WTF): (JSC): (WebScriptDebugger): * WebView/WebScriptDebugger.mm: (toNSURL): (WebScriptDebugger::sourceParsed): * WebView/WebView.mm: (aeDescFromJSValue): Source/WebKit/qt: Replace UString by String. * Api/qwebelement.cpp: (QWebElement::evaluateJavaScript): Source/WebKit/win: Replace UString by String. * WebFrame.cpp: (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): * WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString): Source/WebKit/wx: Update the #includes to use the correct types. * WebFrame.cpp: * WebView.cpp: Source/WebKit2: Update to code to switch from UString to String. * WebProcess/Plugins/Netscape/JSNPMethod.cpp: (WebKit::JSNPMethod::finishCreation): * WebProcess/Plugins/Netscape/JSNPMethod.h: (WebKit::JSNPMethod::create): (JSNPMethod): * WebProcess/Plugins/Netscape/JSNPObject.cpp: (WebKit::npIdentifierFromIdentifier): * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp: (WebKit::NPRuntimeObjectMap::evaluate): (WebKit::NPRuntimeObjectMap::moveGlobalExceptionToExecState): Source/WTF: * wtf/Platform.h: Useless edit to force a full build. This is needed for some bots for some reason. * wtf/text/WTFString.h: Export a symbol that was exported on UString and needed in WebCore. Add String::getCharactersWithUpconvert<>(), which is similar to String::getCharacters<>() but with the same behaviors as UString::getCharacters<>(). String::getCharactersWithUpconvert<>() is useful when manipulating multiple strings, it allow writting code using 16bits characters if any of the input String is not 8bit. Tools: Get rid of UString. * DumpRenderTree/efl/WorkQueueItemEfl.cpp: * gdb/webkit.py: (WTFStringPrinter.to_string): (JSCIdentifierPrinter.to_string): (JSCJSStringPrinter.to_string): (add_pretty_printers): Websites/webkit.org: Update the coding style to avoid mentioning a class that no longer exist. * coding/coding-style.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Jun, 2012 1 commit
-
-
adamk@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=89531 Reviewed by Kentaro Hara. Previously ScriptValue was sometimes passed by value, sometimes by const ref. For consistency and optimality, pass by const ref everywhere (except where ScriptValue is returned from non-accessor methods). No new tests, no change in behavior. * bindings/js/ScriptFunctionCall.h: (ScriptCallback): * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::getHeapObjectId): * bindings/js/ScriptProfiler.h: (ScriptProfiler): * bindings/js/WorkerScriptController.cpp: (WebCore::WorkerScriptController::setException): * bindings/js/WorkerScriptController.h: (WorkerScriptController): * bindings/v8/ScriptFunctionCall.cpp: (WebCore::ScriptCallback::ScriptCallback): * bindings/v8/ScriptFunctionCall.h: (ScriptCallback): * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::getHeapObjectId): (WebCore): * bindings/v8/ScriptProfiler.h: (ScriptProfiler): * bindings/v8/ScriptValue.h: (WebCore::ScriptValue::operator==): (WebCore::ScriptValue::operator!=): * bindings/v8/WorkerScriptController.cpp: (WebCore::WorkerScriptController::setException): * bindings/v8/WorkerScriptController.h: (WorkerScriptController): * css/MediaQueryListListener.h: (WebCore::MediaQueryListListener::create): (WebCore::MediaQueryListListener::MediaQueryListListener): * dom/CustomEvent.cpp: (WebCore::CustomEvent::initCustomEvent): * dom/CustomEvent.h: (CustomEvent): (WebCore::CustomEvent::detail): * dom/MessageEvent.h: (WebCore::MessageEvent::dataAsScriptValue): * dom/PopStateEvent.h: (WebCore::PopStateEvent::state): * inspector/InjectedScript.cpp: (WebCore::InjectedScript::wrapObject): * inspector/InjectedScript.h: (InjectedScript): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 May, 2012 1 commit
-
-
yurys@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=86211 Reviewed by Pavel Feldman. Added Profiler.getHeapObjectId command to the protocol which allows to convert remote object id to heap snapshot object id. * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::getHeapObjectId): (WebCore): * bindings/js/ScriptProfiler.h: (WebCore): (ScriptProfiler): * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::getHeapObjectId): (WebCore): * bindings/v8/ScriptProfiler.h: (WebCore): (ScriptProfiler): * inspector/InjectedScript.cpp: (WebCore::InjectedScript::findObjectById): (WebCore): * inspector/InjectedScript.h: (InjectedScript): * inspector/InjectedScriptSource.js: (.): * inspector/Inspector.json: * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::getHeapObjectId): (WebCore): * inspector/InspectorProfilerAgent.h: (InspectorProfilerAgent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Apr, 2012 1 commit
-
-
mhahnenberg@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=84897 Reviewed by Geoffrey Garen. Source/JavaScriptCore: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Exported symbol for reportAbanondedObjectGraph so WebCore can use it. * heap/Heap.h: Ditto. Source/WebCore: No new tests. Currently, GCController calls Heap::collectAllGarbage directly, which leads to an overload of collections as the timer in GCController and the timer in GCActivityCallback compete for collection time and fire independently. As a result, we end up doing almost 600 full collections during an in-browser run of SunSpider, or 20 full collections on a single load of TechCrunch. We can do better by preventing WebCore from calling collectAllGarbage directly and instead going through Heap::reportAbandonedObjectGraph, since that is what WebCore is trying to do--notify the Heap that a lot of garbage may have just been generated when we left a page. * WebCore.exp.in: * bindings/js/GCController.cpp: Removed all timer stuff. (WebCore::GCController::GCController): (WebCore::GCController::garbageCollectSoon): Changed to call Heap::reportAbandonedObjectGraph. (WebCore::GCController::garbageCollectNow): Changed to still directly call collectAllGarbage. We will deprecate this function soon hopefully. * bindings/js/GCController.h: Removed timer stuff. (GCController): * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::collectGarbage): Changed to call garbageCollectSoon. Source/WebKit2: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::didClose): Changed to call garbageCollectSoon. This is the function that causes us to do so much collection on page navigation. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 29 Feb, 2012 1 commit
-
-
yurys@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=79908 Introduced worker profiler agent. Enabled script profiling for workers. Reviewed by Pavel Feldman. * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::startForPage): (WebCore): (WebCore::ScriptProfiler::startForWorkerContext): (WebCore::ScriptProfiler::stopForPage): (WebCore::ScriptProfiler::stopForWorkerContext): * bindings/js/ScriptProfiler.h: (WebCore): (ScriptProfiler): * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::startForPage): (WebCore): (WebCore::ScriptProfiler::startForWorkerContext): (WebCore::ScriptProfiler::stopForPage): (WebCore::ScriptProfiler::stopForWorkerContext): * bindings/v8/ScriptProfiler.h: (WebCore): (ScriptProfiler): * inspector/InspectorProfilerAgent.cpp: (WebCore): (PageProfilerAgent): (WebCore::PageProfilerAgent::PageProfilerAgent): (WebCore::PageProfilerAgent::~PageProfilerAgent): (WebCore::PageProfilerAgent::startProfiling): (WebCore::PageProfilerAgent::stopProfiling): (WebCore::InspectorProfilerAgent::create): (WorkerProfilerAgent): (WebCore::WorkerProfilerAgent::WorkerProfilerAgent): (WebCore::WorkerProfilerAgent::~WorkerProfilerAgent): (WebCore::WorkerProfilerAgent::startProfiling): (WebCore::WorkerProfilerAgent::stopProfiling): (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::start): (WebCore::InspectorProfilerAgent::stop): * inspector/InspectorProfilerAgent.h: (WebCore): (InspectorProfilerAgent): * inspector/WorkerInspectorController.cpp: (WebCore::WorkerInspectorController::WorkerInspectorController): (WebCore::WorkerInspectorController::connectFrontend): (WebCore::WorkerInspectorController::disconnectFrontend): (WebCore::WorkerInspectorController::restoreInspectorStateFromCookie): * inspector/WorkerInspectorController.h: (WebCore): (WorkerInspectorController): * inspector/front-end/ProfilesPanel.js: * inspector/front-end/inspector.js: (WebInspector._createPanels): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Feb, 2012 1 commit
-
-
yurys@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=77972 When object popover is shown the object under cursor is resolved and its wrapper is put into 'popover' object wrapper group. The group is discarded when the popover closes. Reviewed by Pavel Feldman. * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::objectByHeapObjectId): * bindings/js/ScriptProfiler.h: (WebCore): (ScriptProfiler): * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::objectByHeapObjectId): (WebCore): * bindings/v8/ScriptProfiler.h: (WebCore): (ScriptProfiler): * inspector/Inspector.json: * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId): * inspector/InspectorProfilerAgent.h: (InspectorProfilerAgent): * inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent): * inspector/front-end/DetailedHeapshotView.js: (WebInspector.DetailedHeapshotView.prototype._resolveObjectForPopover): * inspector/front-end/JavaScriptSourceFrame.js: (WebInspector.JavaScriptSourceFrame): (WebInspector.JavaScriptSourceFrame.prototype._resolveObjectForPopover): (WebInspector.JavaScriptSourceFrame.prototype._onHidePopover): * inspector/front-end/ObjectPopoverHelper.js: (WebInspector.ObjectPopoverHelper): (WebInspector.ObjectPopoverHelper.prototype._showObjectPopover): (WebInspector.ObjectPopoverHelper.prototype._onHideObjectPopover): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Oct, 2011 1 commit
-
-
mnaganov@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=61179 This is exteremely helpful when dealing with DOM wrappers, as their properties are mostly implemented with getters and thus not stored in heap snapshots. Reviewed by Pavel Feldman. * English.lproj/localizedStrings.js: * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::objectByHeapObjectId): * bindings/js/ScriptProfiler.h: * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::objectByHeapObjectId): * bindings/v8/ScriptProfiler.h: * inspector/Inspector.json: * inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::create): (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId): * inspector/InspectorProfilerAgent.h: * inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.queryObjectContent): (WebInspector.HeapSnapshotGenericObjectNode): (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data): (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent.else.formatResult): (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent): (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL): * inspector/front-end/DetailedHeapshotView.js: (WebInspector.DetailedHeapshotView.prototype._showObjectPopover): * inspector/front-end/HeapSnapshot.js: (WebInspector.HeapSnapshotNode.prototype.get canBeQueried): (WebInspector.HeapSnapshotNode.prototype.get flags): (WebInspector.HeapSnapshotNode.prototype.get isDOMWindow): (WebInspector.HeapSnapshot.prototype._init): (WebInspector.HeapSnapshot.prototype.dispose): (WebInspector.HeapSnapshot.prototype._flagsOfNode): (WebInspector.HeapSnapshot.prototype._calculateFlags): (WebInspector.HeapSnapshot.prototype.updateStaticData): (WebInspector.HeapSnapshotNodesProvider.prototype._serialize): * inspector/front-end/HeapSnapshotProxy.js: (WebInspector.HeapSnapshotProxy.prototype.get nodeFlags): * inspector/front-end/RemoteObject.js: (WebInspector.RemoteObject.fromError): * inspector/front-end/heapProfiler.css: (.detailed-heapshot-view tr:not(.selected) td.object-column span.highlight): * inspector/profiler/heap-snapshot-expected.txt: * inspector/profiler/heap-snapshot-test.js: (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockWithDOM): (initialize_HeapSnapshotTest): * inspector/profiler/heap-snapshot.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Oct, 2011 2 commits
-
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/97362 https://bugs.webkit.org/show_bug.cgi?id=70039 Relies on V8 APIs that have been reverted upstream. (Requested by dglazkov on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-13 Source/WebCore: * English.lproj/localizedStrings.js: * bindings/js/ScriptProfiler.cpp: * bindings/js/ScriptProfiler.h: * bindings/v8/ScriptProfiler.cpp: * bindings/v8/ScriptProfiler.h: * inspector/Inspector.json: * inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::create): (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): * inspector/InspectorProfilerAgent.h: * inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.hoverMessage): (WebInspector.HeapSnapshotGenericObjectNode): (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data): (WebInspector.HeapSnapshotGenericObjectNode.prototype.hoverMessage): (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL): * inspector/front-end/DetailedHeapshotView.js: (WebInspector.DetailedHeapshotView.prototype._showStringContentPopover): * inspector/front-end/HeapSnapshot.js: (WebInspector.HeapSnapshot.prototype._init): (WebInspector.HeapSnapshot.prototype.dispose): (WebInspector.HeapSnapshot.prototype.updateStaticData): (WebInspector.HeapSnapshotNodesProvider.prototype._serialize): * inspector/front-end/HeapSnapshotProxy.js: * inspector/front-end/RemoteObject.js: * inspector/front-end/heapProfiler.css: LayoutTests: * inspector/profiler/heap-snapshot-expected.txt: * inspector/profiler/heap-snapshot-test.js: (initialize_HeapSnapshotTest): * inspector/profiler/heap-snapshot.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mnaganov@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=61179 This is exteremely helpful when dealing with DOM wrappers, as their properties are mostly implemented with getters and thus not stored in heap snapshots. Reviewed by Pavel Feldman. * English.lproj/localizedStrings.js: * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::objectByHeapObjectId): * bindings/js/ScriptProfiler.h: * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::objectByHeapObjectId): * bindings/v8/ScriptProfiler.h: * inspector/Inspector.json: * inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::create): (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId): * inspector/InspectorProfilerAgent.h: * inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.queryObjectContent): (WebInspector.HeapSnapshotGenericObjectNode): (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data): (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent.else.formatResult): (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent): (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL): * inspector/front-end/DetailedHeapshotView.js: (WebInspector.DetailedHeapshotView.prototype._showObjectPopover): * inspector/front-end/HeapSnapshot.js: (WebInspector.HeapSnapshotNode.prototype.get canBeQueried): (WebInspector.HeapSnapshotNode.prototype.get flags): (WebInspector.HeapSnapshotNode.prototype.get isDOMWindow): (WebInspector.HeapSnapshot.prototype._init): (WebInspector.HeapSnapshot.prototype.dispose): (WebInspector.HeapSnapshot.prototype._flagsOfNode): (WebInspector.HeapSnapshot.prototype._calculateFlags): (WebInspector.HeapSnapshot.prototype.updateStaticData): (WebInspector.HeapSnapshotNodesProvider.prototype._serialize): * inspector/front-end/HeapSnapshotProxy.js: (WebInspector.HeapSnapshotProxy.prototype.get nodeFlags): * inspector/front-end/RemoteObject.js: (WebInspector.RemoteObject.fromError): * inspector/front-end/heapProfiler.css: (.detailed-heapshot-view tr:not(.selected) td.object-column span.highlight): * inspector/profiler/heap-snapshot-expected.txt: * inspector/profiler/heap-snapshot-test.js: (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockWithDOM): (initialize_HeapSnapshotTest): * inspector/profiler/heap-snapshot.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Mar, 2011 1 commit
-
-
pfeldman@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: Need new graphic icon for garbage collect button. https://bugs.webkit.org/show_bug.cgi?id=55794 No new tests: gc tests are flaky due to non-determinisic behavior of collection APIs (more notes in bug) * English.lproj/localizedStrings.js: * WebCore.gypi: * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::collectGarbage): * bindings/js/ScriptProfiler.h: * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::collectGarbage): * bindings/v8/ScriptProfiler.h: * inspector/Inspector.idl: * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::collectGarbage): * inspector/InspectorProfilerAgent.h: * inspector/front-end/Images/garbageCollectButtonGlyph.png: Added. * inspector/front-end/TimelinePanel.js: (WebInspector.TimelinePanel.prototype.get statusBarItems): (WebInspector.TimelinePanel.prototype._createStatusbarButtons): (WebInspector.TimelinePanel.prototype._garbageCollectButtonClicked): * inspector/front-end/inspector.css: (.garbage-collect-status-bar-item .glyph): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Jan, 2011 3 commits
-
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: store all settings related to the agents on the frontend side https://bugs.webkit.org/show_bug.cgi?id=53174 * http/tests/inspector/console-xhr-logging.html: since the setting doesn't change on the front-end side there is no need to check it after modifying backend's value. * inspector/report-protocol-errors.html: use the new signature of disableDebugger method. 2011-01-27 Yury Semikhatsky <yurys@chromium.org> Reviewed by Pavel Feldman. Web Inspector: store all settings related to the agents on the frontend side https://bugs.webkit.org/show_bug.cgi?id=53174 * CMakeLists.txt: * GNUmakefile.am: * WebCore.exp.in: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScriptDebugServer.cpp: * bindings/js/ScriptDebugServer.h: * bindings/js/ScriptProfiler.cpp: * bindings/js/ScriptProfiler.h: * bindings/v8/ScriptDebugServer.cpp: * bindings/v8/ScriptDebugServer.h: * bindings/v8/ScriptProfiler.cpp: * bindings/v8/ScriptProfiler.h: * inspector/Inspector.idl: * inspector/InspectorAgent.cpp: profiler and debugger enablement state is now stored on the front-end side and will be pushed to the backend when the frontend is loaded. (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::disconnectFrontend): (WebCore::InspectorAgent::restoreDebugger): (WebCore::InspectorAgent::restoreProfiler): (WebCore::InspectorAgent::enableProfiler): (WebCore::InspectorAgent::disableProfiler): (WebCore::InspectorAgent::showAndEnableDebugger): (WebCore::InspectorAgent::enableDebugger): (WebCore::InspectorAgent::disableDebugger): * inspector/InspectorAgent.h: * inspector/InspectorConsoleAgent.cpp: XHR failures will be logged to the console only if the front-end was opened during current browser session and XHR logging is turned on there. (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled): (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled): * inspector/InspectorDebuggerAgent.cpp: * inspector/InspectorDebuggerAgent.h: * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl): (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl): * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling): * inspector/InspectorSettings.cpp: Removed. * inspector/InspectorSettings.h: Removed. * inspector/InspectorState.cpp: (WebCore::InspectorState::InspectorState): * inspector/InspectorState.h: * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessagesCleared): (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher): (WebInspector.ConsoleView.prototype._handleContextMenuEvent.itemAction): (WebInspector.ConsoleView.prototype._handleContextMenuEvent): * inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype._toggleProfiling): * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._toggleDebugging): * inspector/front-end/Settings.js: (WebInspector.Settings): * inspector/front-end/inspector.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Unreviewed, rolling out r76770. http://trac.webkit.org/changeset/76770 https://bugs.webkit.org/show_bug.cgi?id=53229 Some inspector tests fail (Requested by yurys on #webkit). * CMakeLists.txt: * GNUmakefile.am: * WebCore.exp.in: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled): * bindings/js/ScriptDebugServer.h: * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::isProfilerAlwaysEnabled): * bindings/js/ScriptProfiler.h: * bindings/v8/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled): * bindings/v8/ScriptDebugServer.h: * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::isProfilerAlwaysEnabled): * bindings/v8/ScriptProfiler.h: * inspector/Inspector.idl: * inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::disconnectFrontend): (WebCore::InspectorAgent::restoreDebugger): (WebCore::InspectorAgent::restoreProfiler): (WebCore::InspectorAgent::ensureSettingsLoaded): (WebCore::InspectorAgent::enableProfiler): (WebCore::InspectorAgent::disableProfiler): (WebCore::InspectorAgent::showAndEnableDebugger): (WebCore::InspectorAgent::enableDebugger): (WebCore::InspectorAgent::disableDebugger): * inspector/InspectorAgent.h: (WebCore::InspectorAgent::settings): * inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled): (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled): * inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::isDebuggerAlwaysEnabled): * inspector/InspectorDebuggerAgent.h: * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl): (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl): * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling): * inspector/InspectorSettings.cpp: Added. (WebCore::InspectorSettings::InspectorSettings): (WebCore::InspectorSettings::getBoolean): (WebCore::InspectorSettings::setBoolean): (WebCore::InspectorSettings::getLong): (WebCore::InspectorSettings::setLong): (WebCore::InspectorSettings::registerBoolean): (WebCore::InspectorSettings::registerLong): * inspector/InspectorSettings.h: Copied from Source/WebCore/bindings/v8/ScriptProfiler.h. * inspector/InspectorState.cpp: (WebCore::InspectorState::InspectorState): * inspector/InspectorState.h: * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.monitoringXHRStateChanged): (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher): (WebInspector.ConsoleView.prototype._handleContextMenuEvent): * inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype._toggleProfiling): * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._toggleDebugging): * inspector/front-end/Settings.js: (WebInspector.Settings): * inspector/front-end/inspector.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: store all settings related to the agents on the frontend side https://bugs.webkit.org/show_bug.cgi?id=53174 * CMakeLists.txt: * GNUmakefile.am: * WebCore.exp.in: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * inspector/Inspector.idl: * inspector/InspectorAgent.cpp: profiler and debugger enablement state is now stored on the front-end side and will be pushed to the backend when the frontend is loaded. (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::disconnectFrontend): (WebCore::InspectorAgent::restoreDebugger): (WebCore::InspectorAgent::restoreProfiler): (WebCore::InspectorAgent::enableProfiler): (WebCore::InspectorAgent::disableProfiler): (WebCore::InspectorAgent::showAndEnableDebugger): (WebCore::InspectorAgent::enableDebugger): (WebCore::InspectorAgent::disableDebugger): * inspector/InspectorAgent.h: * inspector/InspectorConsoleAgent.cpp: XHR failures will be logged to the console only if the front-end was opened during current browser session and XHR logging is turned on there. (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled): (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled): * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl): (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl): * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::enable): (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling): * inspector/InspectorProfilerAgent.h: * inspector/InspectorSettings.cpp: Removed. * inspector/InspectorSettings.h: Removed. * inspector/InspectorState.cpp: (WebCore::InspectorState::InspectorState): * inspector/InspectorState.h: * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessagesCleared): (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher): (WebInspector.ConsoleView.prototype._handleContextMenuEvent.itemAction): (WebInspector.ConsoleView.prototype._handleContextMenuEvent): * inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype._toggleProfiling): * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._toggleDebugging): * inspector/front-end/Settings.js: (WebInspector.Settings): * inspector/front-end/inspector.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Jan, 2011 1 commit
-
-
abarth@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Aug, 2010 1 commit
-
-
mnaganov@chromium.org authored
Reviewed by Pavel Feldman. Extract profiler-related code and data from InspectorController into InspectorProfilerAgent. https://bugs.webkit.org/show_bug.cgi?id=44174 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Aug, 2010 1 commit
-
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: serialize CPU profiles to InspectorValues instead of using JS wrappers. https://bugs.webkit.org/show_bug.cgi?id=43475 * Android.jscbindings.mk: * CMakeLists.txt: * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScriptProfile.h: * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::stop): * bindings/scripts/CodeGeneratorJS.pm: * bindings/v8/ScriptProfile.cpp: (WebCore::buildInspectorObjectFor): (WebCore::ScriptProfile::buildInspectorObjectForHead): * bindings/v8/ScriptProfile.h: * inspector/Inspector.idl: * inspector/InspectorController.cpp: (WebCore::InspectorController::addProfile): (WebCore::InspectorController::addProfileFinishedMessageToConsole): (WebCore::InspectorController::getProfileHeaders): (WebCore::InspectorController::getProfile): (WebCore::InspectorController::createProfileHeader): * inspector/InspectorController.h: * inspector/InspectorFrontend.cpp: * inspector/InspectorFrontend.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Apr, 2010 1 commit
-
-
barraclough@apple.com authored
Remove casts/constructors to/from JSC::UString type from WebCore::String Reviewed by Sam Weinig & Oliver Hunt. WebCore's strings should not know about JSC::UString, this should be abstracted away in the bindings. Add explicit conversion methods rather than relying on overloaded cast operators / constructors being implicitly called. This patch only changes the class String, once this has landed StringImpl, and hopefully AtomicString too, should follow suit. WebCore: This patch adds: WebCore::identifierToString WebCore::ustringToString WebCore::stringToUString - to JSDOMBindings.h, and updates code to call these methods. * WebCore.base.exp: * WebCore.order: * bindings/js/CachedScriptSourceProvider.h: (WebCore::CachedScriptSourceProvider::CachedScriptSourceProvider): * bindings/js/JSAudioConstructor.cpp: (WebCore::constructAudio): * bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::JSCSSStyleDeclaration::nameGetter): * bindings/js/JSCanvasRenderingContext2DCustom.cpp: (WebCore::toHTMLCanvasStyle): (WebCore::JSCanvasRenderingContext2D::setFillColor): (WebCore::JSCanvasRenderingContext2D::setStrokeColor): (WebCore::JSCanvasRenderingContext2D::drawImageFromRect): (WebCore::JSCanvasRenderingContext2D::setShadow): (WebCore::JSCanvasRenderingContext2D::fillText): (WebCore::JSCanvasRenderingContext2D::strokeText): * bindings/js/JSClipboardCustom.cpp: (WebCore::JSClipboard::types): (WebCore::JSClipboard::clearData): (WebCore::JSClipboard::getData): (WebCore::JSClipboard::setData): * bindings/js/JSCustomXPathNSResolver.cpp: (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI): * bindings/js/JSDOMBinding.cpp: (WebCore::identifierToString): (WebCore::ustringToString): (WebCore::stringToUString): (WebCore::valueToStringWithNullCheck): (WebCore::valueToStringWithUndefinedOrNullCheck): (WebCore::reportException): * bindings/js/JSDOMBinding.h: * bindings/js/JSDOMFormDataCustom.cpp: (WebCore::JSDOMFormData::append): * bindings/js/JSDOMWindowCustom.cpp: (WebCore::namedItemGetter): (WebCore::JSDOMWindow::setLocation): (WebCore::JSDOMWindow::openDatabase): * bindings/js/JSDatabaseCustom.cpp: (WebCore::JSDatabase::changeVersion): * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::setLocation): * bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::handleEvent): * bindings/js/JSEventSourceConstructor.cpp: (WebCore::constructEventSource): * bindings/js/JSHTMLAllCollectionCustom.cpp: (WebCore::callHTMLAllCollection): * bindings/js/JSHTMLCanvasElementCustom.cpp: (WebCore::JSHTMLCanvasElement::getContext): * bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::callHTMLCollection): * bindings/js/JSHTMLDocumentCustom.cpp: (WebCore::JSHTMLDocument::nameGetter): (WebCore::documentWrite): * bindings/js/JSInjectedScriptHostCustom.cpp: (WebCore::InjectedScriptHost::createInjectedScript): * bindings/js/JSInspectorFrontendHostCustom.cpp: (WebCore::JSInspectorFrontendHost::showContextMenu): * bindings/js/JSLazyEventListener.cpp: (WebCore::JSLazyEventListener::initializeJSFunction): * bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::setHref): (WebCore::JSLocation::setProtocol): (WebCore::JSLocation::setHost): (WebCore::JSLocation::setHostname): (WebCore::JSLocation::setPathname): (WebCore::JSLocation::setSearch): (WebCore::JSLocation::setHash): (WebCore::JSLocation::replace): (WebCore::JSLocation::assign): * bindings/js/JSMessageEventCustom.cpp: (WebCore::JSMessageEvent::initMessageEvent): * bindings/js/JSNamedNodeMapCustom.cpp: (WebCore::JSNamedNodeMap::canGetItemsForName): (WebCore::JSNamedNodeMap::nameGetter): * bindings/js/JSOptionConstructor.cpp: (WebCore::constructHTMLOptionElement): * bindings/js/JSSQLResultSetRowListCustom.cpp: (WebCore::JSSQLResultSetRowList::item): * bindings/js/JSSQLTransactionCustom.cpp: (WebCore::JSSQLTransaction::executeSql): * bindings/js/JSSharedWorkerConstructor.cpp: (WebCore::constructSharedWorker): * bindings/js/JSStorageCustom.cpp: (WebCore::JSStorage::canGetItemsForName): (WebCore::JSStorage::nameGetter): (WebCore::JSStorage::deleteProperty): (WebCore::JSStorage::getOwnPropertyNames): (WebCore::JSStorage::putDelegate): * bindings/js/JSStyleSheetListCustom.cpp: (WebCore::JSStyleSheetList::canGetItemsForName): (WebCore::JSStyleSheetList::nameGetter): * bindings/js/JSWebKitCSSMatrixConstructor.cpp: (WebCore::constructWebKitCSSMatrix): * bindings/js/JSWebSocketConstructor.cpp: (WebCore::constructWebSocket): * bindings/js/JSWebSocketCustom.cpp: (WebCore::JSWebSocket::send): * bindings/js/JSWorkerConstructor.cpp: (WebCore::constructWorker): * bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::importScripts): * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::open): (WebCore::JSXMLHttpRequest::setRequestHeader): (WebCore::JSXMLHttpRequest::send): (WebCore::JSXMLHttpRequest::overrideMimeType): * bindings/js/JSXSLTProcessorCustom.cpp: (WebCore::JSXSLTProcessor::setParameter): (WebCore::JSXSLTProcessor::getParameter): (WebCore::JSXSLTProcessor::removeParameter): * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::create): * bindings/js/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::evaluateInWorld): * bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::hasBreakpoint): (WebCore::ScriptDebugServer::dispatchDidParseSource): (WebCore::ScriptDebugServer::dispatchFailedToParseSource): (WebCore::ScriptDebugServer::sourceParsed): * bindings/js/ScriptEventListener.cpp: (WebCore::getEventListenerHandlerBody): * bindings/js/ScriptFunctionCall.cpp: (WebCore::ScriptFunctionCall::appendArgument): (WebCore::ScriptFunctionCall::call): (WebCore::ScriptFunctionCall::construct): * bindings/js/ScriptObject.cpp: (WebCore::ScriptObject::set): * bindings/js/ScriptProfiler.cpp: (WebCore::ScriptProfiler::start): (WebCore::ScriptProfiler::stop): * bindings/js/ScriptString.h: (WebCore::ScriptString::operator String): (WebCore::ScriptString::ustring): (WebCore::ScriptString::operator+=): * bindings/js/ScriptValue.cpp: (WebCore::ScriptValue::getString): * bindings/js/ScriptValue.h: (WebCore::ScriptValue::toString): * bindings/js/SerializedScriptValue.cpp: (WebCore::SerializedObject::set): (WebCore::SerializingTreeWalker::convertIfTerminal): (WebCore::DeserializingTreeWalker::putProperty): * bindings/js/StringSourceProvider.h: (WebCore::StringSourceProvider::StringSourceProvider): * bindings/objc/WebScriptObject.mm: (-[WebScriptObject callWebScriptMethod:withArguments:]): (-[WebScriptObject setValue:forKey:]): (-[WebScriptObject valueForKey:]): (-[WebScriptObject removeWebScriptKey:]): * bindings/scripts/CodeGeneratorJS.pm: * bridge/IdentifierRep.cpp: (WebCore::IdentifierRep::get): * bridge/c/c_utility.cpp: (JSC::Bindings::identifierFromNPIdentifier): * inspector/InspectorController.cpp: (WebCore::InspectorController::scriptImported): (WebCore::InspectorController::addProfileFinishedMessageToConsole): (WebCore::InspectorController::createProfileHeader): * inspector/InspectorResource.cpp: (WebCore::InspectorResource::sourceString): * inspector/JavaScriptCallFrame.cpp: (WebCore::JavaScriptCallFrame::functionName): * platform/KURL.h: (WebCore::KURL::operator const String&): * platform/text/AtomicString.cpp: (WebCore::AtomicString::operator UString): * platform/text/AtomicString.h: * platform/text/PlatformString.h: * platform/text/String.cpp: WebKit/mac: * Plugins/Hosted/NetscapePluginHostProxy.mm: (identifierFromIdentifierRep): * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::addValueToArray): (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState): * Plugins/Hosted/ProxyInstance.mm: (WebKit::ProxyInstance::getPropertyNames): * WebView/WebFrame.mm: (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]): * WebView/WebScriptDebugDelegate.mm: (-[WebScriptCallFrame evaluateWebScript:]): * WebView/WebScriptDebugger.mm: (toNSURL): * WebView/WebView.mm: (aeDescFromJSValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Feb, 2010 1 commit
-
-
eric@webkit.org authored
Reviewed by Pavel Feldman. Start unforking debugger and profiler code. Remove custom implementation of Console. Add 'ScriptProfiler' and 'ScriptProfile' types. Start migration to engine-neutral types in InspectorController. https://bugs.webkit.org/show_bug.cgi?id=34481 * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSConsoleCustom.cpp: * bindings/js/ScriptProfile.h: Added. * bindings/js/ScriptProfiler.cpp: Added. (WebCore::ScriptProfiler::start): (WebCore::ScriptProfiler::stop): * bindings/js/ScriptProfiler.h: Added. * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/ScriptProfile.h: Added. (WebCore::ScriptProfile::create): (WebCore::ScriptProfile::~ScriptProfile): (WebCore::ScriptProfile::title): (WebCore::ScriptProfile::uid): (WebCore::ScriptProfile::ScriptProfile): * bindings/v8/ScriptProfiler.cpp: Added. (WebCore::ScriptProfiler::start): (WebCore::ScriptProfiler::stop): * bindings/v8/ScriptProfiler.h: Added. * bindings/v8/custom/V8ConsoleCustom.cpp: Removed. * inspector/InspectorController.cpp: (WebCore::InspectorController::endGroup): (WebCore::InspectorController::show): (WebCore::InspectorController::setDOMStorageItem): (WebCore::InspectorController::addProfile): (WebCore::InspectorController::addProfileFinishedMessageToConsole): (WebCore::InspectorController::addStartProfilingMessageToConsole): (WebCore::InspectorController::createProfileHeader): (WebCore::InspectorController::getCurrentUserInitiatedProfileName): (WebCore::InspectorController::startUserInitiatedProfiling): (WebCore::InspectorController::stopUserInitiatedProfiling): (WebCore::InspectorController::enableDebugger): (WebCore::InspectorController::specialPanelForJSName): * inspector/InspectorController.h: (WebCore::InspectorController::searchingForNodeInPage): * page/Console.cpp: (WebCore::Console::profile): (WebCore::Console::profileEnd): * page/Console.h: (WebCore::): (WebCore::Console::create): (WebCore::Console::profiles): * page/Console.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Aug, 2009 1 commit
-
-
eric@webkit.org authored
Reviewed by Eric Seidel. [Haiku] Adding eight simple files to WebCore/platform/graphics/haiku. https://bugs.webkit.org/show_bug.cgi?id=28122 * platform/graphics/haiku/ColorHaiku.cpp: Added. (WebCore::Color::Color): (WebCore::Color::operator rgb_color): (WebCore::focusRingColor): * platform/graphics/haiku/FloatPointHaiku.cpp: Added. (WebCore::FloatPoint::FloatPoint): (WebCore::FloatPoint::operator BPoint): * platform/graphics/haiku/FloatRectHaiku.cpp: Added. (WebCore::FloatRect::FloatRect): (WebCore::FloatRect::operator BRect): * platform/graphics/haiku/GradientHaiku.cpp: Added. (WebCore::Gradient::platformDestroy): (WebCore::Gradient::platformGradient): (WebCore::Gradient::fill): * platform/graphics/haiku/IntPointHaiku.cpp: Added. (WebCore::IntPoint::IntPoint): (WebCore::IntPoint::operator BPoint): * platform/graphics/haiku/IntRectHaiku.cpp: Added. (WebCore::IntRect::IntRect): (WebCore::IntRect::operator BRect): * platform/graphics/haiku/IntSizeHaiku.cpp: Added. (WebCore::IntSize::IntSize): (WebCore::IntSize::operator BSize): * platform/graphics/haiku/PathHaiku.cpp: Added. (WebCore::Path::Path): (WebCore::Path::~Path): (WebCore::Path::operator=): (WebCore::Path::hasCurrentPoint): (WebCore::Path::contains): (WebCore::Path::translate): (WebCore::Path::boundingRect): (WebCore::Path::moveTo): (WebCore::Path::addLineTo): (WebCore::Path::addQuadCurveTo): (WebCore::Path::addBezierCurveTo): (WebCore::Path::addArcTo): (WebCore::Path::closeSubpath): (WebCore::Path::addArc): (WebCore::Path::addRect): (WebCore::Path::addEllipse): (WebCore::Path::clear): (WebCore::Path::isEmpty): (WebCore::Path::debugString): (WebCore::Path::apply): (WebCore::Path::transform): (WebCore::Path::strokeBoundingRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Aug, 2009 1 commit
-
-
abarth@webkit.org authored
Reviewed by Eric Seidel. Added four Haiku-specific files for WebCore: PopupMenuHaiku.cpp, ScreenHaiku.cpp, SearchPopupMenuHaiku.cpp and SoundHaiku.cpp https://bugs.webkit.org/show_bug.cgi?id=28080 * platform/haiku/PopupMenuHaiku.cpp: Added. (WebCore::PopupMenu::PopupMenu): (WebCore::PopupMenu::~PopupMenu): (WebCore::PopupMenu::show): (WebCore::PopupMenu::hide): (WebCore::PopupMenu::updateFromElement): (WebCore::PopupMenu::itemWritingDirectionIsNatural): * platform/haiku/ScreenHaiku.cpp: Added. (WebCore::screenRect): (WebCore::screenAvailableRect): (WebCore::screenDepth): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): * platform/haiku/SearchPopupMenuHaiku.cpp: Added. (WebCore::SearchPopupMenu::SearchPopupMenu): (WebCore::SearchPopupMenu::saveRecentSearches): (WebCore::SearchPopupMenu::loadRecentSearches): (WebCore::SearchPopupMenu::enabled): * platform/haiku/SoundHaiku.cpp: Added. (WebCore::systemBeep): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Jul, 2009 1 commit
-
-
abarth@webkit.org authored
Reviewed by Eric Seidel. Added Haiku-specific files for WebCore/page/. https://bugs.webkit.org/show_bug.cgi?id=26949 Adding three new files, DragControllerHaiku.cpp, EventHandlerHaiku.cpp and FrameHaiku.cpp * page/haiku/DragControllerHaiku.cpp: Added. (WebCore::DragController::isCopyKeyDown): (WebCore::DragController::dragOperation): (WebCore::DragController::maxDragImageSize): (WebCore::DragController::cleanupAfterSystemDrag): * page/haiku/EventHandlerHaiku.cpp: Added. (WebCore::isKeyboardOptionTab): (WebCore::EventHandler::invertSenseOfTabsToLinks): (WebCore::EventHandler::tabsToAllControls): (WebCore::EventHandler::focusDocumentView): (WebCore::EventHandler::passWidgetMouseDownEventToWidget): (WebCore::EventHandler::passMouseDownEventToWidget): (WebCore::EventHandler::eventActivatedView): (WebCore::EventHandler::passSubframeEventToSubframe): (WebCore::EventHandler::passWheelEventToWidget): (WebCore::EventHandler::createDraggingClipboard): (WebCore::EventHandler::passMousePressEventToSubframe): (WebCore::EventHandler::passMouseMoveEventToSubframe): (WebCore::EventHandler::passMouseReleaseEventToSubframe): (WebCore::EventHandler::accessKeyModifiers): * page/haiku/FrameHaiku.cpp: Added. (WebCore::Frame::dragImageForSelection): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Aug, 2008 1 commit
-
-
eric@webkit.org authored
Move more methods from Frame into ScriptController https://bugs.webkit.org/show_bug.cgi?id=20294 Finally finish more of the work which Darin started long ago Move a few more Frame methods into ScriptController. I also took this opportunity to clean up some of the plugin code as well, and moved some of that into ScriptController. I removed Frame::clearScriptController() and ScriptController::clear() is now clearWindowShell() No functional changes, thus no test cases. * GNUmakefile.am: * WebCore.NPAPI.exp: * WebCore.base.exp: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScriptController.cpp: (WebCore::ScriptController::ScriptController): (WebCore::ScriptController::~ScriptController): (WebCore::ScriptController::bindingRootObject): (WebCore::ScriptController::createRootObject): (WebCore::ScriptController::windowScriptNPObject): (WebCore::ScriptController::createScriptObjectForPluginElement): New method. (WebCore::ScriptController::clearPlatformScriptObjects): (WebCore::ScriptController::disconnectPlatformScriptObjects): (WebCore::ScriptController::cleanupScriptObjectsForPlugin): (WebCore::ScriptController::clearScriptObjects): * bindings/js/ScriptController.h: (WebCore::ScriptController::sourceURL): (WebCore::ScriptController::clearFormerWindow): * bindings/js/ScriptControllerGtk.cpp: Copied from WebCore/page/gtk/FrameGtk.cpp. (WebCore::Frame::createScriptInstanceForWidget): * bindings/js/ScriptControllerMac.mm: Added. (WebCore::ScriptController::createScriptInstanceForWidget): (WebCore::ScriptController::windowScriptObject): (WebCore::ScriptController::clearPlatformScriptObjects): (WebCore::ScriptController::disconnectPlatformScriptObjects): (WebCore::updateRenderingForBindings): (WebCore::ScriptController::initJavaJSBindings): * bindings/js/ScriptControllerQt.cpp: Copied from WebCore/page/gtk/FrameGtk.cpp. (WebCore::ScriptController::createScriptInstanceForWidget): * bindings/js/ScriptControllerWin.cpp: Copied from WebCore/svg/graphics/cg/SVGResourceMaskerCg.cpp. (WebCore::ScriptController::createScriptInstanceForWidget): * bindings/objc/DOM.mm: (-[DOMNode KJS::Bindings::]): * bindings/objc/DOMInternal.mm: (-[WebScriptObject _initializeScriptDOMNodeImp]): * bridge/jni/jni_jsobject.mm: (createRootObject): * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::renderWidgetForJSBindings): * html/HTMLAppletElement.h: * html/HTMLEmbedElement.cpp: (WebCore::findWidgetRenderer): (WebCore::HTMLEmbedElement::renderWidgetForJSBindings): * html/HTMLEmbedElement.h: * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::~HTMLObjectElement): (WebCore::HTMLObjectElement::renderWidgetForJSBindings): (WebCore::HTMLObjectElement::detach): * html/HTMLObjectElement.h: * html/HTMLPlugInElement.cpp: (WebCore::HTMLPlugInElement::~HTMLPlugInElement): (WebCore::HTMLPlugInElement::detach): (WebCore::HTMLPlugInElement::getInstance): (WebCore::HTMLPlugInElement::parseMappedAttribute): (WebCore::HTMLPlugInElement::getNPObject): * html/HTMLPlugInElement.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::clear): * page/Frame.cpp: (WebCore::Frame::Frame): (WebCore::Frame::~Frame): (WebCore::Frame::pageDestroyed): (WebCore::FramePrivate::FramePrivate): * page/Frame.h: * page/FramePrivate.h: * page/gtk/FrameGtk.cpp: * page/mac/FrameMac.mm: * page/qt/FrameQt.cpp: * page/win/FrameWin.cpp: (WebCore::computePageRectsForFrame): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Jun, 2008 1 commit
-
-
darin@apple.com authored
2008-06-14 Darin Adler <darin@apple.com> Rubber stamped by Sam. - new names for kjs_binding.h and kjs_proxy.h * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * bindings/js/JSAudioConstructor.h: * bindings/js/JSCustomSQLStatementCallback.cpp: * bindings/js/JSCustomSQLStatementErrorCallback.cpp: * bindings/js/JSCustomSQLTransactionCallback.cpp: * bindings/js/JSCustomSQLTransactionErrorCallback.cpp: * bindings/js/JSCustomVoidCallback.cpp: * bindings/js/JSCustomXPathNSResolver.cpp: * bindings/js/JSDOMBinding.cpp: Copied from WebCore/bindings/js/kjs_binding.cpp. * bindings/js/JSDOMBinding.h: Copied from WebCore/bindings/js/kjs_binding.h. * bindings/js/JSDOMWindowBase.cpp: * bindings/js/JSDOMWindowBase.h: * bindings/js/JSDOMWindowCustom.cpp: * bindings/js/JSDOMWindowShell.cpp: * bindings/js/JSDOMWindowShell.h: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSHTMLCollectionCustom.cpp: * bindings/js/JSHTMLFrameElementCustom.cpp: * bindings/js/JSHTMLFrameSetElementCustom.cpp: * bindings/js/JSHTMLIFrameElementCustom.cpp: * bindings/js/JSHTMLInputElementBase.h: * bindings/js/JSHTMLOptionElementConstructor.h: * bindings/js/JSImageConstructor.h: * bindings/js/JSLocationCustom.cpp: * bindings/js/JSNamedNodeMapCustom.cpp: * bindings/js/JSNamedNodesCollection.h: * bindings/js/JSNodeFilterCondition.cpp: * bindings/js/JSNodeFilterCustom.cpp: * bindings/js/JSRGBColor.h: * bindings/js/JSSVGPathSegCustom.cpp: * bindings/js/JSXMLHttpRequestConstructor.h: * bindings/js/JSXSLTProcessorConstructor.h: * bindings/js/JSXSLTProcessorCustom.cpp: * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::execute): * bindings/js/ScriptController.cpp: Copied from WebCore/bindings/js/kjs_proxy.cpp. * bindings/js/ScriptController.h: Copied from WebCore/bindings/js/kjs_proxy.h. * bindings/js/kjs_binding.cpp: Removed. * bindings/js/kjs_binding.h: Removed. * bindings/js/kjs_events.cpp: (WebCore::JSAbstractEventListener::handleEvent): * bindings/js/kjs_html.cpp: * bindings/js/kjs_html.h: * bindings/js/kjs_proxy.cpp: Removed. * bindings/js/kjs_proxy.h: Removed. * bindings/objc/DOMInternal.mm: * bindings/scripts/CodeGeneratorJS.pm: * bridge/jni/jni_jsobject.mm: * dom/Document.cpp: * dom/EventTarget.cpp: * dom/Node.cpp: * dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::startElementNs): * history/CachedPage.cpp: (WebCore::CachedPage::CachedPage): (WebCore::CachedPage::restore): * html/HTMLPlugInElement.cpp: * html/HTMLScriptElement.cpp: * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::processToken): * loader/FrameLoader.cpp: (WebCore::FrameLoader::executeScript): * page/Frame.cpp: (WebCore::Frame::scriptProxy): * page/Frame.h: * page/FramePrivate.h: * page/InspectorController.cpp: * page/JavaScriptDebugServer.cpp: * page/JavaScriptProfileNode.cpp: * page/Page.cpp: * page/gtk/FrameGtk.cpp: * page/mac/FrameMac.mm: * page/qt/FrameQt.cpp: * page/win/FrameWin.cpp: * plugins/PluginView.cpp: (WebCore::getString): * plugins/gtk/PluginViewGtk.cpp: * plugins/qt/PluginViewQt.cpp: * plugins/win/PluginViewWin.cpp: * svg/SVGDocumentExtensions.cpp: * xml/XMLHttpRequest.cpp: WebKit/gtk: 2008-06-14 Darin Adler <darin@apple.com> Rubber stamped by Sam. - new names for kjs_binding.h and kjs_proxy.h * WebCoreSupport/FrameLoaderClientGtk.cpp: * webkit/webkitwebframe.cpp: WebKit/mac: 2008-06-14 Darin Adler <darin@apple.com> Rubber stamped by Sam. - new names for kjs_binding.h and kjs_proxy.h * WebView/WebFrame.mm: * WebView/WebScriptDebugDelegate.mm: * WebView/WebView.mm: WebKit/qt: 2008-06-14 Darin Adler <darin@apple.com> Rubber stamped by Sam. - new names for kjs_binding.h and kjs_proxy.h * Api/qwebframe.cpp: (QWebFrame::evaluateJavaScript): * WebKit_pch.h: WebKit/win: 2008-06-14 Darin Adler <darin@apple.com> Rubber stamped by Sam. - new names for kjs_binding.h and kjs_proxy.h * WebFrame.cpp: WebKit/wx: 2008-06-14 Darin Adler <darin@apple.com> Rubber stamped by Sam. - new names for kjs_binding.h and kjs_proxy.h * WebView.cpp: WebKitTools: 2008-06-14 Darin Adler <darin@apple.com> * Scripts/do-webcore-rename: Moved planned renames into a separate hash from the actual renames. Removed many renames that are either done or no longer planned. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 May, 2008 1 commit
-
-
alp@webkit.org authored
Reviewed by Alp Toker. Qt parts OK'ed by Simon Hausmann. Based on work by several authors. https://bugs.webkit.org/show_bug.cgi?id=14750 Added support for NPAPI plugins on Gtk and Qt-x11 ports. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Apr, 2008 1 commit
-
-
weinig@apple.com authored
Reviewed by Geoffrey Garen. Make DOMAbstractView have a weak reference to the Frame instead of ref'ing the DOMWindow. To ensure that the WindowScriptObject (which is a DOMAbstractView) stays valid after a navigation once the split window is completed, the DOMAbstractView must wrap the Frame instead of a DOMWindow since the DOMWindow will change. * WebCore.xcodeproj/project.pbxproj: * bindings/objc/DOMAbstractView.mm: Added. (-[DOMAbstractView dealloc]): (-[DOMAbstractView finalize]): (-[DOMAbstractView document]): (-[DOMAbstractView _disconnectFrame]): (-[DOMAbstractView WebCore::]): (-[DOMAbstractView _initWithFrame:WebCore::]): (+[DOMAbstractView _wrapAbstractView:WebCore::]): Add custom implementation to implement weak reference semantics. * bindings/objc/DOMAbstractViewFrame.h: Added. Declare the [DOMAbstractView _disconectFrame] selector. * bindings/objc/DOMInternal.h: Remove DOMRGBColor Internal category since it is now generated. * bindings/objc/DOMUtility.mm: (KJS::createDOMWrapper): Don't ever create a DOMAbstractView from a JSDOMWindow, only from JSDOMWindowWrapper. * bindings/scripts/CodeGeneratorObjC.pm: Generate internal header for IDLs that want custom implementations. * css/RGBColor.idl: Make this a PODType as it really is in the implementation. * page/AbstractView.idl: This now needs a custom objective-c binding implementation. * page/Frame.cpp: (WebCore::Frame::~Frame): disconnect the weak frame reference in the WindowScriptObject. * page/Frame.h: * page/gtk/FrameGtk.cpp: (WebCore::Frame::disconnectPlatformScriptObjects): Dummy implementation. * page/mac/FrameMac.mm: (WebCore::Frame::windowScriptObject): ASSERT that the windowScriptObject is a DOMAbstractView. (WebCore::Frame::disconnectPlatformScriptObjects): Disconnect the frame pointer from the windowScriptObject. * page/qt/FrameQt.cpp: (WebCore::Frame::disconnectPlatformScriptObjects): Dummy implementation. * page/win/FrameWin.cpp: (WebCore::Frame::disconnectPlatformScriptObjects): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Mar, 2008 2 commits
-
-
mrowe@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Mar, 2008 1 commit
-
-
alp@webkit.org authored
GTK+ build fix for breakage introduced in r30740. Remove Frame::dashboardRegionsChanged(). There's now a default implementation at ChromeClient::dashboardRegionsChanged(). * page/gtk/FrameGtk.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Feb, 2008 1 commit
-
-
alp@webkit.org authored
Rubber-stamped by Mark Rowe. Remove all trailing whitespace in the GTK+ port and related components. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Dec, 2007 1 commit
-
-
alp@webkit.org authored
Reviewed by Alp Toker. Add missing return 0 to fix a compile warning. * page/gtk/FrameGtk.cpp: (WebCore::Frame::createScriptInstanceForWidget): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Dec, 2007 1 commit
-
-
mrowe@apple.com authored
Reviewed by Maciej Stachowiak. Define WTF_USE_NPOBJECT and WTF_USE_JAVASCRIPTCORE_BINDINGS for GTK+ Add required Frame::createScriptInstanceForWidget to FrameGtk * config.h: * page/gtk/FrameGtk.cpp (Frame::createScriptInstanceForWidget): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Dec, 2007 1 commit
-
-
aroben@apple.com authored
WebCore: Make the implementation of Frame::setNeedsReapplyStyles cross-platform Reviewed by Hyatt. No change in functionality. * page/Frame.cpp: (WebCore::Frame::setNeedsReapplyStyles): Added. Invalidates the FrameView so that FrameView::layout will be called, which ends up calling reapplyStyles. (WebCore::Frame::needsReapplyStyles): Added. (WebCore::Frame::reapplyStyles): Renamed from reparseConfiguration. (WebCore::FramePrivate::FramePrivate): * page/Frame.h: * page/FramePrivate.h: Added new boolean member. * page/FrameView.cpp: (WebCore::FrameView::layout): Call Frame::reapplyStyles if needed. (WebCore::FrameView::needsLayout): Say that we need layout if the Frame needs styles reapplied. * page/mac/WebCoreFrameBridge.h: Removed setNeedsReapplyStyles. * page/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge reapplyStylesForDeviceType:]): Updated for rename. * bridge/win/FrameWin.cpp: Removed Frame::setNeedsReapplyStyles. * page/gtk/FrameGtk.cpp: Ditto. * page/mac/FrameMac.mm: Ditto. * page/qt/FrameQt.cpp: Ditto. * platform/wx/TemporaryLinkStubs.cpp: Ditto. WebKit/mac: Remove -[WebFrameBridge setNeedsReapplyStyles] This functionality is now WebCore's responsibility. Reviewed by Hyatt. * WebCoreSupport/WebFrameBridge.mm: * WebKit.order: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Nov, 2007 1 commit
-
-
darin@apple.com authored
Reviewed by Steve. - cut down on notImplemented() functions on Windows * bridge/AXObjectCache.h: Put #if around the accessibility global. * bridge/win/FrameWin.cpp: (WebCore::Frame::setNeedsReapplyStyles): Moved here from TemporaryLinkStubs. * dom/Document.cpp: (WebCore::Document::lastModified): Re-implemented using the ResourceResponse that's now available from the DocumentLoader. * editing/JSEditor.cpp: (execTranspose): Changed to call transpose() on the Editor instead of the obsolete one on the Frame. * loader/DocumentLoader.h: Removed getResponseModifiedHeader. * loader/FrameLoader.h: Removed overrideMediaType. * loader/gtk/DocumentLoaderGtk.cpp: Removed. * loader/mac/DocumentLoaderMac.mm: Removed. * loader/qt/DocumentLoaderQt.cpp: Removed. * page/Frame.cpp: Removed transpose. * page/Frame.h: Ditto. * page/FrameView.h: Removed updateBorder. * page/gtk/FrameGtk.cpp: Removed issueTransposeCommand. * page/mac/FrameMac.mm: Ditto. * page/mac/WebCoreFrameBridge.h: Removed issueTransposeCommand and overrideMediaType. * page/qt/FrameQt.cpp: Removed issueTransposeCommand. * platform/gtk/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled. * platform/qt/TemporaryLinkStubs.cpp: Ditto. * platform/win/TemporaryLinkStubs.cpp: Removed or moved all but 3 of the stubs. * platform/wx/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled, issueTransposeCommand, and overrideMediaType. * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::loadsBlocked): Moved here from TemporaryLinkStubs. (WebCore::ResourceHandle::willLoadFromCache): Ditto. * platform/win/GraphicsContextWin.cpp: (WebCore::GraphicsContextPlatformPrivate::clip): Ditto. * platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::inWindow): Ditto. * platform/win/SystemTimeWin.cpp: (WebCore::userIdleTime): Ditto. * platform/win/WidgetWin.cpp: (WebCore::Widget::setIsSelected): Ditto. * WebCore.pro: Updated for removed files. * WebCore.xcodeproj/project.pbxproj: Updated for removed file. WebKit/mac: Reviewed by Steve. - removed some unused WebCore bridge methods * WebCoreSupport/WebFrameBridge.mm: Removed issueTransposeCommand and overrideMediaType. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::overrideMediaType): Changed to call WebView directly instead of using the bridge object. WebKit/win: Reviewed by Steve. * Interfaces/IWebUIDelegate.idl: Added the functions needed below. * WebChromeClient.cpp: (WebChromeClient::setMenubarVisible): Eliminated the notImplemented() here by calling through the UI delegate. (WebChromeClient::menubarVisible): Ditto. (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-