DevTools: fix DevTools docs after blink rename
Renames "WebKit/source" to "blink/renderer" references in DevTools.
Skipping presubmit for protocol.json and CodeMirror (usually
requires words "roll CodeMirror" in description when making changes
in cm/ or cm_modes/).
NOPRESUBMIT=true
Bug: none
Change-Id: Iadb44142a5ae1058dae656b93e904c7636f1fa32
Reviewed-on: https://chromium-review.googlesource.com/1003033
Reviewed-by: Dmitry Gozman <[email protected]>
Commit-Queue: Erik Luo <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#549220}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aff59449a34f98ed04cd94547f0ceaaf25d38f71
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index f19f443..5ecc368 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -87,7 +87,7 @@
popen(format_args).communicate()
return [
- output_api.PresubmitError("ERROR: Found formatting violations in third_party/WebKit/Source/devtools.\n"
+ output_api.PresubmitError("ERROR: Found formatting violations in third_party/blink/renderer/devtools.\n"
"Ran clang-format on diff\n"
"Use git status to check the formatting changes"),
output_api.PresubmitError(format_out),
diff --git a/front_end/cm/PRESUBMIT.py b/front_end/cm/PRESUBMIT.py
index 354b013..152fbaa 100644
--- a/front_end/cm/PRESUBMIT.py
+++ b/front_end/cm/PRESUBMIT.py
@@ -32,7 +32,7 @@
"rolls from the upstream (http://codemirror.net). If this is a roll, "
"make sure you mention 'roll CodeMirror' (no quotes) in the change description.\n"
"CodeMirror rolling instructions:\n"
- " src/third_party/WebKit/Source/devtools/front_end/cm/README.md")
+ " src/third_party/blink/renderer/devtools/front_end/cm/README.md")
changeDescription = input_api.change.DescriptionText()
errors = []
if not "roll codemirror" in changeDescription.lower():
diff --git a/front_end/cm_modes/PRESUBMIT.py b/front_end/cm_modes/PRESUBMIT.py
index 57ab9d0..c8858df 100644
--- a/front_end/cm_modes/PRESUBMIT.py
+++ b/front_end/cm_modes/PRESUBMIT.py
@@ -8,7 +8,7 @@
"rolls from the upstream (http://codemirror.net). If this is a roll, "
"make sure you mention 'roll CodeMirror' (no quotes) in the change description.\n"
"CodeMirror rolling instructions:\n"
- " src/third_party/WebKit/Source/devtools/front_end/cm/README.md")
+ " src/third_party/blink/renderer/devtools/front_end/cm/README.md")
changeDescription = input_api.change.DescriptionText()
errors = []
if "roll codemirror" not in changeDescription.lower():
diff --git a/front_end/externs.js b/front_end/externs.js
index 54fe8f8..df8a357 100644
--- a/front_end/externs.js
+++ b/front_end/externs.js
@@ -28,7 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// WebKit Web Facing API
+// Blink Web Facing API
/**
* @param {!Object} object
diff --git a/protocol.json b/protocol.json
index abca7b5..47697fe 100644
--- a/protocol.json
+++ b/protocol.json
@@ -1,11 +1,11 @@
The protocol.json has split into separate files. https://crbug.com/580337
One for the browser, one for a V8 javascript environment:
- src/third_party/WebKit/Source/core/inspector/browser_protocol.json
+ src/third_party/blink/renderer/core/inspector/browser_protocol.json
src/v8/src/inspector/js_protocol.json
Browsable here:
- https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit/Source/core/inspector/browser_protocol.json
+ https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/renderer/core/inspector/browser_protocol.json
https://chromium.googlesource.com/v8/v8/+/master/src/inspector/js_protocol.json
More details on the protocol: