Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #170 from beaufortfrancois/cleanDocURLs
  • Loading branch information
beaufortfrancois committed Dec 13, 2013
1 parent f874983 commit 41267bb
Show file tree
Hide file tree
Showing 74 changed files with 190 additions and 190 deletions.
4 changes: 2 additions & 2 deletions analytics/README.md
Expand Up @@ -13,8 +13,8 @@ Offline is also supported. See more at the [project wiki](https://github.com/Goo

## Resources

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [chrome-platform-analytics](https://github.com/GoogleChrome/chrome-platform-analytics/wiki)

Expand Down
4 changes: 2 additions & 2 deletions appengine_channelapi/app/main.js
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
Expand Down
8 changes: 4 additions & 4 deletions appsquare/README.md
Expand Up @@ -5,7 +5,7 @@

This is a basic Foursquare client implemented as a packaged app.

It just displays recent checkins of the logged in user's friends. To log into Foursquare, it uses the [identity API](http://developer.chrome.com/trunk/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token, it uses the [storage API](http://developer.chrome.com/trunk/apps/storage.html) to persist it. It also uses the [W3C Geolocation API](http://www.w3.org/TR/geolocation-API/) to pass in the current location to the Foursquare API.
It just displays recent checkins of the logged in user's friends. To log into Foursquare, it uses the [identity API](http://developer.chrome.com/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token, it uses the [storage API](http://developer.chrome.com/apps/storage.html) to persist it. It also uses the [W3C Geolocation API](http://www.w3.org/TR/geolocation-API/) to pass in the current location to the Foursquare API.

When running it unpacked, it will normally have a different ID (the unpacked
extension ID is a hash of the path on disk). However, this will result in the
Expand All @@ -19,9 +19,9 @@ The key *must* be removed before uploading it to the store.

## Resources

* [Identity](http://developer.chrome.com/trunk/apps/app.identity.html)
* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Identity](http://developer.chrome.com/apps/app.identity.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
![screenshot](https://raw.github.com/GoogleChrome/chrome-app-samples/master/appsquare/assets/screenshot_1280_800.png)
Expand Down
6 changes: 3 additions & 3 deletions browser/README.md
Expand Up @@ -3,7 +3,7 @@

# Browser

Sample that shows how to use the [webview tag](http://developer.chrome.com/trunk/apps/app_external.html#webview)
Sample that shows how to use the [webview tag](http://developer.chrome.com/apps/app_external.html#webview)
in an app to create a mini browser.

The app's main window contains a `<webview>` that is sized to fit most of it
Expand All @@ -16,8 +16,8 @@ reliability of your application.

## Resources

* [Webview](http://developer.chrome.com/trunk/apps/app_external.html#webview)
* [Permissions](http://developer.chrome.com/trunk/apps/manifest.html#permissions)
* [Webview](http://developer.chrome.com/apps/app_external.html#webview)
* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions)

## Screenshot
Expand Down
8 changes: 4 additions & 4 deletions browser/main.js
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
runApp();
Expand All @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() {
/**
* Listens for the app restarting then re-creates the window.
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.runtime.html
*/
chrome.app.runtime.onRestarted.addListener(function() {
runApp();
Expand All @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() {
/**
* Creates the window for the application.
*
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.window.html
*/
function runApp() {
chrome.app.window.create('browser.html', {
Expand Down
4 changes: 2 additions & 2 deletions calculator/README.md
Expand Up @@ -11,8 +11,8 @@ DOM manipulation.

## APIs

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down
2 changes: 1 addition & 1 deletion calculator/main.js
Expand Up @@ -8,7 +8,7 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('calculator.html', {
Expand Down
6 changes: 3 additions & 3 deletions camera-capture/README.md
Expand Up @@ -9,9 +9,9 @@ to be set in the manifest file.

## APIs

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [videoCapture and audioCapture](http://developer.chrome.com/trunk/apps/manifest.html#permissions)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [videoCapture and audioCapture](http://developer.chrome.com/apps/manifest.html#permissions)

## Screenshot
Expand Down
2 changes: 1 addition & 1 deletion camera-capture/app.js
Expand Up @@ -21,7 +21,7 @@ Author: Eric Bidelman (ericbidelman@chromium.org)
* both video and audio. Requires the permissions
* for audio and video to be set in the manifest.
*
* @see http://developer.chrome.com/trunk/apps/manifest.html#permissions
* @see http://developer.chrome.com/apps/manifest.html#permissions
*/
function getCamera() {
navigator.webkitGetUserMedia({audio: true, video: true}, function(stream) {
Expand Down
4 changes: 2 additions & 2 deletions camera-capture/background.js
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
Expand Down
6 changes: 3 additions & 3 deletions clock/README.md
Expand Up @@ -7,9 +7,9 @@ A widget-like application that provides a world clock, an alarm, a timer and a s

## APIs

* [Sync Storage API](http://developer.chrome.com/trunk/apps/storage.html)
* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Sync Storage API](http://developer.chrome.com/apps/storage.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down
2 changes: 1 addition & 1 deletion clock/main.js
Expand Up @@ -8,7 +8,7 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
Expand Down
8 changes: 4 additions & 4 deletions context-menu/README.md
Expand Up @@ -3,15 +3,15 @@

# Context menus

Sample that shows how to use the [context menu API](http://developer.chrome.com/trunk/apps/contextMenus.html) in an app to manage various application context menus, such as menus that only apply to particular windows, menus that apply to selections or media types, and context menus that work on the app launcher.
Sample that shows how to use the [context menu API](http://developer.chrome.com/apps/contextMenus.html) in an app to manage various application context menus, such as menus that only apply to particular windows, menus that apply to selections or media types, and context menus that work on the app launcher.

A single context menu structure is normally global to the entire app, and thus all windows would have the same menu. This sample uses a `focus` event handler in each window to detect when a window is brought to the foreground. When it is, the contents of the context menu are updated with that window's commands, while leaving the other menus intact. The `chrome.contextMenus.onClicked` event handler also only handles events that occur in that window.

## APIs

* [Context menu API](http://developer.chrome.com/trunk/apps/contextMenus.html)
* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Context menu API](http://developer.chrome.com/apps/contextMenus.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

Expand Down
4 changes: 2 additions & 2 deletions dart/README.md
Expand Up @@ -9,8 +9,8 @@ if you want to recompile dart to JS. See the correct, CSP compatible, command-li

## APIs

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down
4 changes: 2 additions & 2 deletions dart/js/main.js
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('clock.html',
Expand Down
4 changes: 2 additions & 2 deletions dialog-element/README.md
Expand Up @@ -28,6 +28,6 @@ dialog.addEventListener("cancel", function(evt) {

## Resources

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

4 changes: 2 additions & 2 deletions dialog-element/main.js
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
// Center window on screen.
Expand Down
8 changes: 4 additions & 4 deletions diff/README.md
Expand Up @@ -9,10 +9,10 @@ A non-trivial application to diff two files choosen by the user. This app shows

## APIs

* [Local Storage API](http://developer.chrome.com/trunk/apps/storage.html) to save history of selected files
* [Filesystem API](http://developer.chrome.com/trunk/apps/app_storage.html) to allow the user to pick arbitrary files from the disk and save them back.
* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Local Storage API](http://developer.chrome.com/apps/storage.html) to save history of selected files
* [Filesystem API](http://developer.chrome.com/apps/app_storage.html) to allow the user to pick arbitrary files from the disk and save them back.
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down
2 changes: 1 addition & 1 deletion filesystem-access/README.md
Expand Up @@ -12,7 +12,7 @@ NOTE: This sample requires Milestone 31 or later of Chrome, since it uses the ne

## APIs

* [chrome.fileSystem](http://developer.chrome.com/trunk/apps/fileSystem.html)
* [chrome.fileSystem](http://developer.chrome.com/apps/fileSystem.html)

## Screenshot
![screenshot](https://raw.github.com/GoogleChrome/chrome-app-samples/master/filesystem-access/assets/screenshot_1280_800.png)
Expand Down
4 changes: 2 additions & 2 deletions frameless-window/README.md
Expand Up @@ -9,8 +9,8 @@ Caveat: `-webkit-app-region: drag;` *will* disable some customizations such as c

## APIs

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down
2 changes: 1 addition & 1 deletion gdrive/README.md
Expand Up @@ -10,4 +10,4 @@ To upload files: drag in files from the desktop onto the app.

## APIs

* [Identity](http://developer.chrome.com/trunk/apps/identity.html)
* [Identity](http://developer.chrome.com/apps/identity.html)
8 changes: 4 additions & 4 deletions github-auth/README.md
Expand Up @@ -4,7 +4,7 @@
# GitHub Auth

A sample application that uses the
[Identity API](https://developer.chrome.com/trunk/apps/identity.html) to
[Identity API](https://developer.chrome.com/apps/identity.html) to
request identification information about the user's GitHub account. After user
logs on to GitHub and authorizes the application to use their information, both
users name and email address (if available) will be displayed.
Expand All @@ -15,9 +15,9 @@ Account check out the [Identity sample application](https://github.com/GoogleChr

## APIs

* [Identity](https://developer.chrome.com/trunk/apps/identity.html)
* [Runtime](https://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](https://developer.chrome.com/trunk/apps/app.window.html)
* [Identity](https://developer.chrome.com/apps/identity.html)
* [Runtime](https://developer.chrome.com/apps/app.runtime.html)
* [Window](https://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down
4 changes: 2 additions & 2 deletions hello-world/README.md
Expand Up @@ -32,8 +32,8 @@ and, at that point, creates a window using a basic HTML page, index.html, as the

## Resources

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
![screenshot](https://raw.github.com/GoogleChrome/chrome-app-samples/master/hello-world/assets/screenshot_1280_800.png)
Expand Down
4 changes: 2 additions & 2 deletions hello-world/main.js
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
// Center window on screen.
Expand Down
8 changes: 4 additions & 4 deletions identity/README.md
Expand Up @@ -4,7 +4,7 @@
# Identity

A sample application that uses the
[Identity API](https://developer.chrome.com/trunk/apps/identity.html) to
[Identity API](https://developer.chrome.com/apps/identity.html) to
request information of the logged in user and present this info on the screen.
If the user has a profile picture, an XMLHttpRequest request is also sent to
grab the image and show it in the app.
Expand All @@ -15,7 +15,7 @@ you should use the launchWebAuthFlow method instead.

## APIs

* [Identity](http://developer.chrome.com/trunk/apps/app.identity.html)
* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Identity](http://developer.chrome.com/apps/app.identity.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

8 changes: 4 additions & 4 deletions instagram-auth/README.md
Expand Up @@ -5,7 +5,7 @@

This is a basic Instagram client implemented as a packaged app. This demonstration simply displays the users logged-in view as raw JSON.

To log into Instagram, it uses the [identity API](http://developer.chrome.com/trunk/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token it makes a request to an authenticated endpoint to get the JSON feed of the user's view.
To log into Instagram, it uses the [identity API](http://developer.chrome.com/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token it makes a request to an authenticated endpoint to get the JSON feed of the user's view.

When running it unpacked, it will normally have a different ID (the unpacked
extension ID is a hash of the path on disk). However, this will result in the
Expand All @@ -20,6 +20,6 @@ The key *must* be removed before uploading it to the store.

## Resources

* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Identity](http://developer.chrome.com/trunk/apps/app.identity.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [Identity](http://developer.chrome.com/apps/app.identity.html)
4 changes: 2 additions & 2 deletions instagram-auth/main.js
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/trunk/apps/app.runtime.html
* @see http://developer.chrome.com/trunk/apps/app.window.html
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function(intentData) {
chrome.app.window.create('index.html', {
Expand Down
6 changes: 3 additions & 3 deletions mdns-browser/README.md
Expand Up @@ -8,9 +8,9 @@ This is a non-trivial sample which uses the UDP multicast support in Chrome Pack

## APIs

* [UDP Network](http://developer.chrome.com/trunk/apps/app_network.html#udp)
* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [UDP Network](http://developer.chrome.com/apps/app_network.html#udp)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down
4 changes: 2 additions & 2 deletions media-gallery/README.md
Expand Up @@ -8,8 +8,8 @@ This is a sample application that uses the [media gallery](http://developer.chro
## APIs

* [Media gallery](http://developer.chrome.com/apps/mediaGalleries.html)
* [Runtime](http://developer.chrome.com/trunk/apps/app.runtime.html)
* [Window](http://developer.chrome.com/trunk/apps/app.window.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)

## Screenshot
Expand Down

0 comments on commit 41267bb

Please sign in to comment.