From 51e45afe14fab36c1eb964d12cc7fc592e85ad78 Mon Sep 17 00:00:00 2001 From: "sidchat@google.com" Date: Fri, 4 Sep 2009 22:58:20 +0000 Subject: Update Documentation for chrome.tabs.detectLanguage(). BUG=none TEST=none. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25544 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/extensions/api/extension_api.json | 2 +- chrome/common/extensions/docs/getstarted.html | 23 +++++++---------------- chrome/common/extensions/docs/packaging.html | 4 ++-- chrome/common/extensions/docs/tabs.html | 2 +- 4 files changed, 11 insertions(+), 20 deletions(-) (limited to 'chrome/common') diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 9b60cdfa..28da984 100755 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -532,7 +532,7 @@ { "type": "string", "name": "language", - "description": "An ISO language code like en or fr." + "description": "An ISO language code like en or fr. 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" } ] } diff --git a/chrome/common/extensions/docs/getstarted.html b/chrome/common/extensions/docs/getstarted.html index 817b732..90dc52d 100755 --- a/chrome/common/extensions/docs/getstarted.html +++ b/chrome/common/extensions/docs/getstarted.html @@ -219,28 +219,19 @@

This tutorial walks you through creating a simple extension. -You'll add a button to Google Chrome -that, when clicked, displays an automatically generated page. -The button and page will look something like this: +To complete this tutorial, you must have Windows. +(Linux and Mac don't yet support extensions.)

-a window with a grid of images related to HELLO WORLD -

Get your browser ready

To develop extensions for Google Chrome, -you need to subscribe +you'll need to subscribe to the dev channel of Google Chrome for Windows. -

-

-Note: This tutorial requires Windows. -You can try it on Linux and OS X, and it might work, -but the extensions support is less stable on those platforms. -We're working hard to bring them up to speed. -

+

Note: This tutorial requires Windows. You can try it on Linux and OS X, and it may work, but in general the extensions support is quite a bit less stable on those platforms. We're working hard to bring them up to speed. -

Create and load an extension

+

Create and load an extension

In this section, you'll write a toolstrip — an extension @@ -292,7 +283,7 @@ at the bottom of the Google Chrome window.

  • In the file dialog, - navigate to your extension's folder + navigate to your extension's directory (c:\myext, for example) and click the OK button.
  • @@ -368,7 +359,7 @@ looking something like this:

    It should look something like this:

    -a window with a grid of images related to HELLO WORLD +a window with a grid of images related to HELLO WORLD

    If you don't see that page, try the instructions again, diff --git a/chrome/common/extensions/docs/packaging.html b/chrome/common/extensions/docs/packaging.html index a2e7f26..cc97dd1 100755 --- a/chrome/common/extensions/docs/packaging.html +++ b/chrome/common/extensions/docs/packaging.html @@ -232,7 +232,7 @@ for inclusion in the gallery.]

    To package an extension:

    1. - Bring up the Extensions management page + Bring up the Extensions page by going to this URL:
      chrome://extensions @@ -293,7 +293,7 @@ the .crx and .pem files:

    2. - Bring up the Extensions management page + Bring up the Extensions page by going to this URL: chrome://extensions
    3. diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html index 4715504..fceb19f 100755 --- a/chrome/common/extensions/docs/tabs.html +++ b/chrome/common/extensions/docs/tabs.html @@ -1153,7 +1153,7 @@ For example: -
      An ISO language code like en or fr.
      +
      An ISO language code like en or fr. 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
      -- cgit v1.1