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

Side by Side Diff: common/extensions/docs/static/getstarted.html

Issue 202047: Add "permissions" to Getting Started manifest. Oops. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/chrome/
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <div id="pageData-title" class="pageData">Tutorial: Getting Started (Hello, Worl d!)</div> 1 <div id="pageData-title" class="pageData">Tutorial: Getting Started (Hello, Worl d!)</div>
2 <div id="pageData-showTOC" class="pageData">true</div> 2 <div id="pageData-showTOC" class="pageData">true</div>
3 3
4 <p> 4 <p>
5 This tutorial walks you through creating a simple extension. 5 This tutorial walks you through creating a simple extension.
6 You'll add a button to Google Chrome 6 You'll add a button to Google Chrome
7 that, when clicked, displays an automatically generated page. 7 that, when clicked, displays an automatically generated page.
8 The button and page will look something like this: 8 The button and page will look something like this:
9 </p> 9 </p>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 <li> 44 <li>
45 Inside your extension's folder, 45 Inside your extension's folder,
46 create a text file called <strong><code>manifest.json</code></strong>, 46 create a text file called <strong><code>manifest.json</code></strong>,
47 and put this in it: 47 and put this in it:
48 <pre>{ 48 <pre>{
49 &quot;name&quot;: &quot;My First Extension&quot;, 49 &quot;name&quot;: &quot;My First Extension&quot;,
50 &quot;version&quot;: &quot;1.0&quot;, 50 &quot;version&quot;: &quot;1.0&quot;,
51 &quot;description&quot;: &quot;The first extension that I made.&quot;, 51 &quot;description&quot;: &quot;The first extension that I made.&quot;,
52 &quot;toolstrips&quot;: [ 52 &quot;toolstrips&quot;: [
53 &quot;my_toolstrip.html&quot; 53 &quot;my_toolstrip.html&quot;
54 ],
55 &quot;permissions&quot;: [
56 &quot;http://api.flickr.com/&quot;
54 ] 57 ]
55 }</pre> 58 }</pre>
56 </li> 59 </li>
57 <li> 60 <li>
58 In the same folder, create a text file called 61 In the same folder, create a text file called
59 <strong><code>my_toolstrip.html</code></strong>, 62 <strong><code>my_toolstrip.html</code></strong>,
60 and put this in it: 63 and put this in it:
61 <pre>&lt;div class=&quot;toolstrip-button&quot;&gt; 64 <pre>&lt;div class=&quot;toolstrip-button&quot;&gt;
62 &lt;span&gt;Hello, World!&lt;/span&gt; 65 &lt;span&gt;Hello, World!&lt;/span&gt;
63 &lt;/div&gt;</pre> 66 &lt;/div&gt;</pre>
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 <li> 197 <li>
195 Learn more about 198 Learn more about
196 <a href="toolstrip.html">toolstrips</a> 199 <a href="toolstrip.html">toolstrips</a>
197 </li> 200 </li>
198 <li> 201 <li>
199 <a href="packaging.html">Package</a> 202 <a href="packaging.html">Package</a>
200 your extension into a <code>.crx</code> file 203 your extension into a <code>.crx</code> file
201 so you can share it with your friends 204 so you can share it with your friends
202 </li> 205 </li>
203 </ul> 206 </ul>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698