diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 21:14:28 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 21:14:28 +0000 |
commit | af167253dae19996491d356bd970825df7ef8256 (patch) | |
tree | bf919e128e4d5c74ba62bd80079781b2f3b97fcd /chrome/common/extensions | |
parent | d4b2d23a6a1769f5ccf59c6b8e3dd15594abc371 (diff) | |
download | chromium_src-af167253dae19996491d356bd970825df7ef8256.zip chromium_src-af167253dae19996491d356bd970825df7ef8256.tar.gz chromium_src-af167253dae19996491d356bd970825df7ef8256.tar.bz2 |
Add reference to NativeMessaging example in the API documentation.
Also renamed the director with the example for consistency with other examples
in the same directory
BUG=142915
R=mpcomplete@chromium.org
Review URL: https://codereview.chromium.org/14585004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rw-r--r-- | chrome/common/extensions/docs/examples/api/nativeMessaging/README.txt (renamed from chrome/common/extensions/docs/examples/api/native_messaging/README.txt) | 0 | ||||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/nativeMessaging/app/icon-128.png (renamed from chrome/common/extensions/docs/examples/api/native_messaging/app/icon-128.png) | bin | 3395 -> 3395 bytes | |||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/nativeMessaging/app/main.html (renamed from chrome/common/extensions/docs/examples/api/native_messaging/app/main.html) | 0 | ||||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/nativeMessaging/app/main.js (renamed from chrome/common/extensions/docs/examples/api/native_messaging/app/main.js) | 0 | ||||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/nativeMessaging/app/manifest.json (renamed from chrome/common/extensions/docs/examples/api/native_messaging/app/manifest.json) | 0 | ||||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/nativeMessaging/host/com.google.chrome.example.echo.json (renamed from chrome/common/extensions/docs/examples/api/native_messaging/host/com.google.chrome.example.echo.json) | 0 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh (renamed from chrome/common/extensions/docs/examples/api/native_messaging/host/install_host.sh) | 0 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/examples/api/nativeMessaging/host/native-messaging-example-host (renamed from chrome/common/extensions/docs/examples/api/native_messaging/host/native-messaging-example-host) | 0 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/examples/api/nativeMessaging/host/native-messaging-example-host.bat (renamed from chrome/common/extensions/docs/examples/api/native_messaging/host/native-messaging-example-host.bat) | 0 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/examples/api/nativeMessaging/host/uninstall_host.sh (renamed from chrome/common/extensions/docs/examples/api/native_messaging/host/uninstall_host.sh) | 0 | ||||
-rw-r--r-- | chrome/common/extensions/docs/templates/articles/messaging.html | 2 |
11 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/README.txt b/chrome/common/extensions/docs/examples/api/nativeMessaging/README.txt index 6719f44..6719f44 100644 --- a/chrome/common/extensions/docs/examples/api/native_messaging/README.txt +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/README.txt diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/app/icon-128.png b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/icon-128.png Binary files differindex 36dfab7..36dfab7 100644 --- a/chrome/common/extensions/docs/examples/api/native_messaging/app/icon-128.png +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/icon-128.png diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/app/main.html b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/main.html index 445b876..445b876 100644 --- a/chrome/common/extensions/docs/examples/api/native_messaging/app/main.html +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/main.html diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/app/main.js b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/main.js index c25a9ff..c25a9ff 100644 --- a/chrome/common/extensions/docs/examples/api/native_messaging/app/main.js +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/main.js diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/app/manifest.json b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/manifest.json index a339e11..a339e11 100644 --- a/chrome/common/extensions/docs/examples/api/native_messaging/app/manifest.json +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/app/manifest.json diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/host/com.google.chrome.example.echo.json b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/com.google.chrome.example.echo.json index dfeae04..dfeae04 100644 --- a/chrome/common/extensions/docs/examples/api/native_messaging/host/com.google.chrome.example.echo.json +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/com.google.chrome.example.echo.json diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/host/install_host.sh b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh index 6c37f2a..6c37f2a 100755 --- a/chrome/common/extensions/docs/examples/api/native_messaging/host/install_host.sh +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/host/native-messaging-example-host b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/native-messaging-example-host index d0be74b..d0be74b 100755 --- a/chrome/common/extensions/docs/examples/api/native_messaging/host/native-messaging-example-host +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/native-messaging-example-host diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/host/native-messaging-example-host.bat b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/native-messaging-example-host.bat index 7793ee7..7793ee7 100755 --- a/chrome/common/extensions/docs/examples/api/native_messaging/host/native-messaging-example-host.bat +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/native-messaging-example-host.bat diff --git a/chrome/common/extensions/docs/examples/api/native_messaging/host/uninstall_host.sh b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/uninstall_host.sh index 06147a6..06147a6 100755 --- a/chrome/common/extensions/docs/examples/api/native_messaging/host/uninstall_host.sh +++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/uninstall_host.sh diff --git a/chrome/common/extensions/docs/templates/articles/messaging.html b/chrome/common/extensions/docs/templates/articles/messaging.html index 1c510ce..3bd19da 100644 --- a/chrome/common/extensions/docs/templates/articles/messaging.html +++ b/chrome/common/extensions/docs/templates/articles/messaging.html @@ -380,6 +380,8 @@ chrome.tabs.sendMessage(tab.id, {greeting: "hello"}, function(response) { You can find simple examples of communication via messages in the <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/">examples/api/messaging</a> directory. +<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/nativeMessaging/">examples/api/nativeMessaging</a> +contains an example application that uses native messaging. Also see the <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/howto/contentscript_xhr">contentscript_xhr</a> example, in which a content script and its parent extension exchange messages, |