1. 29 Feb, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: enable Profiles panel for workers · f58fc046
      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
      f58fc046
  2. 08 Feb, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: inspected object wrapper should be released by InjectedScript when popover closes · a1270f83
      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
      a1270f83
  3. 17 Jan, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: provide basic information about DOM character data size · 77c496f3
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76059
      
      Memory agent allows to estimate size of DOM character data and size of WebCore
      strings held by JavaScript objects.
      
      Reviewed by Pavel Feldman.
      
      * bindings/js/ScriptProfiler.h:
      (WebCore::ScriptProfiler::visitExternalJSStrings):
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::visitExternalJSStrings):
      * bindings/v8/ScriptProfiler.h:
      * bindings/v8/V8Binding.cpp:
      (WebCore::WebCoreStringResource::visitStrings):
      (WebCore::V8BindingPerIsolateData::visitJSExternalStrings):
      * bindings/v8/V8Binding.h:
      * inspector/DOMWrapperVisitor.h:
      * inspector/Inspector.json:
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::CharacterDataStatistics::DOMTreeStatistics::DOMTreeStatistics):
      (WebCore::CharacterDataStatistics::DOMTreeStatistics::collectNodeStatistics):
      (WebCore::CharacterDataStatistics::CounterVisitor::CounterVisitor):
      (WebCore::CharacterDataStatistics::CounterVisitor::domGroups):
      (WebCore::CharacterDataStatistics::CounterVisitor::strings):
      (WebCore::CharacterDataStatistics::CounterVisitor::visitNode):
      (WebCore::CharacterDataStatistics::CounterVisitor::visitJSExternalString):
      (WebCore::InspectorMemoryAgent::getDOMNodeCount):
      * inspector/InspectorMemoryAgent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77c496f3
  4. 15 Dec, 2011 1 commit
  5. 12 Dec, 2011 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: provide per Document Node count statistics · ef02d6ed
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=74100
      
      Memory agent now returns counters for nodes with given names. For each
      object group root user will see total number of its descendtants and per
      tag name counts.
      
      This patch also moves generic CounterVisitor code out of V8 bindings. It
      may well be used with both JS engines.
      
      Reviewed by Pavel Feldman.
      
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/ScriptProfiler.h:
      (WebCore::ScriptProfiler::visitJSDOMWrappers):
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::visitJSDOMWrappers):
      * bindings/v8/ScriptProfiler.h:
      * inspector/DOMWrapperVisitor.h: Added.
      (WebCore::DOMWrapperVisitor::~DOMWrapperVisitor):
      * inspector/Inspector.json:
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::InspectorMemoryAgent::getDOMNodeCount):
      * inspector/InspectorMemoryAgent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef02d6ed
  6. 08 Dec, 2011 1 commit
  7. 06 Dec, 2011 1 commit
    • pfeldman@chromium.org's avatar
      Web Inspector: introduce a memory agent stub. · faf6d7ff
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73930
      
      Reviewed by Timothy Hatcher.
      
      We'd like to experiment with the memory stats and hence need a
      nice home for that. Adding this undocumented agent / domain for now.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/ScriptProfiler.h:
      (WebCore::ScriptProfiler::nodeCount):
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::nodeCount):
      * bindings/v8/ScriptProfiler.h:
      * inspector/Inspector.json:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorMemoryAgent.cpp: Added.
      (WebCore::InspectorMemoryAgent::~InspectorMemoryAgent):
      (WebCore::InspectorMemoryAgent::getNodeCounter):
      (WebCore::InspectorMemoryAgent::InspectorMemoryAgent):
      * inspector/InspectorMemoryAgent.h: Added.
      (WebCore::InspectorMemoryAgent::create):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      faf6d7ff
  8. 17 Oct, 2011 1 commit
    • mnaganov@chromium.org's avatar
      Web Inspector: [Chromium] Add an ability to look up and explore an object from a heap profile. · 90b24e89
      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
      90b24e89
  9. 13 Oct, 2011 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r97362. · 33998592
      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
      33998592
    • mnaganov@chromium.org's avatar
      Web Inspector: [Chromium] Add an ability to look up and explore an object from a heap profile. · 32d0638d
      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
      32d0638d
  10. 01 Sep, 2011 1 commit
  11. 21 Jun, 2011 1 commit
    • mnaganov@chromium.org's avatar
      2011-06-21 Mikhail Naganov <mnaganov@chromium.org> · aa5ba81b
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Remove old (aggregating) heap profiler.
              https://bugs.webkit.org/show_bug.cgi?id=63049
      
              * inspector/profiler/detailed-heapshots-test.js:
      
      2011-06-21  Mikhail Naganov  <mnaganov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Remove old (aggregating) heap profiler.
              https://bugs.webkit.org/show_bug.cgi?id=63049
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * inspector/Inspector.json:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/DetailedHeapshotView.js:
              (WebInspector.DetailedHeapshotView.prototype.get profile):
              (WebInspector.DetailedHeapshotView.prototype.get baseProfile):
              (WebInspector.DetailedHeapshotView.prototype._profiles):
              (WebInspector.DetailedHeapshotProfileType):
              (WebInspector.DetailedHeapshotProfileType.prototype.buttonClicked):
              * inspector/front-end/HeapSnapshotView.js: Removed.
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot):
              (WebInspector.ProfilesPanel.prototype._addHeapSnapshotChunk):
              (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.parsed):
              (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot):
              (WebInspector.ProfilesPanel.prototype.takeHeapSnapshot):
              (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
              (WebInspector.ProfilesPanel.prototype._enableDetailedHeapProfiles):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/heapProfiler.css:
              * inspector/front-end/inspector.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa5ba81b
  12. 06 Jun, 2011 1 commit
  13. 16 Mar, 2011 1 commit
    • mnaganov@chromium.org's avatar
      2011-03-16 Mikhail Naganov <mnaganov@chromium.org> · 82aef340
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [Chromium] Report object groups and single DOM-related objects
              to the new heap profiler.
              https://bugs.webkit.org/show_bug.cgi?id=53659
      
              * Android.v8bindings.mk:
              * WebCore.gypi:
              * WebCore.pro:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/RetainedDOMInfo.cpp: Added.
              (WebCore::RetainedDOMInfo::RetainedDOMInfo):
              * bindings/v8/RetainedDOMInfo.h: Added.
              * bindings/v8/RetainedObjectInfo.h: Added.
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::retainedDOMInfo):
              (WebCore::ScriptProfiler::initialize):
              * bindings/v8/ScriptProfiler.h:
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::V8DOMWindowShell::initContextIfNeeded):
              * bindings/v8/V8GCController.cpp:
              (WebCore::GroupId::GrouperItem::GrouperItem):
              (WebCore::GroupId::GrouperItem::groupId):
              (WebCore::GroupId::GrouperItem::createRetainedObjectInfo):
              (WebCore::calculateGroupId):
              (WebCore::GrouperVisitor::visitDOMWrapper):
              (WebCore::GrouperVisitor::applyGrouping):
              * bindings/v8/WrapperTypeInfo.h:
              * inspector/front-end/DetailedHeapshotGridNodes.js:
              (WebInspector.HeapSnapshotConstructorNode):
              (WebInspector.HeapSnapshotConstructorNode.prototype._createNodesProvider):
              (WebInspector.HeapSnapshotDiffNode):
              (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider.createProvider):
              (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider):
              * inspector/front-end/DetailedHeapshotView.js:
              (WebInspector.HeapSnapshotRetainingPathsList.prototype.setDataSource):
              (WebInspector.HeapSnapshotRetainingPathsList.prototype.refresh):
              (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext.startSearching):
              (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext):
              (WebInspector.HeapSnapshotRetainingPathsList.prototype._setRootChildrenForFinder):
              (WebInspector.DetailedHeapshotView.prototype._changeRetainingPathsRoot):
              (WebInspector.DetailedHeapshotView.prototype.get isTracingToWindowObjects):
              * inspector/front-end/HeapSnapshot.js:
              (WebInspector.HeapSnapshotNode.prototype.get className):
              (WebInspector.HeapSnapshot.prototype._buildAggregates):
              (WebInspector.HeapSnapshotPathFinder.prototype.updateRoots):
              (WebInspector.HeapSnapshotPathFinder.prototype._fillRootChildren):
              * inspector/front-end/heapProfiler.css:
              (.detailed-heapshot-view .retaining-paths-view .title > span):
              (.detailed-heapshot-view .retaining-paths-to-windows):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82aef340
  14. 10 Mar, 2011 1 commit
    • pfeldman@chromium.org's avatar
      2011-03-10 Greg Simon <gregsimon@chromium.org> · b35e6870
      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
      b35e6870
  15. 27 Jan, 2011 3 commits
    • yurys@chromium.org's avatar
      2011-01-27 Yury Semikhatsky <yurys@chromium.org> · 591972aa
      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
      591972aa
    • yurys@chromium.org's avatar
      2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com> · ffb351e8
      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
      ffb351e8
    • yurys@chromium.org's avatar
      2011-01-26 Yury Semikhatsky <yurys@chromium.org> · 84d95409
      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
      84d95409
  16. 25 Jan, 2011 1 commit
    • mnaganov@chromium.org's avatar
      2011-01-25 Mikhail Naganov <mnaganov@chromium.org> · 8d2d9a40
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots.
      
              - Introduce Preferences.detailedHeapProfiles flag for controlling
                querying of detailed heap snapshots.
              - Add boilerplate code for the new view.
              - Factor out common code.
      
              https://bugs.webkit.org/show_bug.cgi?id=52624
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/ScriptProfiler.h:
              (WebCore::ScriptProfiler::HeapSnapshotControl::~HeapSnapshotControl):
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.h:
              (WebCore::ScriptProfiler::HeapSnapshotControl::~HeapSnapshotControl):
              * inspector/Inspector.idl:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/DetailedHeapshotView.js: Added.
              (WebInspector.DetailedHeapshotView):
              (WebInspector.DetailedHeapshotView.prototype.get statusBarItems):
              (WebInspector.DetailedHeapshotView.prototype.get profile):
              (WebInspector.DetailedHeapshotView.prototype.set profile):
              (WebInspector.DetailedHeapshotView.prototype.show):
              (WebInspector.DetailedHeapshotView.prototype.hide):
              (WebInspector.DetailedHeapshotProfileType):
              (WebInspector.DetailedHeapshotProfileType.prototype.get buttonTooltip):
              (WebInspector.DetailedHeapshotProfileType.prototype.get buttonStyle):
              (WebInspector.DetailedHeapshotProfileType.prototype.buttonClicked):
              (WebInspector.DetailedHeapshotProfileType.prototype.get welcomeMessage):
              (WebInspector.DetailedHeapshotProfileType.prototype.createSidebarTreeElementForProfile):
              (WebInspector.DetailedHeapshotProfileType.prototype.createView):
              * inspector/front-end/HeapSnapshot.js: Added.
              (WebInspector.HeapSnapshotEdgesIterator):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get done):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get isElement):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get isHidden):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get name):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.next):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get node):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get nodeIndex):
              (WebInspector.HeapSnapshotEdgesIterator.prototype._getNameOrIndex):
              (WebInspector.HeapSnapshotEdgesIterator.prototype._getType):
              (WebInspector.HeapSnapshotNodeWrapper):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get edges):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get edgesCount):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get instancesCount):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get isHidden):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get name):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get selfSize):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getName):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getEdges):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getType):
              (WebInspector.HeapSnapshot):
              (WebInspector.HeapSnapshot.prototype._init):
              (WebInspector.HeapSnapshot.prototype.get rootEdges):
              * inspector/front-end/HeapSnapshotView.js:
              (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._setRecordingProfile):
              (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
              (WebInspector.ProfilerDispatcher.prototype.setRecordingProfile):
              (WebInspector.ProfilerDispatcher.prototype.reportHeapSnapshotProgress):
              * inspector/front-end/Settings.js:
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              * inspector/front-end/inspector.js:
              (WebInspector._createPanels):
              * src/js/DevTools.js:
              ():
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d2d9a40
  17. 08 Jan, 2011 1 commit
  18. 13 Oct, 2010 2 commits
  19. 26 Aug, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-08-26 Mikhail Naganov <mnaganov@chromium.org> · 06106af7
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Store heap snapshots in InspectorProfilerAgent.
      
              Change the way heap snapshots are transported to Inspector
              to be aligned with CPU profiles. As a result, the Heap snapshots
              view of Profiles panel was upstreamed into WebCore.
      
              https://bugs.webkit.org/show_bug.cgi?id=44531
      
              * English.lproj/localizedStrings.js:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptHeapSnapshot.h: Added.
              (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot):
              (WebCore::ScriptHeapSnapshot::title):
              (WebCore::ScriptHeapSnapshot::uid):
              (WebCore::ScriptHeapSnapshot::buildInspectorObjectForHead):
              (WebCore::ScriptHeapSnapshot::ScriptHeapSnapshot):
              * bindings/js/ScriptProfiler.h:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptHeapSnapshot.cpp: Added.
              (WebCore::ScriptHeapSnapshot::title):
              (WebCore::ScriptHeapSnapshot::uid):
              (WebCore::buildInspectorObjectFor):
              (WebCore::ScriptHeapSnapshot::buildInspectorObjectForHead):
              * bindings/v8/ScriptHeapSnapshot.h: Added.
              (WebCore::ScriptHeapSnapshot::create):
              (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot):
              (WebCore::ScriptHeapSnapshot::ScriptHeapSnapshot):
              * bindings/v8/ScriptProfile.cpp:
              (WebCore::buildInspectorObjectFor):
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.h:
              * inspector/Inspector.idl:
              * inspector/InspectorBackend.cpp:
              * inspector/InspectorBackend.h:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::createSnapshotHeader):
              (WebCore::InspectorProfilerAgent::getProfileHeaders):
              (WebCore::InspectorProfilerAgent::getProfile):
              (WebCore::InspectorProfilerAgent::removeProfile):
              (WebCore::InspectorProfilerAgent::resetState):
              (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/HeapSnapshotView.js: Added.
              (WebInspector.HeapSnapshotView.profileCallback):
              (WebInspector.HeapSnapshotView.resetCompleted):
              (WebInspector.HeapSnapshotView):
              (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
              (WebInspector.HeapSnapshotView.prototype.get profile):
              (WebInspector.HeapSnapshotView.prototype.set profile):
              (WebInspector.HeapSnapshotView.prototype.show):
              (WebInspector.HeapSnapshotView.prototype.hide):
              (WebInspector.HeapSnapshotView.prototype.resize):
              (WebInspector.HeapSnapshotView.prototype.refresh):
              (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
              (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
              (WebInspector.HeapSnapshotView.prototype.searchCanceled):
              (WebInspector.HeapSnapshotView.prototype.performSearch):
              (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
              (WebInspector.HeapSnapshotView.prototype._changeBase.resetCompleted):
              (WebInspector.HeapSnapshotView.prototype._changeBase):
              (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
              (WebInspector.HeapSnapshotView.prototype._getProfiles):
              (WebInspector.HeapSnapshotView.prototype._loadProfile.loadedCallback):
              (WebInspector.HeapSnapshotView.prototype._loadProfile):
              (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
              (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
              (WebInspector.HeapSnapshotView.prototype._percentClicked):
              (WebInspector.HeapSnapshotView.prototype._prepareProfile.mergeRetainers):
              (WebInspector.HeapSnapshotView.prototype._prepareProfile):
              (WebInspector.HeapSnapshotView.prototype._resetDataGridList.profileLoaded):
              (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
              (WebInspector.HeapSnapshotView.prototype._sortData):
              (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
              (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
              (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
              (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
              (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
              (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
              (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
              (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
              (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
              (WebInspector.HeapSummaryCalculator):
              (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
              (WebInspector.HeapSummaryCalculator.prototype.formatValue):
              (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
              (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
              (WebInspector.HeapSummaryCountCalculator):
              (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
              (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
              (WebInspector.HeapSummarySizeCalculator):
              (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
              (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
              (WebInspector.HeapSnapshotDataGridNode):
              (WebInspector.HeapSnapshotDataGridList):
              (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
              (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
              (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
              (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
              (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
              (WebInspector.HeapSnapshotDataGridList.propertyComparator):
              (WebInspector.HeapSnapshotDataGridRetainerNode):
              (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
              (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
              (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
              (WebInspector.HeapSnapshotProfileType):
              (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
              (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
              (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
              (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
              (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
              (WebInspector.HeapSnapshotProfileType.prototype.createView):
              * inspector/front-end/ProfileView.js:
              (WebInspector.CPUProfileView):
              (WebInspector.CPUProfileType.prototype.createSidebarTreeElementForProfile):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype.addProfileHeader):
              (WebInspector.ProfilesPanel.prototype.removeProfileHeader):
              (WebInspector.ProfilesPanel.prototype.getProfiles):
              (WebInspector.ProfilesPanel.prototype.updateProfile):
              (WebInspector.ProfileSidebarTreeElement):
              (WebInspector.ProfileSidebarTreeElement.prototype.get mainTitle):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.css:
              (.heap-snapshot-sidebar-tree-item .icon):
              (.heap-snapshot-sidebar-tree-item.small .icon):
              (.heap-snapshot-view):
              (.heap-snapshot-view.visible):
              (.heap-snapshot-view .data-grid):
              (.heap-snapshot-view .data-grid th.count-column):
              (.heap-snapshot-view .data-grid td.count-column):
              (.heap-snapshot-view .data-grid th.size-column):
              (.heap-snapshot-view .data-grid td.size-column):
              (.heap-snapshot-view .data-grid th.countDelta-column):
              (.heap-snapshot-view .data-grid td.countDelta-column):
              (.heap-snapshot-view .data-grid th.sizeDelta-column):
              (.heap-snapshot-view .data-grid td.sizeDelta-column):
              (#heap-snapshot-summary-container):
              (.heap-snapshot-summary):
              (.heap-snapshot-summary canvas.summary-graph):
              (.heap-snapshot-summary-label):
              * inspector/front-end/inspector.html:
              * inspector/front-end/inspector.js:
              (WebInspector._createPanels):
      
              * DEPS:
              * WebKit.gypi:
              * src/js/DevTools.js:
              ():
              * src/js/HeapProfilerPanel.js: Removed.
              * src/js/ProfilerAgent.js: Removed.
              * src/js/ProfilerProcessor.js: Removed.
              * src/js/devTools.css:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06106af7
  20. 23 Aug, 2010 1 commit
  21. 03 Aug, 2010 1 commit
    • pfeldman@chromium.org's avatar
      2010-08-02 Pavel Feldman <pfeldman@chromium.org> · cfb6ac75
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Chromium DevTools: Get rid of DevTools RPC.
      
              https://bugs.webkit.org/show_bug.cgi?id=43335
      
              * bindings/js/ScriptProfiler.h:
              (WebCore::ScriptProfiler::getProfilerLogLines):
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::getProfilerLogLines):
              * bindings/v8/ScriptProfiler.h:
              * inspector/Inspector.idl:
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::takeHeapSnapshot):
              (WebCore::InspectorBackend::getProfilerLogLines):
              * inspector/InspectorBackend.h:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::disableProfiler):
              * inspector/InspectorController.h:
              * inspector/InspectorFrontend.h:
              * inspector/front-end/InspectorBackendStub.js:
              (WebInspector.InspectorBackendStub):
      
      2010-08-02  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Chromium DevTools: Get rid of DevTools RPC.
      
              https://bugs.webkit.org/show_bug.cgi?id=43335
      
              * WebKit.gyp:
              * public/WebDevToolsAgent.h:
              * public/WebDevToolsAgentClient.h:
              (WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend):
              (WebKit::WebDevToolsAgentClient::sendDebuggerOutput):
              (WebKit::WebDevToolsAgentClient::sendDispatchToAPU):
              * public/WebDevToolsFrontend.h:
              * public/WebDevToolsFrontendClient.h:
              (WebKit::WebDevToolsFrontendClient::sendMessageToBackend):
              * public/WebDevToolsMessageData.h: Removed.
              * public/WebDevToolsMessageTransport.h: Removed.
              * src/APUAgentDelegate.h: Removed.
              * src/DebuggerAgent.h: Removed.
              * src/DebuggerAgentImpl.cpp:
              (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
              (WebKit::DebuggerAgentImpl::debuggerOutput):
              * src/DebuggerAgentImpl.h:
              * src/DebuggerAgentManager.cpp:
              (WebKit::DebuggerAgentManager::debugDetach):
              (WebKit::DebuggerAgentManager::onV8DebugMessage):
              (WebKit::DebuggerAgentManager::executeDebuggerCommand):
              (WebKit::DebuggerAgentManager::sendCommandToV8):
              (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
              * src/DevToolsRPC.h: Removed.
              * src/DevToolsRPCJS.h: Removed.
              * src/InspectorClientImpl.cpp:
              * src/InspectorFrontendClientImpl.cpp:
              (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
              * src/ProfilerAgent.h: Removed.
              * src/ProfilerAgentImpl.cpp: Removed.
              * src/ProfilerAgentImpl.h: Removed.
              * src/ToolsAgent.h: Removed.
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::):
              (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
              (WebKit::WebDevToolsAgentImpl::attach):
              (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
              (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend):
              (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
              (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
              * src/WebDevToolsAgentImpl.h:
              * src/WebDevToolsFrontendImpl.cpp:
              (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
              (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
              (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
              (WebKit::WebDevToolsFrontendImpl::executeScript):
              * src/WebDevToolsFrontendImpl.h:
              * src/js/DevTools.js:
              (devtools.dispatch):
              (devtools.ToolsAgent):
              * src/js/DevToolsHostStub.js:
              * src/js/ProfilerAgent.js:
              (devtools.ProfilerAgent):
      
      2010-08-02  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Chromium DevTools: Get rid of DevTools RPC.
      
              https://bugs.webkit.org/show_bug.cgi?id=43335
      
              * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
              (DRTDevToolsAgent::sendMessageToInspectorFrontend):
              (DRTDevToolsAgent::call):
              * DumpRenderTree/chromium/DRTDevToolsAgent.h:
              * DumpRenderTree/chromium/DRTDevToolsCallArgs.h:
              (DRTDevToolsCallArgs::DRTDevToolsCallArgs):
              * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
              (DRTDevToolsClient::sendMessageToBackend):
              (DRTDevToolsClient::call):
              * DumpRenderTree/chromium/DRTDevToolsClient.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfb6ac75
  22. 18 Jun, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-06-18 Mikhail Naganov <mnaganov@chromium.org> · 6f5ef6e0
      mnaganov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              WebInspector: Implement 'takeHeapSnapshot' in InspectorController.
      
              https://bugs.webkit.org/show_bug.cgi?id=40834
      
              * bindings/js/ScriptProfiler.h:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.h:
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::takeHeapSnapshot):
              * inspector/InspectorBackend.h:
              * inspector/InspectorBackend.idl:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::takeHeapSnapshot):
              * inspector/InspectorController.h:
      
              * src/js/HeapProfilerPanel.js:
              (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
              * src/js/InspectorControllerImpl.js:
              (devtools.InspectorBackendImpl):
              * src/js/ProfilerAgent.js:
              (devtools.ProfilerAgent.prototype.startProfiling):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f5ef6e0
  23. 11 Jun, 2010 1 commit
  24. 13 Apr, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-04-12 Mikhail Naganov <mnaganov@chromium.org> · 0ac76585
      mnaganov@chromium.org authored
      Replace hand-written JavaScriptProfile* bindings with idl-based, and
      in Chromium port, bind them to the new V8's profiler API that is
      aligned with JSC.
      
      https://bugs.webkit.org/show_bug.cgi?id=37448
      
      	* DerivedSources.cpp:
      	* DerivedSources.make:
      	* GNUmakefile.am:
      	* WebCore.gypi:
      	* WebCore.pro:
      	* WebCore.vcproj/WebCore.vcproj:
      	* WebCore.xcodeproj/project.pbxproj:
      	* bindings/js/JSBindingsAllInOne.cpp:
      	* bindings/js/JSConsoleCustom.cpp:
      	* bindings/js/JSScriptProfileNodeCustom.cpp: Added.
      	(WebCore::JSScriptProfileNode::callUID):
      	(WebCore::JSScriptProfileNode::children):
      	* bindings/js/JavaScriptProfile.cpp: Removed.
      	* bindings/js/JavaScriptProfile.h: Removed.
      	* bindings/js/JavaScriptProfileNode.cpp: Removed.
      	* bindings/js/JavaScriptProfileNode.h: Removed.
      	* bindings/js/ScriptProfileNode.h: Added.
      	* bindings/scripts/CodeGeneratorJS.pm:
      	* bindings/scripts/CodeGeneratorV8.pm:
      	* bindings/v8/ScriptProfile.cpp: Added.
      	(WebCore::ScriptProfile::title):
      	(WebCore::ScriptProfile::uid):
      	(WebCore::ScriptProfile::head):
      	* bindings/v8/ScriptProfile.h:
      	(WebCore::ScriptProfile::create):
      	(WebCore::ScriptProfile::ScriptProfile):
      	* bindings/v8/ScriptProfileNode.cpp: Added.
      	(WebCore::ScriptProfileNode::functionName):
      	(WebCore::ScriptProfileNode::url):
      	(WebCore::ScriptProfileNode::lineNumber):
      	(WebCore::ScriptProfileNode::totalTime):
      	(WebCore::ScriptProfileNode::selfTime):
      	(WebCore::ScriptProfileNode::numberOfCalls):
      	(WebCore::ScriptProfileNode::children):
      	(WebCore::ScriptProfileNode::visible):
      	(WebCore::ScriptProfileNode::callUID):
      	* bindings/v8/ScriptProfileNode.h: Added.
      	(WebCore::ScriptProfileNode::create):
      	(WebCore::ScriptProfileNode::~ScriptProfileNode):
      	(WebCore::ScriptProfileNode::ScriptProfileNode):
      	* bindings/v8/ScriptProfiler.cpp:
      	(WebCore::ScriptProfiler::start):
      	(WebCore::ScriptProfiler::stop):
      	* bindings/v8/custom/V8ConsoleCustom.cpp: Added.
      	(WebCore::V8Console::profilesAccessorGetter):
      	* bindings/v8/custom/V8ScriptProfileCustom.cpp: Added.
      	(WebCore::toV8):
      	* bindings/v8/custom/V8ScriptProfileNodeCustom.cpp: Added.
      	(WebCore::V8ScriptProfileNode::childrenAccessorGetter):
      	(WebCore::V8ScriptProfileNode::callUIDAccessorGetter):
      	(WebCore::toV8):
      	* inspector/InspectorController.cpp:
      	(WebCore::InspectorController::getProfile):
      	* inspector/ScriptProfile.idl: Added.
      	* inspector/ScriptProfileNode.idl: Added.
      	* inspector/front-end/InspectorBackendStub.js:
      	(.WebInspector.InspectorBackendStub.prototype.getProfile):
      	* inspector/front-end/ProfilesPanel.js:
      	(WebInspector.ProfilesPanel.prototype.populateInterface):
      	(WebInspector.ProfilesPanel.prototype.profilerWasEnabled):
      	* page/Console.idl:
      	* platform/android/TemporaryLinkStubs.cpp:
      	* src/js/InspectorControllerImpl.js:
      	(devtools.InspectorBackendImpl):
      	* src/js/ProfilerAgent.js:
      	(devtools.ProfilerAgent):
      	(devtools.ProfilerAgent.prototype.initializeProfiling):
      	(devtools.ProfilerAgent.prototype._didGetActiveProfilerModules):
      	(devtools.ProfilerAgent.prototype._didGetLogLines):
      	* src/js/Tests.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ac76585
  25. 03 Feb, 2010 1 commit
    • eric@webkit.org's avatar
      2010-02-03 Mikhail Naganov <mnaganov@chromium.org> · cd8a5d51
      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
      cd8a5d51
  26. 22 Jan, 2010 1 commit
    • eric@webkit.org's avatar
      2010-01-22 Anton Muhin <antonm@chromium.org> · 3d8be96e
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Adding ScriptWrappable into WebCore.
              This allows to associate custom information when Node
              gets wrapped into JavaScript wrapper.
      
              [v8, dom] Add a pointer field to C++ Node class
              https://bugs.webkit.org/show_bug.cgi?id=32430
      
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptWrappable.h: Added.
              (WebCore::ScriptWrappable::ScriptWrappable):
              * bindings/v8/ScriptWrappable.h: Added.
              (WebCore::ScriptWrappable::ScriptWrappable):
              (WebCore::ScriptWrappable::wrapper):
              (WebCore::ScriptWrappable::setWrapper):
              (WebCore::ScriptWrappable::clearWrapper):
              * dom/Node.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d8be96e
  27. 14 Jan, 2009 1 commit
    • darin@chromium.org's avatar
      2009-01-14 Darin Fisher <darin@chromium.org> · 30339669
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=23328
              Upstream remaining files from platform/chromium/
      
              * platform/chromium/CursorChromium.cpp:
              (WebCore::pointerCursor):
              (WebCore::crossCursor):
              (WebCore::handCursor):
              (WebCore::iBeamCursor):
              (WebCore::waitCursor):
              (WebCore::helpCursor):
              (WebCore::eastResizeCursor):
              (WebCore::northResizeCursor):
              (WebCore::northEastResizeCursor):
              (WebCore::northWestResizeCursor):
              (WebCore::southResizeCursor):
              (WebCore::southEastResizeCursor):
              (WebCore::southWestResizeCursor):
              (WebCore::westResizeCursor):
              (WebCore::northSouthResizeCursor):
              (WebCore::eastWestResizeCursor):
              (WebCore::northEastSouthWestResizeCursor):
              (WebCore::northWestSouthEastResizeCursor):
              (WebCore::columnResizeCursor):
              (WebCore::rowResizeCursor):
              (WebCore::middlePanningCursor):
              (WebCore::eastPanningCursor):
              (WebCore::northPanningCursor):
              (WebCore::northEastPanningCursor):
              (WebCore::northWestPanningCursor):
              (WebCore::southPanningCursor):
              (WebCore::southEastPanningCursor):
              (WebCore::southWestPanningCursor):
              (WebCore::westPanningCursor):
              (WebCore::moveCursor):
              (WebCore::verticalTextCursor):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::aliasCursor):
              (WebCore::progressCursor):
              (WebCore::noDropCursor):
              (WebCore::copyCursor):
              (WebCore::noneCursor):
              (WebCore::notAllowedCursor):
              (WebCore::zoomInCursor):
              (WebCore::zoomOutCursor):
              * platform/chromium/DragDataRef.h: Added.
              * platform/chromium/DragImageChromium.cpp: Added.
              (WebCore::dragImageSize):
              (WebCore::deleteDragImage):
              (WebCore::scaleDragImage):
              (WebCore::dissolveDragImageToFraction):
              (WebCore::createDragImageFromImage):
              (WebCore::createDragImageIconForCachedImage):
              * platform/chromium/DragImageRef.h:
              * platform/chromium/KeyCodeConversion.h: Added.
              * platform/chromium/KeyCodeConversionGtk.cpp: Added.
              (WebCore::windowsKeyCodeForKeyEvent):
              * platform/chromium/KeyboardCodes.h: Added.
              * platform/chromium/KeyboardCodesPosix.h: Added.
              (WebCore::):
              * platform/chromium/KeyboardCodesWin.h: Added.
              (WebCore::):
              * platform/chromium/Language.cpp: Added.
              (WebCore::defaultLanguage):
              * platform/chromium/LinkHashChromium.cpp: Added.
              (WebCore::visitedLinkHash):
              * platform/chromium/MimeTypeRegistryChromium.cpp: Added.
              (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
              (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
              (WebCore::MIMETypeRegistry::getMIMETypeForPath):
              (WebCore::MIMETypeRegistry::isSupportedImageMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedImageResourceMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedImageMIMETypeForEncoding):
              (WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
              (WebCore::MIMETypeRegistry::isSupportedMediaMIMEType):
              (WebCore::MIMETypeRegistry::isJavaAppletMIMEType):
              (WebCore::dummyHashSet):
              (WebCore::MIMETypeRegistry::getSupportedImageMIMETypes):
              (WebCore::MIMETypeRegistry::getSupportedImageResourceMIMETypes):
              (WebCore::MIMETypeRegistry::getSupportedImageMIMETypesForEncoding):
              (WebCore::MIMETypeRegistry::getSupportedNonImageMIMETypes):
              (WebCore::MIMETypeRegistry::getSupportedMediaMIMETypes):
              * platform/chromium/PasteboardChromium.cpp: Added.
              (WebCore::Pasteboard::generalPasteboard):
              (WebCore::Pasteboard::Pasteboard):
              (WebCore::Pasteboard::clear):
              (WebCore::Pasteboard::writeSelection):
              (WebCore::Pasteboard::writeURL):
              (WebCore::Pasteboard::writeImage):
              (WebCore::Pasteboard::canSmartReplace):
              (WebCore::Pasteboard::plainText):
              (WebCore::Pasteboard::documentFragment):
              * platform/chromium/PasteboardPrivate.h:
              * platform/chromium/PlatformCursor.h: Added.
              (WebCore::PlatformCursor::):
              (WebCore::PlatformCursor::PlatformCursor):
              (WebCore::PlatformCursor::customImage):
              (WebCore::PlatformCursor::hotSpot):
              (WebCore::PlatformCursor::type):
              * platform/chromium/PlatformKeyboardEventChromium.cpp: Added.
              (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent):
              (WebCore::PlatformKeyboardEvent::currentCapsLockState):
              * platform/chromium/PlatformScreenChromium.cpp: Added.
              (WebCore::screenDepth):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
              * platform/chromium/PlatformWidget.h:
              * platform/chromium/PopupMenuChromium.cpp: Added.
              (WebCore::PopupListBox::selectedIndex):
              (WebCore::PopupListBox::numItems):
              (WebCore::PopupListBox::setBaseWidth):
              (WebCore::PopupListBox::setTextOnIndexChange):
              (WebCore::PopupListBox::setAcceptOnAbandon):
              (WebCore::PopupListBox::):
              (WebCore::PopupListBox::ListItem::ListItem):
              (WebCore::PopupListBox::PopupListBox):
              (WebCore::PopupListBox::~PopupListBox):
              (WebCore::PopupListBox::disconnectClient):
              (WebCore::PopupListBox::scrollToRevealSelection):
              (WebCore::constructRelativeMouseEvent):
              (WebCore::constructRelativeWheelEvent):
              (WebCore::PopupContainer::create):
              (WebCore::PopupContainer::PopupContainer):
              (WebCore::PopupContainer::~PopupContainer):
              (WebCore::PopupContainer::showPopup):
              (WebCore::PopupContainer::hidePopup):
              (WebCore::PopupContainer::layout):
              (WebCore::PopupContainer::handleMouseDownEvent):
              (WebCore::PopupContainer::handleMouseMoveEvent):
              (WebCore::PopupContainer::handleMouseReleaseEvent):
              (WebCore::PopupContainer::handleWheelEvent):
              (WebCore::PopupContainer::handleKeyEvent):
              (WebCore::PopupContainer::hide):
              (WebCore::PopupContainer::paint):
              (WebCore::PopupContainer::paintBorder):
              (WebCore::PopupContainer::isInterestedInEventForKey):
              (WebCore::PopupContainer::show):
              (WebCore::PopupContainer::setTextOnIndexChange):
              (WebCore::PopupContainer::setAcceptOnAbandon):
              (WebCore::PopupContainer::refresh):
              (WebCore::PopupListBox::handleMouseDownEvent):
              (WebCore::PopupListBox::handleMouseMoveEvent):
              (WebCore::PopupListBox::handleMouseReleaseEvent):
              (WebCore::PopupListBox::handleWheelEvent):
              (WebCore::PopupListBox::isInterestedInEventForKey):
              (WebCore::PopupListBox::handleKeyEvent):
              (WebCore::PopupListBox::hostWindow):
              (WebCore::PopupListBox::invalidateRect):
              (WebCore::stripLeadingWhiteSpace):
              (WebCore::PopupListBox::typeAheadFind):
              (WebCore::PopupListBox::paint):
              (WebCore::PopupListBox::paintRow):
              (WebCore::PopupListBox::getRowFont):
              (WebCore::PopupListBox::abandon):
              (WebCore::PopupListBox::pointToRowIndex):
              (WebCore::PopupListBox::acceptIndex):
              (WebCore::PopupListBox::selectIndex):
              (WebCore::PopupListBox::setOriginalIndex):
              (WebCore::PopupListBox::getRowHeight):
              (WebCore::PopupListBox::getRowBounds):
              (WebCore::PopupListBox::invalidateRow):
              (WebCore::PopupListBox::scrollToRevealRow):
              (WebCore::PopupListBox::isSelectableItem):
              (WebCore::PopupListBox::adjustSelectedIndex):
              (WebCore::PopupListBox::updateFromElement):
              (WebCore::PopupListBox::layout):
              (WebCore::PopupListBox::clear):
              (WebCore::PopupListBox::isPointInBounds):
              (WebCore::PopupMenu::PopupMenu):
              (WebCore::PopupMenu::~PopupMenu):
              (WebCore::PopupMenu::show):
              (WebCore::PopupMenu::hide):
              (WebCore::PopupMenu::updateFromElement):
              (WebCore::PopupMenu::itemWritingDirectionIsNatural):
              * platform/chromium/PopupMenuChromium.h: Added.
              (WebCore::PopupContainer::listBox):
              * platform/chromium/PopupMenuPrivate.h: Added.
              * platform/chromium/SSLKeyGeneratorChromium.cpp: Added.
              (WebCore::supportedKeySizes):
              * platform/chromium/ScrollbarThemeChromium.cpp: Added.
              (WebCore::ScrollbarTheme::nativeTheme):
              (WebCore::ScrollbarThemeChromium::ScrollbarThemeChromium):
              (WebCore::ScrollbarThemeChromium::~ScrollbarThemeChromium):
              (WebCore::ScrollbarThemeChromium::themeChanged):
              (WebCore::ScrollbarThemeChromium::hasThumb):
              (WebCore::ScrollbarThemeChromium::backButtonRect):
              (WebCore::ScrollbarThemeChromium::forwardButtonRect):
              (WebCore::ScrollbarThemeChromium::trackRect):
              (WebCore::ScrollbarThemeChromium::paintTrackBackground):
              (WebCore::ScrollbarThemeChromium::paintTickmarks):
              (WebCore::ScrollbarThemeChromium::paintScrollCorner):
              (WebCore::ScrollbarThemeChromium::shouldCenterOnThumb):
              (WebCore::ScrollbarThemeChromium::buttonSize):
              * platform/chromium/ScrollbarThemeChromium.h: Added.
              (WebCore::ScrollbarThemeChromium::hasButtons):
              * platform/chromium/ScrollbarThemeChromiumLinux.cpp: Added.
              (WebCore::ScrollbarThemeChromium::scrollbarThickness):
              (WebCore::ScrollbarThemeChromium::invalidateOnMouseEnterExit):
              (WebCore::initMozState):
              (WebCore::paintScrollbarWidget):
              (WebCore::ScrollbarThemeChromium::paintTrackPiece):
              (WebCore::ScrollbarThemeChromium::paintButton):
              (WebCore::ScrollbarThemeChromium::paintThumb):
              * platform/chromium/ScrollbarThemeChromiumWin.cpp:
              * platform/chromium/SearchPopupMenuChromium.cpp: Added.
              (WebCore::SearchPopupMenu::SearchPopupMenu):
              (WebCore::SearchPopupMenu::enabled):
              (WebCore::SearchPopupMenu::saveRecentSearches):
              (WebCore::SearchPopupMenu::loadRecentSearches):
              * platform/chromium/SharedTimerChromium.cpp: Added.
              (WebCore::setSharedTimerFiredFunction):
              (WebCore::setSharedTimerFireTime):
              (WebCore::stopSharedTimer):
              * platform/chromium/TemporaryLinkStubs.cpp: Added.
              (WebCore::signedPublicKeyAndChallengeString):
              (WebCore::getSupportedKeySizes):
              (WebCore::KURL::fileSystemPath):
              (WebCore::SharedBuffer::createWithContentsOfFile):
              (WTF::scheduleDispatchFunctionsOnMainThread):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30339669
  28. 13 Jan, 2009 1 commit
    • darin@chromium.org's avatar
      2009-01-13 Darin Fisher <darin@chromium.org> · 0e8acfa7
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              Landing portions of platform/chromium/, taken from here:
              http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/WebKit/WebCore/platform/chromium/
      
              * platform/chromium/ChromiumBridge.h: Added.
              * platform/chromium/ChromiumDataObject.cpp: Added.
              (WebCore::ChromiumDataObject::clear):
              (WebCore::ChromiumDataObject::hasData):
              * platform/chromium/ChromiumDataObject.h: Added.
              (WebCore::ChromiumDataObject::create):
              (WebCore::ChromiumDataObject::ChromiumDataObject):
              * platform/chromium/ClipboardChromium.cpp: Added.
              (WebCore::):
              (WebCore::clipboardTypeFromMIMEType):
              (WebCore::ClipboardChromium::ClipboardChromium):
              (WebCore::ClipboardChromium::create):
              (WebCore::ClipboardChromium::clearData):
              (WebCore::ClipboardChromium::clearAllData):
              (WebCore::ClipboardChromium::getData):
              (WebCore::ClipboardChromium::setData):
              (WebCore::ClipboardChromium::types):
              (WebCore::ClipboardChromium::setDragImage):
              (WebCore::ClipboardChromium::setDragImageElement):
              (WebCore::ClipboardChromium::createDragImage):
              (WebCore::imageToMarkup):
              (WebCore::getCachedImage):
              (WebCore::writeImageToDataObject):
              (WebCore::ClipboardChromium::declareAndWriteDragImage):
              (WebCore::ClipboardChromium::writeURL):
              (WebCore::ClipboardChromium::writeRange):
              (WebCore::ClipboardChromium::hasData):
              * platform/chromium/ClipboardChromium.h: Added.
              (WebCore::ClipboardChromium::~ClipboardChromium):
              (WebCore::ClipboardChromium::dataObject):
              * platform/chromium/ClipboardUtilitiesChromium.cpp: Added.
              (WebCore::replaceNewlinesWithWindowsStyleNewlines):
              (WebCore::replaceNBSPWithSpace):
              (WebCore::urlToMarkup):
              * platform/chromium/ClipboardUtilitiesChromium.h: Added.
              * platform/chromium/ContextMenuChromium.cpp: Added.
              (WebCore::ContextMenu::ContextMenu):
              (WebCore::ContextMenu::~ContextMenu):
              (WebCore::ContextMenu::itemCount):
              (WebCore::ContextMenu::insertItem):
              (WebCore::ContextMenu::appendItem):
              (WebCore::ContextMenu::itemWithAction):
              (WebCore::ContextMenu::itemAtIndex):
              (WebCore::ContextMenu::setPlatformDescription):
              (WebCore::ContextMenu::platformDescription):
              (WebCore::ContextMenu::releasePlatformDescription):
              * platform/chromium/ContextMenuItemChromium.cpp: Added.
              (WebCore::ContextMenuItem::ContextMenuItem):
              (WebCore::ContextMenuItem::~ContextMenuItem):
              (WebCore::ContextMenuItem::releasePlatformDescription):
              (WebCore::ContextMenuItem::type):
              (WebCore::ContextMenuItem::action):
              (WebCore::ContextMenuItem::title):
              (WebCore::ContextMenuItem::platformSubMenu):
              (WebCore::ContextMenuItem::setType):
              (WebCore::ContextMenuItem::setAction):
              (WebCore::ContextMenuItem::setTitle):
              (WebCore::ContextMenuItem::setSubMenu):
              (WebCore::ContextMenuItem::setChecked):
              (WebCore::ContextMenuItem::setEnabled):
              (WebCore::ContextMenuItem::enabled):
              * platform/chromium/CursorChromium.cpp: Added.
              (WebCore::Cursor::Cursor):
              (WebCore::Cursor::~Cursor):
              (WebCore::Cursor::operator=):
              (WebCore::pointerCursor):
              (WebCore::crossCursor):
              (WebCore::handCursor):
              (WebCore::iBeamCursor):
              (WebCore::waitCursor):
              (WebCore::helpCursor):
              (WebCore::eastResizeCursor):
              (WebCore::northResizeCursor):
              (WebCore::northEastResizeCursor):
              (WebCore::northWestResizeCursor):
              (WebCore::southResizeCursor):
              (WebCore::southEastResizeCursor):
              (WebCore::southWestResizeCursor):
              (WebCore::westResizeCursor):
              (WebCore::northSouthResizeCursor):
              (WebCore::eastWestResizeCursor):
              (WebCore::northEastSouthWestResizeCursor):
              (WebCore::northWestSouthEastResizeCursor):
              (WebCore::columnResizeCursor):
              (WebCore::rowResizeCursor):
              (WebCore::middlePanningCursor):
              (WebCore::eastPanningCursor):
              (WebCore::northPanningCursor):
              (WebCore::northEastPanningCursor):
              (WebCore::northWestPanningCursor):
              (WebCore::southPanningCursor):
              (WebCore::southEastPanningCursor):
              (WebCore::southWestPanningCursor):
              (WebCore::westPanningCursor):
              (WebCore::moveCursor):
              (WebCore::verticalTextCursor):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::aliasCursor):
              (WebCore::progressCursor):
              (WebCore::noDropCursor):
              (WebCore::copyCursor):
              (WebCore::noneCursor):
              (WebCore::notAllowedCursor):
              (WebCore::zoomInCursor):
              (WebCore::zoomOutCursor):
              (WebCore::grabCursor):
              (WebCore::grabbingCursor):
              * platform/chromium/DragDataChromium.cpp: Added.
              (WebCore::containsHTML):
              (WebCore::DragData::createClipboard):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::containsFiles):
              (WebCore::DragData::asFilenames):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::asFragment):
              (WebCore::DragData::asColor):
              * platform/chromium/EditorChromium.cpp: Added.
              (WebCore::Editor::newGeneralClipboard):
              * platform/chromium/FileChooserChromium.cpp: Added.
              (WebCore::FileChooser::basenameForWidth):
              * platform/chromium/FileSystemChromium.cpp: Added.
              (WebCore::deleteFile):
              (WebCore::deleteEmptyDirectory):
              (WebCore::getFileSize):
              (WebCore::getFileModificationTime):
              (WebCore::directoryName):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
              (WebCore::fileExists):
              * platform/chromium/FileSystemChromiumLinux.cpp: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FileSystemChromiumMac.mm: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FileSystemChromiumWin.cpp: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FramelessScrollView.cpp: Added.
              (WebCore::FramelessScrollView::~FramelessScrollView):
              (WebCore::FramelessScrollView::invalidateScrollbarRect):
              (WebCore::FramelessScrollView::isActive):
              (WebCore::FramelessScrollView::invalidateRect):
              (WebCore::FramelessScrollView::hostWindow):
              (WebCore::FramelessScrollView::windowClipRect):
              (WebCore::FramelessScrollView::paintContents):
              (WebCore::FramelessScrollView::contentsResized):
              (WebCore::FramelessScrollView::visibleContentsResized):
              * platform/chromium/FramelessScrollView.h: Added.
              (WebCore::FramelessScrollView::FramelessScrollView):
              (WebCore::FramelessScrollView::client):
              (WebCore::FramelessScrollView::setClient):
              * platform/chromium/FramelessScrollViewClient.h: Added.
              * platform/chromium/ScrollbarThemeChromiumWin.cpp: Added.
              (WebCore::):
              (WebCore::ScrollbarThemeChromium::scrollbarThickness):
              (WebCore::ScrollbarThemeChromium::invalidateOnMouseEnterExit):
              (WebCore::ScrollbarThemeChromium::paintTrackPiece):
              (WebCore::ScrollbarThemeChromium::paintButton):
              (WebCore::ScrollbarThemeChromium::paintThumb):
              (WebCore::ScrollbarThemeChromium::getThemeState):
              (WebCore::ScrollbarThemeChromium::getThemeArrowState):
              (WebCore::ScrollbarThemeChromium::getClassicThemeState):
              * platform/chromium/SoundChromiumPosix.cpp: Added.
              (WebCore::systemBeep):
              * platform/chromium/SoundChromiumWin.cpp: Added.
              (WebCore::systemBeep):
              * platform/chromium/SystemTimeChromium.cpp: Added.
              (WebCore::currentTime):
              (WebCore::userIdleTime):
              * platform/chromium/WidgetChromium.cpp: Added.
              (WebCore::Widget::Widget):
              (WebCore::Widget::~Widget):
              (WebCore::Widget::show):
              (WebCore::Widget::hide):
              (WebCore::Widget::setCursor):
              (WebCore::Widget::paint):
              (WebCore::Widget::setFocus):
              (WebCore::Widget::setIsSelected):
              (WebCore::Widget::frameRect):
              (WebCore::Widget::setFrameRect):
              * platform/chromium/WindowsVersion.cpp: Added.
              (WebCore::isVistaOrNewer):
              * platform/chromium/WindowsVersion.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e8acfa7
  29. 09 Jan, 2009 1 commit
    • darin@chromium.org's avatar
      2009-01-09 Darin Fisher <darin@chromium.org> · 45f77239
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=23214
              Upstream platform/network/chromium/
      
              * platform/network/chromium/AuthenticationChallenge.h: Added.
              (WebCore::AuthenticationChallenge::AuthenticationChallenge):
              (WebCore::AuthenticationChallenge::sourceHandle):
              * platform/network/chromium/AuthenticationChallengeChromium.cpp: Added.
              (WebCore::AuthenticationChallenge::platformCompare):
              * platform/network/chromium/CookieJarChromium.cpp: Added.
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookiesEnabled):
              * platform/network/chromium/DNSChromium.cpp: Added.
              (WebCore::prefetchDNS):
              * platform/network/chromium/NetworkStateNotifierChromium.cpp: Added.
              (WebCore::NetworkStateNotifier::updateState):
              (WebCore::NetworkStateNotifier::NetworkStateNotifier):
              * platform/network/chromium/NetworkStateNotifierPrivate.h: Added.
              * platform/network/chromium/ResourceError.h: Added.
              (WebCore::ResourceError::ResourceError):
              * platform/network/chromium/ResourceRequest.h: Added.
              (WebCore::ResourceRequest::):
              (WebCore::ResourceRequest::ResourceRequest):
              (WebCore::ResourceRequest::frame):
              (WebCore::ResourceRequest::setFrame):
              (WebCore::ResourceRequest::setTargetType):
              (WebCore::ResourceRequest::targetType):
              (WebCore::ResourceRequest::originPid):
              (WebCore::ResourceRequest::setOriginPid):
              (WebCore::ResourceRequest::securityInfo):
              (WebCore::ResourceRequest::setSecurityInfo):
              (WebCore::ResourceRequest::doUpdatePlatformRequest):
              (WebCore::ResourceRequest::doUpdateResourceRequest):
              * platform/network/chromium/ResourceResponse.h:
              (WebCore::ResourceResponse::ResourceResponse):
              (WebCore::ResourceResponse::getSecurityInfo):
              (WebCore::ResourceResponse::setSecurityInfo):
              (WebCore::ResourceResponse::isContentFiltered):
              (WebCore::ResourceResponse::setIsContentFiltered):
              (WebCore::ResourceResponse::doUpdateResourceResponse):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45f77239
  30. 06 Jan, 2009 1 commit
    • eric@webkit.org's avatar
      Reviewed by Gavin Barraclough. · f39bd282
      eric@webkit.org authored
              Upstream 3 more files to get the WebCore-Chromium build a bit further.
      
              * WebCore.scons:
              * page/chromium/AccessibilityObjectChromium.cpp: Added.
              (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
              * page/chromium/AccessibilityObjectWrapper.h: Added.
              (WebCore::AccessibilityObjectWrapper::~AccessibilityObjectWrapper):
              (WebCore::AccessibilityObjectWrapper::attached):
              (WebCore::AccessibilityObjectWrapper::accessibilityObject):
              (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper):
              * platform/chromium/PasteboardPrivate.h: Added.
              (WebCore::PasteboardPrivate::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f39bd282
  31. 25 Nov, 2008 1 commit
  32. 24 Nov, 2008 1 commit
    • darin@chromium.org's avatar
      2008-11-24 Darin Fisher <darin@chromium.org> · 6b41247a
      darin@chromium.org authored
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=22448
              Create an abstraction for JSC::SourceCode
      
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/CachedScriptSourceProvider.h:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptSourceCode.h: Added.
              (WebCore::ScriptSourceCode::ScriptSourceCode):
              (WebCore::ScriptSourceCode::length):
              (WebCore::ScriptSourceCode::jsSourceCode):
              * bindings/js/WorkerScriptController.cpp:
              (WebCore::Workevn ScriptController::evaluate):
              * bindings/js/WorkerScriptController.h:
              * dom/ScriptElement.cpp:
              (WebCore::ScriptElement::insertedIntoDocument):
              (WebCore::ScriptElement::childrenChanged):
              (WebCore::ScriptElementData::evaluateScript):
              (WebCore::ScriptElementData::notifyFinished):
              * dom/ScriptElement.h:
              * dom/WorkerThread.cpp:
              (WebCore::WorkerThread::workerThread):
              * dom/WorkerThread.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::notifyFinished):
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::endElementNs):
              * dom/XMLTokenizerQt.cpp:
              (WebCore::XMLTokenizer::parseEndElement):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              (WebCore::HTMLTokenizer::scriptExecution):
              (WebCore::HTMLTokenizer::notifyFinished):
              * html/HTMLTokenizer.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeScript):
              * loader/FrameLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b41247a
  33. 19 Nov, 2008 1 commit
    • darin@chromium.org's avatar
      2008-11-18 Darin Fisher <darin@chromium.org> · cd84840e
      darin@chromium.org authored
              Reviewed by Geoff Garen.
      
              https://bugs.webkit.org/show_bug.cgi?id=22345
              Define ScriptValue as a thin container for a JSC::Value*.
      
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScheduledAction.cpp:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptValue.cpp: Added.
              (WebCore::ScriptValue::getString):
              * bindings/js/ScriptValue.h: Added.
              (WebCore::ScriptValue::ScriptValue):
              (WebCore::ScriptValue::jsValue):
              * dom/ScriptElement.cpp:
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizerLibxml2.cpp:
              * html/HTMLTokenizer.cpp:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeIfJavaScriptURL):
              (WebCore::FrameLoader::executeScript):
              * loader/FrameLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd84840e