Changeset 117272 in webkit


Ignore:
Timestamp:
May 16, 2012 6:16:57 AM (12 years ago)
Author:
yurys@chromium.org
Message:

Web Inspector: rename ProfileView.js to CPUProfileView.js
https://bugs.webkit.org/show_bug.cgi?id=86612

Reviewed by Pavel Feldman.

Renamed ProfileView.js to CPUProfileView.js to match the file content.

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/compile-front-end.py:
  • inspector/front-end/CPUProfileView.js: Renamed from Source/WebCore/inspector/front-end/ProfileView.js.

(WebInspector.CPUProfileView.profileCallback):
(WebInspector.CPUProfileView.prototype.get statusBarItems):
(WebInspector.CPUProfileView.prototype.get profile):
(WebInspector.CPUProfileView.prototype.set profile):
(WebInspector.CPUProfileView.prototype.get bottomUpProfileDataGridTree):
(WebInspector.CPUProfileView.prototype.get topDownProfileDataGridTree):
(WebInspector.CPUProfileView.prototype.get currentTree):
(WebInspector.CPUProfileView.prototype.set currentTree):
(WebInspector.CPUProfileView.prototype.willHide):
(WebInspector.CPUProfileView.prototype.refresh):
(WebInspector.CPUProfileView.prototype.refreshVisibleData):
(WebInspector.CPUProfileView.prototype.refreshShowAsPercents):
(WebInspector.CPUProfileView.prototype.searchCanceled):
(WebInspector.CPUProfileView.prototype.performSearch.matchesQuery):
(WebInspector.CPUProfileView.prototype.performSearch):
(WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult):
(WebInspector.CPUProfileView.prototype.jumpToLastSearchResult):
(WebInspector.CPUProfileView.prototype.jumpToNextSearchResult):
(WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult):
(WebInspector.CPUProfileView.prototype.showingFirstSearchResult):
(WebInspector.CPUProfileView.prototype.showingLastSearchResult):
(WebInspector.CPUProfileView.prototype._jumpToSearchResult):
(WebInspector.CPUProfileView.prototype._changeView.set else):
(WebInspector.CPUProfileView.prototype._focusClicked):
(WebInspector.CPUProfileView.prototype._excludeClicked):
(WebInspector.CPUProfileView.prototype._resetClicked):
(WebInspector.CPUProfileView.prototype._dataGridNodeSelected):
(WebInspector.CPUProfileView.prototype._dataGridNodeDeselected):
(WebInspector.CPUProfileView.prototype._sortProfile):
(WebInspector.CPUProfileView.prototype._assignParentsInProfile):
(WebInspector.CPUProfileType):
(WebInspector.CPUProfileType.prototype.get buttonTooltip):
(WebInspector.CPUProfileType.prototype.buttonClicked):
(WebInspector.CPUProfileType.prototype.get treeItemTitle):
(WebInspector.CPUProfileType.prototype.get description):
(WebInspector.CPUProfileType.prototype.isRecordingProfile):
(WebInspector.CPUProfileType.prototype.startRecordingProfile):
(WebInspector.CPUProfileType.prototype.stopRecordingProfile):
(WebInspector.CPUProfileType.prototype.setRecordingProfile):
(WebInspector.CPUProfileType.prototype.createSidebarTreeElementForProfile):
(WebInspector.CPUProfileType.prototype.createView):
(WebInspector.CPUProfileType.prototype.createTemporaryProfile):
(WebInspector.CPUProfileType.prototype.createProfile):

  • inspector/front-end/HeapSnapshotView.js:

(WebInspector.HeapSnapshotView.prototype.performSearch.matchesByName):

  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
Location:
trunk/Source/WebCore
Files:
7 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117271 r117272  
     12012-05-16  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: rename ProfileView.js to CPUProfileView.js
     4        https://bugs.webkit.org/show_bug.cgi?id=86612
     5
     6        Reviewed by Pavel Feldman.
     7
     8        Renamed ProfileView.js to CPUProfileView.js to match the file content.
     9
     10        * WebCore.gypi:
     11        * WebCore.vcproj/WebCore.vcproj:
     12        * inspector/compile-front-end.py:
     13        * inspector/front-end/CPUProfileView.js: Renamed from Source/WebCore/inspector/front-end/ProfileView.js.
     14        (WebInspector.CPUProfileView.profileCallback):
     15        (WebInspector.CPUProfileView.prototype.get statusBarItems):
     16        (WebInspector.CPUProfileView.prototype.get profile):
     17        (WebInspector.CPUProfileView.prototype.set profile):
     18        (WebInspector.CPUProfileView.prototype.get bottomUpProfileDataGridTree):
     19        (WebInspector.CPUProfileView.prototype.get topDownProfileDataGridTree):
     20        (WebInspector.CPUProfileView.prototype.get currentTree):
     21        (WebInspector.CPUProfileView.prototype.set currentTree):
     22        (WebInspector.CPUProfileView.prototype.willHide):
     23        (WebInspector.CPUProfileView.prototype.refresh):
     24        (WebInspector.CPUProfileView.prototype.refreshVisibleData):
     25        (WebInspector.CPUProfileView.prototype.refreshShowAsPercents):
     26        (WebInspector.CPUProfileView.prototype.searchCanceled):
     27        (WebInspector.CPUProfileView.prototype.performSearch.matchesQuery):
     28        (WebInspector.CPUProfileView.prototype.performSearch):
     29        (WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult):
     30        (WebInspector.CPUProfileView.prototype.jumpToLastSearchResult):
     31        (WebInspector.CPUProfileView.prototype.jumpToNextSearchResult):
     32        (WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult):
     33        (WebInspector.CPUProfileView.prototype.showingFirstSearchResult):
     34        (WebInspector.CPUProfileView.prototype.showingLastSearchResult):
     35        (WebInspector.CPUProfileView.prototype._jumpToSearchResult):
     36        (WebInspector.CPUProfileView.prototype._changeView.set else):
     37        (WebInspector.CPUProfileView.prototype._focusClicked):
     38        (WebInspector.CPUProfileView.prototype._excludeClicked):
     39        (WebInspector.CPUProfileView.prototype._resetClicked):
     40        (WebInspector.CPUProfileView.prototype._dataGridNodeSelected):
     41        (WebInspector.CPUProfileView.prototype._dataGridNodeDeselected):
     42        (WebInspector.CPUProfileView.prototype._sortProfile):
     43        (WebInspector.CPUProfileView.prototype._assignParentsInProfile):
     44        (WebInspector.CPUProfileType):
     45        (WebInspector.CPUProfileType.prototype.get buttonTooltip):
     46        (WebInspector.CPUProfileType.prototype.buttonClicked):
     47        (WebInspector.CPUProfileType.prototype.get treeItemTitle):
     48        (WebInspector.CPUProfileType.prototype.get description):
     49        (WebInspector.CPUProfileType.prototype.isRecordingProfile):
     50        (WebInspector.CPUProfileType.prototype.startRecordingProfile):
     51        (WebInspector.CPUProfileType.prototype.stopRecordingProfile):
     52        (WebInspector.CPUProfileType.prototype.setRecordingProfile):
     53        (WebInspector.CPUProfileType.prototype.createSidebarTreeElementForProfile):
     54        (WebInspector.CPUProfileType.prototype.createView):
     55        (WebInspector.CPUProfileType.prototype.createTemporaryProfile):
     56        (WebInspector.CPUProfileType.prototype.createProfile):
     57        * inspector/front-end/HeapSnapshotView.js:
     58        (WebInspector.HeapSnapshotView.prototype.performSearch.matchesByName):
     59        * inspector/front-end/WebKit.qrc:
     60        * inspector/front-end/inspector.html:
     61
    1622012-05-16  Arpita Bahuguna  <arpitabahuguna@gmail.com>
    263
  • trunk/Source/WebCore/WebCore.gypi

    r117235 r117272  
    63646364            'inspector/front-end/CookieParser.js',
    63656365            'inspector/front-end/CookiesTable.js',
     6366            'inspector/front-end/CPUProfileView.js',
    63666367            'inspector/front-end/CSSCompletions.js',
    63676368            'inspector/front-end/CSSKeywordCompletions.js',
     
    64436444            'inspector/front-end/ProfileLauncherView.js',
    64446445            'inspector/front-end/ProfilesPanel.js',
    6445             'inspector/front-end/ProfileView.js',
    64466446            'inspector/front-end/PropertiesSection.js',
    64476447            'inspector/front-end/PropertiesSidebarPane.js',
  • trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj

    r117235 r117272  
    7420674206                                </File>
    7420774207                                <File
     74208                                        RelativePath="..\inspector\front-end\CPUProfileView.js"
     74209                                        >
     74210                                </File>
     74211                                <File
    7420874212                                        RelativePath="..\inspector\front-end\CSSCompletions.js"
    7420974213                                        >
     
    7458774591                                <File
    7458874592                                        RelativePath="..\inspector\front-end\ProfilesPanel.js"
    74589                                         >
    74590                                 </File>
    74591                                 <File
    74592                                         RelativePath="..\inspector\front-end\ProfileView.js"
    7459374593                                        >
    7459474594                                </File>
  • trunk/Source/WebCore/inspector/compile-front-end.py

    r117235 r117272  
    294294        "sources": [
    295295            "BottomUpProfileDataGridTree.js",
     296            "CPUProfileView.js",
    296297            "CSSSelectorProfileView.js",
    297298            "HeapSnapshot.js",
     
    306307            "ProfilesPanel.js",
    307308            "ProfileLauncherView.js",
    308             "ProfileView.js",
    309309            "TopDownProfileDataGridTree.js",
    310310        ]
  • trunk/Source/WebCore/inspector/front-end/CPUProfileView.js

    • Property svn:eol-style set to LF
    r117271 r117272  
    2424 */
    2525
    26 // FIXME: Rename the file.
    27 
    2826/**
    2927 * @constructor
  • trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js

    r117234 r117272  
    246246
    247247        function matchesByName(gridNode) {
    248             return ("name" in gridNode) && gridNode.name.hasSubstring(query, true);
     248            return ("_name" in gridNode) && gridNode._name.hasSubstring(query, true);
    249249        }
    250250
  • trunk/Source/WebCore/inspector/front-end/WebKit.qrc

    r117235 r117272  
    2828    <file>CookieParser.js</file>
    2929    <file>CookiesTable.js</file>
     30    <file>CPUProfileView.js</file>
    3031    <file>CSSCompletions.js</file>
    3132    <file>CSSKeywordCompletions.js</file>
     
    107108    <file>ProfileLauncherView.js</file>
    108109    <file>ProfilesPanel.js</file>
    109     <file>ProfileView.js</file>
    110110    <file>PropertiesSection.js</file>
    111111    <file>PropertiesSidebarPane.js</file>
  • trunk/Source/WebCore/inspector/front-end/inspector.html

    r117235 r117272  
    167167    <script type="text/javascript" src="BottomUpProfileDataGridTree.js"></script>
    168168    <script type="text/javascript" src="TopDownProfileDataGridTree.js"></script>
    169     <script type="text/javascript" src="ProfileView.js"></script>
     169    <script type="text/javascript" src="CPUProfileView.js"></script>
    170170    <script type="text/javascript" src="CSSSelectorProfileView.js"></script>
    171171    <script type="text/javascript" src="HeapSnapshot.js"></script>
Note: See TracChangeset for help on using the changeset viewer.