Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: chrome/common/extensions/docs/static/background_pages.html

Issue 225023: Another draft of the overview. Made related changes to the content scripts (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/static/background_pages.html
===================================================================
--- chrome/common/extensions/docs/static/background_pages.html (revision 27015)
+++ chrome/common/extensions/docs/static/background_pages.html (working copy)
@@ -15,8 +15,20 @@
in that it is an HTML page that runs in the extension process.
The difference is that the background page exists
for the lifetime of your extension,
-and only one instance of it at a time is active.</p>
+and only one instance of it at a time is active.
+</p>
+<p>
+In a typical extension with a background page,
+the UI &mdash;
+toolstrips, page actions, and so on &mdash;
+is implemented with dumb views.
+When the view needs some state,
+it requests the state from the background page.
+When the background page notices a state change,
+the background page tells the views to update.
+</p>
+
<h2 id="manifest">Manifest</h2>
<p>
Property changes on: chrome/common/extensions/docs/static/background_pages.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/common/extensions/docs/overview.html ('k') | chrome/common/extensions/docs/static/content_scripts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698