summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 21:27:34 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 21:27:34 +0000
commit7e3185a37ac1052e028d4de090a2a33c12e697bf (patch)
treec8d0f1bba4d982404737bff017a8ca5da7cce7e3 /chrome/common/extensions/docs
parent96f7f2fc9d83dc862e3a0c98833226b297401ae4 (diff)
downloadchromium_src-7e3185a37ac1052e028d4de090a2a33c12e697bf.zip
chromium_src-7e3185a37ac1052e028d4de090a2a33c12e697bf.tar.gz
chromium_src-7e3185a37ac1052e028d4de090a2a33c12e697bf.tar.bz2
Revert r28293.
This reverts, "Change detectLanguage() API to now return the top three languages as well their percentages. Added suitable unit testing to test that top three languages are returned as expected." TBR=zork BUG=none TEST=none Review URL: http://codereview.chromium.org/270012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs')
-rwxr-xr-xchrome/common/extensions/docs/tabs.html18
1 files changed, 4 insertions, 14 deletions
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index 9afab2f..c886b4c 100755
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.html
@@ -1126,12 +1126,12 @@ For example:
</p>
<!-- Note: intentionally longer 80 columns -->
- <pre>function(<span>array of object topLanguages</span>) <span class="subdued">{...}</span>);</pre>
+ <pre>function(<span>string language</span>) <span class="subdued">{...}</span>);</pre>
<dl>
<div jsinstance="*0">
<div>
<dt>
- <var>topLanguages</var>
+ <var>language</var>
<em>
<!-- TYPE -->
@@ -1143,20 +1143,10 @@ For example:
<a> Type</a>
</span>
<span>
- <span>
- array of <span><span>
- <span style="display: none; ">
- <a> Type</a>
- </span>
- <span>
<span style="display: none; ">
array of <span><span></span></span>
</span>
- <span>object</span>
- </span>
- </span></span>
- </span>
- <span style="display: none; ">paramType</span>
+ <span>string</span>
</span>
</span>
)
@@ -1167,7 +1157,7 @@ For example:
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>The top three languages used in the document, in decreasing order of usage.</dd>
+ <dd>An ISO language code like <var>en</var> or <var>fr</var>. For the complete list of languages supported by this method, see 2nd column of kLanguageInfoTable in http://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/bar/toolbar/cld/i18n/languages/internal/languages.cc</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">