summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-07 09:13:50 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-07 09:13:50 +0000
commit15f1beabcb6efd4708118caeaf6d36a7a6d92e5d (patch)
tree691930e40266f3fd12959f15113330bce423dbce /chrome/common
parent8c79c2041a6131672e7241cf91caabf63ed7109b (diff)
downloadchromium_src-15f1beabcb6efd4708118caeaf6d36a7a6d92e5d.zip
chromium_src-15f1beabcb6efd4708118caeaf6d36a7a6d92e5d.tar.gz
chromium_src-15f1beabcb6efd4708118caeaf6d36a7a6d92e5d.tar.bz2
Flesh out the samples page.
TBR=kathyw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/bookmarks-hierarchy.pngbin50904 -> 50904 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/bookmarks.pngbin21105 -> 21105 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/browser-action.pngbin22227 -> 22227 bytes
-rw-r--r--chrome/common/extensions/docs/images/buildbot-capture.pngbin0 -> 10783 bytes
-rw-r--r--chrome/common/extensions/docs/images/google-mail-checker-capture.pngbin0 -> 13714 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/hello-world-small.pngbin44182 -> 44182 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/hello-world.pngbin172692 -> 172692 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/load_after.pngbin24652 -> 24652 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/load_after_small.pngbin20603 -> 20603 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/ntp-blank.pngbin8458 -> 8458 bytes
-rw-r--r--[-rwxr-xr-x]chrome/common/extensions/docs/images/page-action.pngbin9504 -> 9504 bytes
-rw-r--r--chrome/common/extensions/docs/images/subscribe-cap1.pngbin0 -> 7332 bytes
-rw-r--r--chrome/common/extensions/docs/images/subscribe-cap2.pngbin0 -> 17455 bytes
-rw-r--r--chrome/common/extensions/docs/pageAction.html6
-rw-r--r--chrome/common/extensions/docs/samples.html69
-rw-r--r--chrome/common/extensions/docs/static/samples.html67
16 files changed, 128 insertions, 14 deletions
diff --git a/chrome/common/extensions/docs/images/bookmarks-hierarchy.png b/chrome/common/extensions/docs/images/bookmarks-hierarchy.png
index a3902ae..a3902ae 100755..100644
--- a/chrome/common/extensions/docs/images/bookmarks-hierarchy.png
+++ b/chrome/common/extensions/docs/images/bookmarks-hierarchy.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/bookmarks.png b/chrome/common/extensions/docs/images/bookmarks.png
index a4d2ca2..a4d2ca2 100755..100644
--- a/chrome/common/extensions/docs/images/bookmarks.png
+++ b/chrome/common/extensions/docs/images/bookmarks.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/browser-action.png b/chrome/common/extensions/docs/images/browser-action.png
index 25b0da42..25b0da42 100755..100644
--- a/chrome/common/extensions/docs/images/browser-action.png
+++ b/chrome/common/extensions/docs/images/browser-action.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/buildbot-capture.png b/chrome/common/extensions/docs/images/buildbot-capture.png
new file mode 100644
index 0000000..883bb22
--- /dev/null
+++ b/chrome/common/extensions/docs/images/buildbot-capture.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/google-mail-checker-capture.png b/chrome/common/extensions/docs/images/google-mail-checker-capture.png
new file mode 100644
index 0000000..eb2da60
--- /dev/null
+++ b/chrome/common/extensions/docs/images/google-mail-checker-capture.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/hello-world-small.png b/chrome/common/extensions/docs/images/hello-world-small.png
index 2d008192..2d008192 100755..100644
--- a/chrome/common/extensions/docs/images/hello-world-small.png
+++ b/chrome/common/extensions/docs/images/hello-world-small.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/hello-world.png b/chrome/common/extensions/docs/images/hello-world.png
index deed573..deed573 100755..100644
--- a/chrome/common/extensions/docs/images/hello-world.png
+++ b/chrome/common/extensions/docs/images/hello-world.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/load_after.png b/chrome/common/extensions/docs/images/load_after.png
index 0d82005..0d82005 100755..100644
--- a/chrome/common/extensions/docs/images/load_after.png
+++ b/chrome/common/extensions/docs/images/load_after.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/load_after_small.png b/chrome/common/extensions/docs/images/load_after_small.png
index 63d5cc5..63d5cc5 100755..100644
--- a/chrome/common/extensions/docs/images/load_after_small.png
+++ b/chrome/common/extensions/docs/images/load_after_small.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/ntp-blank.png b/chrome/common/extensions/docs/images/ntp-blank.png
index bc1691a..bc1691a 100755..100644
--- a/chrome/common/extensions/docs/images/ntp-blank.png
+++ b/chrome/common/extensions/docs/images/ntp-blank.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/page-action.png b/chrome/common/extensions/docs/images/page-action.png
index 3b840f7..3b840f7 100755..100644
--- a/chrome/common/extensions/docs/images/page-action.png
+++ b/chrome/common/extensions/docs/images/page-action.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/subscribe-cap1.png b/chrome/common/extensions/docs/images/subscribe-cap1.png
new file mode 100644
index 0000000..b9dff7c
--- /dev/null
+++ b/chrome/common/extensions/docs/images/subscribe-cap1.png
Binary files differ
diff --git a/chrome/common/extensions/docs/images/subscribe-cap2.png b/chrome/common/extensions/docs/images/subscribe-cap2.png
new file mode 100644
index 0000000..7f286ce
--- /dev/null
+++ b/chrome/common/extensions/docs/images/subscribe-cap2.png
Binary files differ
diff --git a/chrome/common/extensions/docs/pageAction.html b/chrome/common/extensions/docs/pageAction.html
index facb225..02b7ba0 100644
--- a/chrome/common/extensions/docs/pageAction.html
+++ b/chrome/common/extensions/docs/pageAction.html
@@ -284,9 +284,9 @@ like this:
in the address bar.</p>
<p>
-Set "default_icon" if at all possible.
-Users see the default icon when they install your extension,
-which helps them know what to look for when your page action
+Although the "default_icon" is optional, it's a good idea to provide one.
+When users install your extension, if you have set a default icon, it can
+be previewed to the user so they know what to look for when your page action
is active for a given page.</p>
<h2 id="ui">Parts of the UI</h2>
diff --git a/chrome/common/extensions/docs/samples.html b/chrome/common/extensions/docs/samples.html
index 7ce933d..ccb422c 100644
--- a/chrome/common/extensions/docs/samples.html
+++ b/chrome/common/extensions/docs/samples.html
@@ -213,15 +213,72 @@
<!-- /TABLE OF CONTENTS -->
<!-- STATIC CONTENT PLACEHOLDER -->
- <div id="static"><p>
-You can find samples at the Chromium project:
-</p>
+ <div id="static"><p><b style="color:red">Note:</b> To run these samples, you need to be on the <a href="http://dev.chromium.org/getting-involved/dev-channel">dev or beta channel</a> of Google Chrome.
-<ul>
- <li> <a href="http://dev.chromium.org/developers/design-documents/extensions/samples">Sample extensions</a>
- </li><li> <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/">Source code</a>
+</p><h2>Google Mail Checker</h2>
+
+<p>Adds a Google Mail button to the toolbar which displays the number of unread messages in your inbox. You can also click the button to open your inbox.
+
+</p><p>Included with no charge is a swell animation when the number of unread items changes.
+
+</p><p><a href="https://clients2.google.com/service/update2/crx?response=redirect&amp;x=id%3Dmihcahmgecmbnbcchbopgniflfhgnkff%26uc%26lang%3Den-US&amp;prod=chrome&amp;prodversion=4.0.238.0"><img src="images/google-mail-checker-capture.png" width="243" height="170" style="margin-bottom:0.5em"></a><br>
+<b><a href="https://clients2.google.com/service/update2/crx?response=redirect&amp;x=id%3Dmihcahmgecmbnbcchbopgniflfhgnkff%26uc%26lang%3Den-US&amp;prod=chrome&amp;prodversion=4.0.238.0">Install</a>&nbsp;&nbsp;
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/gmail_browser_action/">Source code</a></b>
+
+<br><br>
+</p><p>Features used:
+
+</p><ul>
+ <li><a href="browserAction.html">Browser action</a> (with canvas-based animation)
+ </li><li><a href="browserAction.html#badge">Badge</a>
+ </li><li><a href="background_pages.html">Background page</a>
+ </li><li><a href="xhr.html">Cross-origin XMLHttpRequest</a>
+ </li><li><a href="tabs.html">Tabs</a> module
</li></ul>
+<br>
+
+<h2>Chromium Buildbot Monitor</h2>
+
+<p><a href="http://www.chromium.org/">Chromium</a> is the open source project behind Google Chrome. This extension monitors the status of the Chromium's continuous build and test suite. You can also click the icon to get more detailed information about the current status.
+
+</p><p><a href="https://clients2.google.com/service/update2/crx?response=redirect&amp;x=id%3Dafmppjmdopaajlhgcddfhfhfgincjeih%26uc%26lang%3Den-US&amp;prod=chrome&amp;prodversion=4.0.238.0"><img src="images/buildbot-capture.png" style="margin-bottom:0.5em" width="336" height="288"></a><br>
+<b><a href="https://clients2.google.com/service/update2/crx?response=redirect&amp;x=id%3Dafmppjmdopaajlhgcddfhfhfgincjeih%26uc%26lang%3Den-US&amp;prod=chrome&amp;prodversion=4.0.238.0">Install</a>&nbsp;&nbsp;
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/buildbot/">Source code</a></b>
+
+<br><br>
+
+
+</p><p>Features used:
+
+</p><ul>
+ <li><a href="browserAction.html">Browser action</a>
+ </li><li><a href="browserAction.html#popups">Popup</a>
+ </li><li><a href="xhr.html">Cross-origin XMLHttpRequest</a>
+</li></ul>
+
+<br>
+
+<h2>Subscribe in Feed Reader</h2>
+
+<p>Adds a small icon to the omnibox when a web page contains a feed that can be subscribed to. When you click the icon, present a preview of the feed and the option to subscribe in the web-based reader of your choice.
+
+</p><p><a href="https://clients2.google.com/service/update2/crx?response=redirect&amp;x=id%3Dnlbjncdgjeocebhnmkbbbdekmmmcbfjd%26uc%26lang%3Den-US&amp;prod=chrome&amp;prodversion=4.0.238.0"><img src="images/subscribe-cap1.png" style="margin-bottom:0.5em" width="342" height="165"></a>
+
+</p><p><a href="https://clients2.google.com/service/update2/crx?response=redirect&amp;x=id%3Dnlbjncdgjeocebhnmkbbbdekmmmcbfjd%26uc%26lang%3Den-US&amp;prod=chrome&amp;prodversion=4.0.238.0"><img src="images/subscribe-cap2.png" style="margin-bottom:0.5em" width="566" height="327"></a><br>
+<b><a href="https://clients2.google.com/service/update2/crx?response=redirect&amp;x=id%3Dnlbjncdgjeocebhnmkbbbdekmmmcbfjd%26uc%26lang%3Den-US&amp;prod=chrome&amp;prodversion=4.0.238.0">Install</a>&nbsp;&nbsp;
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/subscribe_page_action/">Source code</a></b>
+
+<br><br>
+</p><p>Features used:
+
+</p><ul>
+ <li><a href="pageAction.html">Page action</a>
+ </li><li><a href="background_pages.html">Background page</a>
+ </li><li><a href="content_scripts.html">Content scripts</a>
+ </li><li><a href="messaging.html">Message passing</a>
+ </li><li><a href="xhr.html">Cross-origin XMLHttpRequest</a>
+</li></ul>
</div>
<!-- API PAGE -->
diff --git a/chrome/common/extensions/docs/static/samples.html b/chrome/common/extensions/docs/static/samples.html
index 9f213ff..3a48d5d 100644
--- a/chrome/common/extensions/docs/static/samples.html
+++ b/chrome/common/extensions/docs/static/samples.html
@@ -1,9 +1,66 @@
-<p>
-You can find samples at the Chromium project:
-</p>
+<p><b style="color:red">Note:</b> To run these samples, you need to be on the <a href="http://dev.chromium.org/getting-involved/dev-channel">dev or beta channel</a> of Google Chrome.
+
+<h2>Google Mail Checker</h2>
+
+<p>Adds a Google Mail button to the toolbar which displays the number of unread messages in your inbox. You can also click the button to open your inbox.
+
+<p>Included with no charge is a swell animation when the number of unread items changes.
+
+<p><a href="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dmihcahmgecmbnbcchbopgniflfhgnkff%26uc%26lang%3Den-US&prod=chrome&prodversion=4.0.238.0"><img src="images/google-mail-checker-capture.png" width="243" height="170" style="margin-bottom:0.5em"></a><br>
+<b><a href="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dmihcahmgecmbnbcchbopgniflfhgnkff%26uc%26lang%3Den-US&prod=chrome&prodversion=4.0.238.0">Install</a>&nbsp;&nbsp;
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/gmail_browser_action/">Source code</a></b>
+
+<br><br>
+<p>Features used:
<ul>
- <li> <a href="http://dev.chromium.org/developers/design-documents/extensions/samples">Sample extensions</a>
- <li> <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/">Source code</a>
+ <li><a href="browserAction.html">Browser action</a> (with canvas-based animation)
+ <li><a href="browserAction.html#badge">Badge</a>
+ <li><a href="background_pages.html">Background page</a>
+ <li><a href="xhr.html">Cross-origin XMLHttpRequest</a>
+ <li><a href="tabs.html">Tabs</a> module
</ul>
+<br>
+
+<h2>Chromium Buildbot Monitor</h2>
+
+<p><a href="http://www.chromium.org/">Chromium</a> is the open source project behind Google Chrome. This extension monitors the status of the Chromium's continuous build and test suite. You can also click the icon to get more detailed information about the current status.
+
+<p><a href="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dafmppjmdopaajlhgcddfhfhfgincjeih%26uc%26lang%3Den-US&prod=chrome&prodversion=4.0.238.0"><img src="images/buildbot-capture.png" style="margin-bottom:0.5em" width="336" height="288"></a><br>
+<b><a href="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dafmppjmdopaajlhgcddfhfhfgincjeih%26uc%26lang%3Den-US&prod=chrome&prodversion=4.0.238.0">Install</a>&nbsp;&nbsp;
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/buildbot/">Source code</a></b>
+
+<br><br>
+
+
+<p>Features used:
+
+<ul>
+ <li><a href="browserAction.html">Browser action</a>
+ <li><a href="browserAction.html#popups">Popup</a>
+ <li><a href="xhr.html">Cross-origin XMLHttpRequest</a>
+</ul>
+
+<br>
+
+<h2>Subscribe in Feed Reader</h2>
+
+<p>Adds a small icon to the omnibox when a web page contains a feed that can be subscribed to. When you click the icon, present a preview of the feed and the option to subscribe in the web-based reader of your choice.
+
+<p><a href="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dnlbjncdgjeocebhnmkbbbdekmmmcbfjd%26uc%26lang%3Den-US&prod=chrome&prodversion=4.0.238.0"><img src="images/subscribe-cap1.png" style="margin-bottom:0.5em" width="342" height="165"></a>
+
+<p><a href="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dnlbjncdgjeocebhnmkbbbdekmmmcbfjd%26uc%26lang%3Den-US&prod=chrome&prodversion=4.0.238.0"><img src="images/subscribe-cap2.png" style="margin-bottom:0.5em" width="566" height="327"></a><br>
+<b><a href="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dnlbjncdgjeocebhnmkbbbdekmmmcbfjd%26uc%26lang%3Den-US&prod=chrome&prodversion=4.0.238.0">Install</a>&nbsp;&nbsp;
+<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/subscribe_page_action/">Source code</a></b>
+
+<br><br>
+<p>Features used:
+
+<ul>
+ <li><a href="pageAction.html">Page action</a>
+ <li><a href="background_pages.html">Background page</a>
+ <li><a href="content_scripts.html">Content scripts</a>
+ <li><a href="messaging.html">Message passing</a>
+ <li><a href="xhr.html">Cross-origin XMLHttpRequest</a>
+</ul>