diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 22:35:21 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 22:35:21 +0000 |
commit | 8acc7759e858bb8bcc9110e566cdf76afa27c4de (patch) | |
tree | 64877cce45c02655b1333b8dc086f854af1fe7f1 /chrome/common/extensions/docs/examples/api/webNavigation | |
parent | d5aa3fc9385b006bc4a10844aa1b7061f457a514 (diff) | |
download | chromium_src-8acc7759e858bb8bcc9110e566cdf76afa27c4de.zip chromium_src-8acc7759e858bb8bcc9110e566cdf76afa27c4de.tar.gz chromium_src-8acc7759e858bb8bcc9110e566cdf76afa27c4de.tar.bz2 |
Update samples to use the background.scripts or background.page feature.
BUG=107791
Review URL: http://codereview.chromium.org/9192003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/examples/api/webNavigation')
-rw-r--r-- | chrome/common/extensions/docs/examples/api/webNavigation/basic.zip | bin | 24513 -> 24024 bytes | |||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/webNavigation/basic/background.html | 15 | ||||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.json | 2 |
3 files changed, 1 insertions, 16 deletions
diff --git a/chrome/common/extensions/docs/examples/api/webNavigation/basic.zip b/chrome/common/extensions/docs/examples/api/webNavigation/basic.zip Binary files differindex 956fc79..84cfc2c 100644 --- a/chrome/common/extensions/docs/examples/api/webNavigation/basic.zip +++ b/chrome/common/extensions/docs/examples/api/webNavigation/basic.zip diff --git a/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.html b/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.html deleted file mode 100644 index c66024b..0000000 --- a/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.html +++ /dev/null @@ -1,15 +0,0 @@ -<!doctype html> -<!-- - * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this - * source code is governed by a BSD-style license that can be found in the - * LICENSE file. ---> -<html> - <head> - <title>WebNavigation Sample Extension Background Page</title> - </head> - <body> - <script src='navigation_collector.js'></script> - <script src='background.js'></script> - </body> -</html> diff --git a/chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.json b/chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.json index d168843..04acdc4 100644 --- a/chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.json +++ b/chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.json @@ -3,7 +3,7 @@ "version": "0.1", "description": "__MSG_extDescription__", "default_locale": "en", - "background_page": "background.html", + "background": { "scripts": ["navigation_collector.js", "background.js"] }, "browser_action": { "default_icon": "icon.png", "default_popup": "popup.html" |