Web Inspector: add runtime flag to determine if inspector's source files were flattened.
[WebKit-https.git] / Source / WebCore / ChangeLog
index cac2bd8..0903912 100644 (file)
@@ -1,3 +1,27 @@
+2013-03-04  Andrey Lushnikov  <lushnikov@chromium.org>
+
+        Web Inspector: add runtime flag to determine if inspector's source files were flattened.
+        https://bugs.webkit.org/show_bug.cgi?id=111184
+
+        Reviewed by Pavel Feldman.
+
+        - Add a file "buildSystemOnly.js" which will be included into
+        devtools.html only by GYP build system. This script sets a single flag
+        which essentially means that inspector source files were run
+        through a build system and flattened.
+        - Update "importScript" and "registerRequiredCSS" functions to correct
+        paths according to the "flattenImports" flag.
+
+        No new tests: no change in behaviour.
+
+        * WebCore.gypi:
+        * inspector/front-end/CodeMirrorTextEditor.js:
+        (WebInspector.CodeMirrorTextEditor):
+        * inspector/front-end/View.js:
+        (WebInspector.View.prototype.registerRequiredCSS):
+        * inspector/front-end/buildSystemOnly.js: Added.
+        * inspector/front-end/utilities.js:
+
 2013-03-04  Vsevolod Vlasov  <vsevik@chromium.org>
 
         Web Inspector: Fix front-end compilation
 2013-03-04  Vsevolod Vlasov  <vsevik@chromium.org>
 
         Web Inspector: Fix front-end compilation