Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: Source/devtools/front_end/documentation/DocumentationURLProvider.js

Issue 471583003: DevTools: [Documentation] Add property token autodetection (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sources-patch
Patch Set: Comments addressed Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/documentation/DocumentationURLProvider.js
diff --git a/Source/devtools/front_end/documentation/DocumentationURLProvider.js b/Source/devtools/front_end/documentation/DocumentationURLProvider.js
index bba7b65eb14fb74e722ea3375a3291d7f76dcdbc..dcff947ad7407fb9673e7acf14d773d73aacc72e 100644
--- a/Source/devtools/front_end/documentation/DocumentationURLProvider.js
+++ b/Source/devtools/front_end/documentation/DocumentationURLProvider.js
@@ -41,7 +41,7 @@ WebInspector.DocumentationURLProvider._urlFormat = "http://docs.webplatform.org/
WebInspector.DocumentationURLProvider.prototype = {
/**
* @param {string} searchTerm
- * @return {!Array.<{url: string, name: string}>}
+ * @return {!Array.<{url: string, name: string, searchItem: string}>}
*/
itemDescriptors: function(searchTerm)
{
@@ -62,7 +62,8 @@ WebInspector.DocumentationURLProvider.prototype = {
{
return {
url: String.sprintf(WebInspector.DocumentationURLProvider._urlFormat, sourceRef.url, searchTerm),
- name: sourceRef.name
+ name: sourceRef.name,
+ searchItem: searchTerm
};
}
}

Powered by Google App Engine
This is Rietveld 408576698