summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-16 04:20:29 +0000
committerkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-16 04:20:29 +0000
commit744644945956867e46dc4ad2e455c5806e08480b (patch)
tree2192018c1192f9bb489294856d69f5380c386c29
parent354bd7c9f4a3901f8a4e0cce6b78dcb8cc5d46ac (diff)
downloadchromium_src-744644945956867e46dc4ad2e455c5806e08480b.zip
chromium_src-744644945956867e46dc4ad2e455c5806e08480b.tar.gz
chromium_src-744644945956867e46dc4ad2e455c5806e08480b.tar.bz2
Delete the old samples.
These aren't necessary now that the debugging tutorial has been updated and the relevant examples are in the new examples directory. BUG=none TEST=none TBR=aa Review URL: http://codereview.chromium.org/387059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32039 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xchrome/common/extensions/docs/samples/hello_world.txt45
-rwxr-xr-xchrome/common/extensions/docs/samples/hello_world/icon.pngbin3798 -> 0 bytes
-rwxr-xr-xchrome/common/extensions/docs/samples/hello_world/manifest.json11
-rwxr-xr-xchrome/common/extensions/docs/samples/hello_world/popup.html50
-rw-r--r--chrome/common/extensions/docs/samples/tut_debugging.zipbin1526 -> 0 bytes
5 files changed, 0 insertions, 106 deletions
diff --git a/chrome/common/extensions/docs/samples/hello_world.txt b/chrome/common/extensions/docs/samples/hello_world.txt
deleted file mode 100755
index 13c2f95..0000000
--- a/chrome/common/extensions/docs/samples/hello_world.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-<style>
-img {
- margin:5px;
- border:2px solid black;
- vertical-align:middle;
- width:75px;
- height:75px;
-}
-</style>
-
-<script>
-var req = new XMLHttpRequest();
-req.open(
- "GET",
- "http://api.flickr.com/services/rest/?" +
- "method=flickr.photos.search&" +
- "api_key=90485e931f687a9b9c2a66bf58a3861a&" +
- "text=hello%20world&" +
- "safe_search=1&" + // 1 is "safe"
- "content_type=1&" + // 1 is "photos only"
- "sort=relevance&" + // another good one is "interestingness-desc"
- "per_page=95",
- true);
-req.onload = showPhotos;
-req.send(null);
-
-function showPhotos() {
- var photos = req.responseXML.getElementsByTagName("photo");
-
- for (var i = 0, photo; photo = photos[i]; i++) {
- var img = document.createElement("image");
- img.src = constructImageURL(photo);
- document.body.appendChild(img);
- }
-}
-
-// See: http://www.flickr.com/services/api/misc.urls.html
-function constructImageURL(photo) {
- return "http://farm" + photo.getAttribute("farm") +
- ".static.flickr.com/" + photo.getAttribute("server") +
- "/" + photo.getAttribute("id") +
- "_" + photo.getAttribute("secret") +
- "_s.jpg";
-}
-</script>
diff --git a/chrome/common/extensions/docs/samples/hello_world/icon.png b/chrome/common/extensions/docs/samples/hello_world/icon.png
deleted file mode 100755
index 419199b..0000000
--- a/chrome/common/extensions/docs/samples/hello_world/icon.png
+++ /dev/null
Binary files differ
diff --git a/chrome/common/extensions/docs/samples/hello_world/manifest.json b/chrome/common/extensions/docs/samples/hello_world/manifest.json
deleted file mode 100755
index 5607391..0000000
--- a/chrome/common/extensions/docs/samples/hello_world/manifest.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "name": "Hello, World!",
- "version": "1",
- "permissions": [
- "http://api.flickr.com/*"
- ],
- "browser_action": {
- "default_icon": "icon.png",
- "popup": "popup.html"
- }
-}
diff --git a/chrome/common/extensions/docs/samples/hello_world/popup.html b/chrome/common/extensions/docs/samples/hello_world/popup.html
deleted file mode 100755
index 4ed6a16..0000000
--- a/chrome/common/extensions/docs/samples/hello_world/popup.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<style>
-body {
- min-width:357px;
- overflow-x:hidden;
-}
-
-img {
- margin:5px;
- border:2px solid black;
- vertical-align:middle;
- width:75px;
- height:75px;
-}
-</style>
-
-<script>
-var req = new XMLHttpRequest();
-req.open(
- "GET",
- "http://api.flickr.com/services/rest/?" +
- "method=flickr.photos.search&" +
- "api_key=90485e931f687a9b9c2a66bf58a3861a&" +
- "text=hello%20world&" +
- "safe_search=1&" + // 1 is "safe"
- "content_type=1&" + // 1 is "photos only"
- "sort=relevance&" + // another good one is "interestingness-desc"
- "per_page=20",
- true);
-req.onload = showPhotos;
-req.send(null);
-
-function showPhotos() {
- var photos = req.responseXML.getElementsByTagName("photo");
-
- for (var i = 0, photo; photo = photos[i]; i++) {
- var img = document.createElement("image");
- img.src = constructImageURL(photo);
- document.body.appendChild(img);
- }
-}
-
-// See: http://www.flickr.com/services/api/misc.urls.html
-function constructImageURL(photo) {
- return "http://farm" + photo.getAttribute("farm") +
- ".static.flickr.com/" + photo.getAttribute("server") +
- "/" + photo.getAttribute("id") +
- "_" + photo.getAttribute("secret") +
- "_s.jpg";
-}
-</script>
diff --git a/chrome/common/extensions/docs/samples/tut_debugging.zip b/chrome/common/extensions/docs/samples/tut_debugging.zip
deleted file mode 100644
index b6cfc5a..0000000
--- a/chrome/common/extensions/docs/samples/tut_debugging.zip
+++ /dev/null
Binary files differ