Title: [96807] trunk/Source/WebCore
Revision
96807
Author
pfeld...@chromium.org
Date
2011-10-06 06:20:27 -0700 (Thu, 06 Oct 2011)

Log Message

Web Inspector: add 10 more front-end classes to the compilation process.
https://bugs.webkit.org/show_bug.cgi?id=69445

Reviewed by Yury Semikhatsky.

* inspector/compile-front-end.sh:
* inspector/front-end/HAREntry.js:
* inspector/front-end/HandlerRegistry.js:
* inspector/front-end/IFrameView.js:
* inspector/front-end/_javascript_SourceFrame.js:
* inspector/front-end/PanelEnablerView.js:
(WebInspector.PanelEnablerView):
* inspector/front-end/PartialQuickSort.js:
* inspector/front-end/PropertiesSidebarPane.js:
(WebInspector.PropertiesSidebarPane.prototype.update.fillSection):
(WebInspector.PropertiesSidebarPane.prototype.update):
* inspector/front-end/ShowMoreDataGridNode.js:
* inspector/front-end/SidebarTreeElement.js:
* inspector/front-end/TimelineAgent.js:
* inspector/front-end/WelcomeView.js:
* inspector/front-end/externs.js:
(WebInspector.addMainEventListeners):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (96806 => 96807)


--- trunk/Source/WebCore/ChangeLog	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/ChangeLog	2011-10-06 13:20:27 UTC (rev 96807)
@@ -1,5 +1,30 @@
 2011-10-05  Pavel Feldman  <pfeld...@google.com>
 
+        Web Inspector: add 10 more front-end classes to the compilation process.
+        https://bugs.webkit.org/show_bug.cgi?id=69445
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/compile-front-end.sh:
+        * inspector/front-end/HAREntry.js:
+        * inspector/front-end/HandlerRegistry.js:
+        * inspector/front-end/IFrameView.js:
+        * inspector/front-end/_javascript_SourceFrame.js:
+        * inspector/front-end/PanelEnablerView.js:
+        (WebInspector.PanelEnablerView):
+        * inspector/front-end/PartialQuickSort.js:
+        * inspector/front-end/PropertiesSidebarPane.js:
+        (WebInspector.PropertiesSidebarPane.prototype.update.fillSection):
+        (WebInspector.PropertiesSidebarPane.prototype.update):
+        * inspector/front-end/ShowMoreDataGridNode.js:
+        * inspector/front-end/SidebarTreeElement.js:
+        * inspector/front-end/TimelineAgent.js:
+        * inspector/front-end/WelcomeView.js:
+        * inspector/front-end/externs.js:
+        (WebInspector.addMainEventListeners):
+
+2011-10-05  Pavel Feldman  <pfeld...@google.com>
+
         Web Inspector: make ElementsTreeOutline compile
         https://bugs.webkit.org/show_bug.cgi?id=69439
 

Modified: trunk/Source/WebCore/inspector/compile-front-end.sh (96806 => 96807)


--- trunk/Source/WebCore/inspector/compile-front-end.sh	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/compile-front-end.sh	2011-10-06 13:20:27 UTC (rev 96807)
@@ -39,12 +39,14 @@
         --js Source/WebCore/inspector/front-end/treeoutline.js \
     --module jsmodule_host:1 \
         --js Source/WebCore/inspector/front-end/InspectorFrontendHostStub.js \
-    --module jsmodule_common:4:jsmodule_util,jsmodule_host \
+    --module jsmodule_common:6:jsmodule_util,jsmodule_host \
         --js Source/WebCore/inspector/front-end/BinarySearch.js \
         --js Source/WebCore/inspector/front-end/Object.js \
+        --js Source/WebCore/inspector/front-end/PartialQuickSort.js \
         --js Source/WebCore/inspector/front-end/Settings.js \
         --js Source/WebCore/inspector/front-end/UserMetrics.js \
-    --module jsmodule_sdk:23:jsmodule_common \
+        --js Source/WebCore/inspector/front-end/HandlerRegistry.js \
+    --module jsmodule_sdk:24:jsmodule_common \
         --js Source/WebCore/inspector/front-end/CompilerSourceMapping.js \
         --js Source/WebCore/inspector/front-end/CompilerSourceMappingProvider.js \
         --js Source/WebCore/inspector/front-end/ConsoleModel.js \
@@ -59,6 +61,7 @@
         --js Source/WebCore/inspector/front-end/DOMStorage.js \
         --js Source/WebCore/inspector/front-end/DebuggerModel.js \
         --js Source/WebCore/inspector/front-end/DebuggerPresentationModel.js \
+        --js Source/WebCore/inspector/front-end/HAREntry.js \
         --js Source/WebCore/inspector/front-end/Script.js \
         --js Source/WebCore/inspector/front-end/ScriptFormatter.js \
         --js Source/WebCore/inspector/front-end/RawSourceCode.js \
@@ -68,7 +71,7 @@
         --js Source/WebCore/inspector/front-end/Resource.js \
         --js Source/WebCore/inspector/front-end/NetworkManager.js \
         --js Source/WebCore/inspector/front-end/UISourceCode.js \
-    --module jsmodule_ui:29:jsmodule_common \
+    --module jsmodule_ui:35:jsmodule_common \
         --js Source/WebCore/inspector/front-end/Checkbox.js \
         --js Source/WebCore/inspector/front-end/Color.js \
         --js Source/WebCore/inspector/front-end/ContextMenu.js \
@@ -78,15 +81,20 @@
         --js Source/WebCore/inspector/front-end/Drawer.js \
         --js Source/WebCore/inspector/front-end/EmptyView.js \
         --js Source/WebCore/inspector/front-end/HelpScreen.js \
+        --js Source/WebCore/inspector/front-end/IFrameView.js \
         --js Source/WebCore/inspector/front-end/KeyboardShortcut.js \
         --js Source/WebCore/inspector/front-end/Panel.js \
+        --js Source/WebCore/inspector/front-end/PanelEnablerView.js \
         --js Source/WebCore/inspector/front-end/Placard.js \
         --js Source/WebCore/inspector/front-end/Popover.js \
         --js Source/WebCore/inspector/front-end/PropertiesSection.js \
+        --js Source/WebCore/inspector/front-end/PropertiesSidebarPane.js \
         --js Source/WebCore/inspector/front-end/SearchController.js \
         --js Source/WebCore/inspector/front-end/Section.js \
         --js Source/WebCore/inspector/front-end/SidebarPane.js \
+        --js Source/WebCore/inspector/front-end/SidebarTreeElement.js \
         --js Source/WebCore/inspector/front-end/ShortcutsScreen.js \
+        --js Source/WebCore/inspector/front-end/ShowMoreDataGridNode.js \
         --js Source/WebCore/inspector/front-end/SoftContextMenu.js \
         --js Source/WebCore/inspector/front-end/SourceTokenizer.js \
         --js Source/WebCore/inspector/front-end/StatusBarButton.js \
@@ -98,7 +106,8 @@
         --js Source/WebCore/inspector/front-end/Toolbar.js \
         --js Source/WebCore/inspector/front-end/UIUtils.js \
         --js Source/WebCore/inspector/front-end/View.js \
-    --module jsmodule_inspector:19:jsmodule_sdk,jsmodule_ui \
+        --js Source/WebCore/inspector/front-end/WelcomeView.js \
+    --module jsmodule_inspector:20:jsmodule_sdk,jsmodule_ui \
         --js Source/WebCore/inspector/front-end/ConsoleMessage.js \
         --js Source/WebCore/inspector/front-end/ConsoleView.js \
         --js Source/WebCore/inspector/front-end/ElementsTreeOutline.js \
@@ -117,4 +126,87 @@
         --js Source/WebCore/inspector/front-end/ResourceTimingView.js \
         --js Source/WebCore/inspector/front-end/ResourceView.js \
         --js Source/WebCore/inspector/front-end/SourceFrame.js \
+        --js Source/WebCore/inspector/front-end/TimelineAgent.js \
         --js Source/WebCore/inspector/front-end/TimelineManager.js
+
+# To be compiled...
+#
+# [Elements]
+# DOMBreakpointsSidebarPane
+# ElementsPanel
+# EventListenersSidebarPane
+# MetricsSidebarPane
+# StylesSidebarPane
+#
+# [Resources]
+# CookieItemsView
+# DatabaseQueryView
+# DatabaseTableView
+# DOMStorageItemsView
+# ResourcesPanel
+# 
+# [Network]
+# NetworkLog
+# NetworkPanel
+#
+# [Scripts]
+# _javascript_Formatter
+# _javascript_SourceFrame
+# ScopeChainSidebarPane
+# ScriptFormatterWorker
+# ScriptsPanel
+# WatchExpressionsSidebarPane
+# BreakpointsSidebarPane
+# CallStackSidebarPane
+#
+# [Timeline]
+# TimelineGrid
+# TimelineOverviewPane
+# TimelinePanel
+#
+# [Profiler]
+# BottomUpProfileDataGridTree
+# DetailedHeapshotGridNodes
+# DetailedHeapshotView
+# HeapSnapshot
+# HeapSnapshotProxy
+# HeapSnapshotWorker
+# HeapSnapshotWorkerDispatcher
+# ProfileDataGridTree
+# ProfilesPanel
+# ProfileView
+# TopDownProfileDataGridTree
+#
+# [Audits]
+# AuditCategories
+# AuditFormatters
+# AuditLauncherView
+# AuditResultView
+# AuditRules
+# AuditsPanel
+#
+# [Console]
+# ConsolePanel
+#
+# [Extensions]
+# ExtensionAPI
+# ExtensionAuditCategory
+# ExtensionPanel
+# ExtensionRegistryStub
+# ExtensionServer
+#
+# [Misc]
+# GoToLineDialog
+# TestController
+#
+# [Misc]
+# inspector
+# SettingsScreen
+# SourceCSSTokenizer
+# SourceHTMLTokenizer
+# SourceJavaScriptTokenizer
+#
+# [Workers]
+# InjectedFakeWorker
+# WorkerManager
+# WorkersSidebarPane

Modified: trunk/Source/WebCore/inspector/front-end/HAREntry.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/HAREntry.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/HAREntry.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -34,6 +34,9 @@
 // FIXME: Some fields are not yet supported due to back-end limitations.
 // See https://bugs.webkit.org/show_bug.cgi?id=58127 for details.
 
+/**
+ * @constructor
+ */
 WebInspector.HAREntry = function(resource)
 {
     this._resource = resource;
@@ -206,6 +209,9 @@
     return time === -1 ? -1 : Math.round(time * 1000);
 }
 
+/**
+ * @constructor
+ */
 WebInspector.HARLog = function(resources)
 {
     this._resources = resources;

Modified: trunk/Source/WebCore/inspector/front-end/HandlerRegistry.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/HandlerRegistry.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/HandlerRegistry.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -28,6 +28,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @constructor
+ * @extends {WebInspector.Object}
+ */
 WebInspector.HandlerRegistry = function(setting)
 {
     WebInspector.Object.call(this);
@@ -79,6 +83,9 @@
 
 WebInspector.HandlerRegistry.prototype.__proto__ = WebInspector.Object.prototype;
 
+/**
+ * @constructor
+ */
 WebInspector.HandlerSelector = function(handlerRegistry)
 {
     this._handlerRegistry = handlerRegistry;

Modified: trunk/Source/WebCore/inspector/front-end/IFrameView.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/IFrameView.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/IFrameView.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -28,6 +28,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @constructor
+ * @extends {WebInspector.View}
+ */
 WebInspector.IFrameView = function(parentElement, stylesheets)
 {
     this._iframeElement = document.createElement("iframe");

Modified: trunk/Source/WebCore/inspector/front-end/_javascript_SourceFrame.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/_javascript_SourceFrame.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/_javascript_SourceFrame.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -28,6 +28,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @constructor
+ * @extends {WebInspector.SourceFrame}
+ */
 WebInspector._javascript_SourceFrame = function(model, uiSourceCode)
 {
     // FIXME: move all SourceFrame methods related to _javascript_ debugging here and
@@ -38,6 +42,10 @@
 
 WebInspector._javascript_SourceFrame.prototype.__proto__ = WebInspector.SourceFrame.prototype;
 
+/**
+ * @constructor
+ * @implements {WebInspector.SourceFrameDelegate}
+ */
 WebInspector.SourceFrameDelegateForScriptsPanel = function(model, uiSourceCode)
 {
     WebInspector.SourceFrameDelegate.call(this);

Modified: trunk/Source/WebCore/inspector/front-end/PanelEnablerView.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/PanelEnablerView.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/PanelEnablerView.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -23,6 +23,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @extends {WebInspector.View}
+ * @constructor
+ */
 WebInspector.PanelEnablerView = function(identifier, headingText, disclaimerText, buttonTitle)
 {
     WebInspector.View.call(this);
@@ -59,7 +63,7 @@
     };
 
     this.enabledForSession = enableOption(WebInspector.UIString("Only enable for this session"), true);
-    this.enabledAlways = enableOption(WebInspector.UIString("Always enable"));
+    this.enabledAlways = enableOption(WebInspector.UIString("Always enable"), false);
 
     this.disclaimerElement = document.createElement("div");
     this.disclaimerElement.className = "panel-enabler-disclaimer";

Modified: trunk/Source/WebCore/inspector/front-end/PartialQuickSort.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/PartialQuickSort.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/PartialQuickSort.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -28,7 +28,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-Object.defineProperty(Array.prototype, "sortRange", { value: function(comparator, leftBound, rightBound, k)
+Object.defineProperty(Array.prototype, "sortRange", { value: 
+/** @this {Array} */
+function(comparator, leftBound, rightBound, k)
 {
     function swap(array, i1, i2)
     {

Modified: trunk/Source/WebCore/inspector/front-end/PropertiesSidebarPane.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/PropertiesSidebarPane.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/PropertiesSidebarPane.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -26,6 +26,10 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @constructor
+ * @extends {WebInspector.SidebarPane}
+ */
 WebInspector.PropertiesSidebarPane = function()
 {
     WebInspector.SidebarPane.call(this, WebInspector.UIString("Properties"));
@@ -83,7 +87,7 @@
 
             // Get array of prototype user-friendly names.
             for (var i = 0; i < prototypes.length; ++i) {
-                if (!parseInt(prototypes[i].name))
+                if (!parseInt(prototypes[i].name, 10))
                     continue;
 
                 var prototype = prototypes[i].value;

Modified: trunk/Source/WebCore/inspector/front-end/ShowMoreDataGridNode.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/ShowMoreDataGridNode.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/ShowMoreDataGridNode.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -28,6 +28,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @constructor
+ * @extends {WebInspector.DataGridNode}
+ */
 WebInspector.ShowMoreDataGridNode = function(callback, nextCount, allCount)
 {
     function populate(count)

Modified: trunk/Source/WebCore/inspector/front-end/SidebarTreeElement.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/SidebarTreeElement.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/SidebarTreeElement.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -23,6 +23,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @constructor
+ * @extends {TreeElement}
+ */
 WebInspector.SidebarSectionTreeElement = function(title, representedObject, hasChildren)
 {
     TreeElement.call(this, title.escapeHTML(), representedObject || {}, hasChildren);
@@ -63,6 +67,10 @@
 
 WebInspector.SidebarSectionTreeElement.prototype.__proto__ = TreeElement.prototype;
 
+/**
+ * @constructor
+ * @extends {TreeElement}
+ */
 WebInspector.SidebarTreeElement = function(className, title, subtitle, representedObject, hasChildren)
 {
     TreeElement.call(this, "", representedObject || {}, hasChildren);

Modified: trunk/Source/WebCore/inspector/front-end/TimelineAgent.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/TimelineAgent.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/TimelineAgent.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -28,6 +28,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @constructor
+ */
 WebInspector.TimelineAgent = function() {
     // Not implemented.
 }
@@ -66,4 +69,4 @@
     RegisterAnimationFrameCallback: "RegisterAnimationFrameCallback",
     CancelAnimationFrameCallback: "CancelAnimationFrameCallback",
     FireAnimationFrameEvent: "FireAnimationFrameEvent"
-};
+}

Modified: trunk/Source/WebCore/inspector/front-end/WelcomeView.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/WelcomeView.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/WelcomeView.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -27,6 +27,10 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**
+ * @extends {WebInspector.View}
+ * @constructor
+ */
 WebInspector.WelcomeView = function(identifier, headingText, instructionsText)
 {
     WebInspector.View.call(this);

Modified: trunk/Source/WebCore/inspector/front-end/externs.js (96806 => 96807)


--- trunk/Source/WebCore/inspector/front-end/externs.js	2011-10-06 13:15:40 UTC (rev 96806)
+++ trunk/Source/WebCore/inspector/front-end/externs.js	2011-10-06 13:20:27 UTC (rev 96807)
@@ -193,3 +193,5 @@
 WebInspector.log = function(message, messageLevel, showConsole) {}
 
 WebInspector.resourceURLForRelatedNode = function(node, url) {}
+
+WebInspector.addMainEventListeners = function(doc) {}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to