| Index: chrome/common/extensions/docs/static/background_pages.html
|
| diff --git a/chrome/common/extensions/docs/static/background_pages.html b/chrome/common/extensions/docs/static/background_pages.html
|
| index 79ec203aba08b352529c4c067594211bf02c5f85..426dbf70d819c53c7299f73e95ce8c1cf4da173e 100755
|
| --- a/chrome/common/extensions/docs/static/background_pages.html
|
| +++ b/chrome/common/extensions/docs/static/background_pages.html
|
| @@ -39,7 +39,7 @@ only the necessary code to display the toolstrip UI,
|
| with all your extension logic contained in the background page.
|
| You can communicate between your various pages using direct script calls,
|
| similar to how frames can communicate.
|
| -The chrome.self.getViews() function
|
| +The chrome.extension.getViews() function
|
| returns a list of window objects
|
| for every active page belonging to your extension.
|
| </p>
|
| @@ -48,7 +48,7 @@ for every active page belonging to your extension.
|
|
|
| <pre>background_page.html (snippet):
|
| function updateUI(checked) {
|
| - var views = chrome.self.getViews();
|
| + var views = chrome.extension.getViews();
|
| for (var i in views) {
|
| if (views[i].enableCheckbox)
|
| views[i].enableCheckbox(checked);
|
|
|