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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/manifest.html

Issue 14037008: App and Extension Documentation: Don't forbid non-standard icon sizes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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
« 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 <h1>Formats: Manifest Files</h1> 1 <h1>Formats: Manifest Files</h1>
2 2
3 3
4 <p> 4 <p>
5 Every extension, installable web app, and theme has a 5 Every extension, installable web app, and theme has a
6 <a href="http://www.json.org">JSON</a>-formatted manifest file, 6 <a href="http://www.json.org">JSON</a>-formatted manifest file,
7 named <code>manifest.json</code>, 7 named <code>manifest.json</code>,
8 that provides important information. 8 that provides important information.
9 </p> 9 </p>
10 10
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 Here's an example of specifying the icons: 177 Here's an example of specifying the icons:
178 </p> 178 </p>
179 179
180 <pre> 180 <pre>
181 "icons": { "16": "icon16.png", 181 "icons": { "16": "icon16.png",
182 "48": "icon48.png", 182 "48": "icon48.png",
183 "128": "icon128.png" }, 183 "128": "icon128.png" },
184 </pre> 184 </pre>
185 185
186 <p class="note"> 186 <p class="note">
187 <b>Important:</b> 187 You may provide icons of any other size you wish, and Chrome will attempt to use
188 Use only the documented icon sizes. 188 the best size where appropriate. For example, Windows often requires 32-pixel
189 <br><br> 189 icons, and if the app includes a 32-pixel icon, Chrome will choose that instead
190 You might notice that Chrome sometimes resizes these icons down to smaller 190 of shrinking a 48-pixel icon down. However, you should ensure that all of your
191 sizes. For example, the install dialog might shrink the 128-pixel 191 icons are square, or unexpected behavior may result.
192 icon down to 69 pixels.
193 <br><br>
194 However, the details of
195 Chrome's UI may change between versions, and these changes assume that
196 developers are using the documented sizes. If you use other sizes,
197 your icon may look bad in future versions of the browser.
198 </p> 192 </p>
199 193
200 <p> 194 <p>
201 If you upload your extension, app, or theme using the 195 If you upload your extension, app, or theme using the
202 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope r Dashboard</a>, 196 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope r Dashboard</a>,
203 you'll need to upload additional images, 197 you'll need to upload additional images,
204 including at least one screenshot of your extension. 198 including at least one screenshot of your extension.
205 For more information, 199 For more information,
206 see the 200 see the
207 <a href="http://code.google.com/chrome/webstore/">Chrome Web Store 201 <a href="http://code.google.com/chrome/webstore/">Chrome Web Store
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 goes into more detail about implementing a sandboxing workflow that enables use 624 goes into more detail about implementing a sandboxing workflow that enables use
631 of libraries that would otherwise have issues executing under extension's 625 of libraries that would otherwise have issues executing under extension's
632 <a href="../extensions/contentSecurityPolicy.html">default Content Security 626 <a href="../extensions/contentSecurityPolicy.html">default Content Security
633 Policy</a>. 627 Policy</a>.
634 </p> 628 </p>
635 629
636 <p> 630 <p>
637 Sandboxed page may only be specified when using 631 Sandboxed page may only be specified when using
638 <a href="#manifest_version"><code>manifest_version</code></a> 2 or above. 632 <a href="#manifest_version"><code>manifest_version</code></a> 2 or above.
639 </p> 633 </p>
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