Web Inspector: rename ProfileView.js to CPUProfileView.js
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 May 2012 13:16:57 +0000 (13:16 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 May 2012 13:16:57 +0000 (13:16 +0000)
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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117272 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.vcproj/WebCore.vcproj
Source/WebCore/inspector/compile-front-end.py
Source/WebCore/inspector/front-end/CPUProfileView.js [moved from Source/WebCore/inspector/front-end/ProfileView.js with 99% similarity]
Source/WebCore/inspector/front-end/HeapSnapshotView.js
Source/WebCore/inspector/front-end/WebKit.qrc
Source/WebCore/inspector/front-end/inspector.html

index 218846a..55604ef 100644 (file)
@@ -1,3 +1,64 @@
+2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
+
+        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:
+
 2012-05-16  Arpita Bahuguna  <arpitabahuguna@gmail.com>
 
         "border: collapse" + "display: none" rows in the tbody while having thead or tfoot doesn't render the opposite border
index f0b70b2..f9eac37 100644 (file)
             'inspector/front-end/CookieItemsView.js',
             'inspector/front-end/CookieParser.js',
             'inspector/front-end/CookiesTable.js',
+            'inspector/front-end/CPUProfileView.js',
             'inspector/front-end/CSSCompletions.js',
             'inspector/front-end/CSSKeywordCompletions.js',
             'inspector/front-end/CSSSelectorProfileView.js',
             'inspector/front-end/ProfileDataGridTree.js',
             'inspector/front-end/ProfileLauncherView.js',
             'inspector/front-end/ProfilesPanel.js',
-            'inspector/front-end/ProfileView.js',
             'inspector/front-end/PropertiesSection.js',
             'inspector/front-end/PropertiesSidebarPane.js',
             'inspector/front-end/RawSourceCode.js',
index 203c357..6c100e9 100755 (executable)
                                        >
                                </File>
                                <File
+                                       RelativePath="..\inspector\front-end\CPUProfileView.js"
+                                       >
+                               </File>
+                               <File
                                        RelativePath="..\inspector\front-end\CSSCompletions.js"
                                        >
                                </File>
                                        >
                                </File>
                                <File
-                                       RelativePath="..\inspector\front-end\ProfileView.js"
-                                       >
-                               </File>
-                               <File
                                        RelativePath="..\inspector\front-end\PropertiesSection.js"
                                        >
                                </File>
index 2feea67..3ae969a 100755 (executable)
@@ -293,6 +293,7 @@ modules = [
         "dependencies": ["components"],
         "sources": [
             "BottomUpProfileDataGridTree.js",
+            "CPUProfileView.js",
             "CSSSelectorProfileView.js",
             "HeapSnapshot.js",
             "HeapSnapshotDataGrids.js",
@@ -305,7 +306,6 @@ modules = [
             "ProfileDataGridTree.js",
             "ProfilesPanel.js",
             "ProfileLauncherView.js",
-            "ProfileView.js",
             "TopDownProfileDataGridTree.js",
         ]
     },
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-// FIXME: Rename the file.
-
 /**
  * @constructor
  * @extends {WebInspector.View}
index 89334a0..7d87862 100644 (file)
@@ -245,7 +245,7 @@ WebInspector.HeapSnapshotView.prototype = {
         this._searchFinishedCallback = finishedCallback;
 
         function matchesByName(gridNode) {
-            return ("name" in gridNode) && gridNode.name.hasSubstring(query, true);
+            return ("_name" in gridNode) && gridNode._name.hasSubstring(query, true);
         }
 
         function matchesById(gridNode) {
index 4ca2cb2..9500e8a 100644 (file)
@@ -27,6 +27,7 @@
     <file>CookieItemsView.js</file>
     <file>CookieParser.js</file>
     <file>CookiesTable.js</file>
+    <file>CPUProfileView.js</file>
     <file>CSSCompletions.js</file>
     <file>CSSKeywordCompletions.js</file>
     <file>CSSSelectorProfileView.js</file>
     <file>ProfileDataGridTree.js</file>
     <file>ProfileLauncherView.js</file>
     <file>ProfilesPanel.js</file>
-    <file>ProfileView.js</file>
     <file>PropertiesSection.js</file>
     <file>PropertiesSidebarPane.js</file>
     <file>RawSourceCode.js</file>
index 7ee70bd..4942abb 100644 (file)
@@ -166,7 +166,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     <script type="text/javascript" src="ProfileDataGridTree.js"></script>
     <script type="text/javascript" src="BottomUpProfileDataGridTree.js"></script>
     <script type="text/javascript" src="TopDownProfileDataGridTree.js"></script>
-    <script type="text/javascript" src="ProfileView.js"></script>
+    <script type="text/javascript" src="CPUProfileView.js"></script>
     <script type="text/javascript" src="CSSSelectorProfileView.js"></script>
     <script type="text/javascript" src="HeapSnapshot.js"></script>
     <script type="text/javascript" src="HeapSnapshotProxy.js"></script>