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

Unified Diff: chrome/common/extensions/docs/server2/templates/intros/experimental_infobars.html

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: everything but svn stuff Created 8 years, 5 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/server2/templates/intros/experimental_infobars.html
diff --git a/chrome/common/extensions/docs/server2/templates/intros/experimental_infobars.html b/chrome/common/extensions/docs/server2/templates/intros/experimental_infobars.html
index 1f08a79151c2287907544b716402c5db6dc8f028..d3d0476f67f50506ae785920edd46fd03d629272 100644
--- a/chrome/common/extensions/docs/server2/templates/intros/experimental_infobars.html
+++ b/chrome/common/extensions/docs/server2/templates/intros/experimental_infobars.html
@@ -1,27 +1,32 @@
-<!-- BEGIN AUTHORED CONTENT -->
<p>
The infobars API allows you to add a
horizontal panel just above a tab's contents,
as the following screenshot shows.
</p>
+
<p>
<img src="{{static}}/images/infobar.png"
width="566" height="150"
alt="An infobar asking whether the user wants to translate the current page" />
</p>
+
<p>
Use an infobar to tell the reader
something about a particular page.
When the user leaves the page for which the infobar is displayed,
Google Chrome automatically closes the infobar.
</p>
+
<p>
You implement the content of your
infobar using HTML. Because infobars are ordinary pages inside an extension,
they can
<a href="overview.html#pageComm">communicate with other extension pages</a>.
</p>
+
+
<h2 id="manifest">Manifest</h2>
+
<p>
The infobars API is currently
experimental, so you must declare the "experimental"
@@ -29,6 +34,7 @@ permission to use it. Also, you should specify
a 16x16-pixel icon for display next to your infobar.
For example:
</p>
+
<pre>{
"name": "Andy's infobar extension",
"version": "1.0",
@@ -39,5 +45,4 @@ For example:
"background": {
"scripts": ["background.js"]
}
-}</pre>
-<!-- END AUTHORED CONTENT -->
+}</pre>

Powered by Google App Engine
This is Rietveld 408576698