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

Unified Diff: chrome/common/extensions/docs/extensions/management.html

Issue 10825310: Add a 'type' property to ExtensionInfo (chrome.management). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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/extensions/management.html
diff --git a/chrome/common/extensions/docs/extensions/management.html b/chrome/common/extensions/docs/extensions/management.html
index a3f1688dc8753c039abb5200eea3b2f9cf68dfbe..d9e85cf396002d87f3d1c26d28865be48782035b 100644
--- a/chrome/common/extensions/docs/extensions/management.html
+++ b/chrome/common/extensions/docs/extensions/management.html
@@ -301,7 +301,7 @@ The one method that doesn't require the "management" permission is
<var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
- <p>Returns information about the installed extension or app that has the given ID.</p>
+ <p>Returns information about the installed extension, app, or theme that has the given ID.</p>
<!-- PARAMETERS -->
<h4>Parameters</h4>
<dl>
@@ -1229,7 +1229,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>The id of the extension or app that was uninstalled.</dd>
+ <dd>The id of the extension, app, or theme that was uninstalled.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1269,7 +1269,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>Information about an icon belonging to an extension or app.</dd>
+ <dd>Information about an icon belonging to an extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
@@ -1344,7 +1344,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>Information about an installed extension or app.</dd>
+ <dd>Information about an installed extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
@@ -1388,7 +1388,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>The name of this extension or app.</dd>
+ <dd>The name of this extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1411,7 +1411,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>The description of this extension or app.</dd>
+ <dd>The description of this extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1434,7 +1434,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>The <a href="manifest.html#version">version</a> of this extension or app.</dd>
+ <dd>The <a href="manifest.html#version">version</a> of this extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1515,21 +1515,23 @@ The one method that doesn't require the "management" permission is
</div><div>
<div>
<dt>
- <var>isApp</var>
+ <var>type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
+ <span class="enum">enumerated</span>
<span id="typeTemplate">
<span>
- <span>boolean</span>
+ <span>string</span>
+ <span>["extension", "hosted_app", "packaged_app", "platform_app", "theme"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>True if this is an app.</dd>
+ <dd>The type of this extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1577,7 +1579,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>The URL of the homepage of this extension or app.</dd>
+ <dd>The URL of the homepage of this extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1601,7 +1603,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>The update URL of this extension or app.</dd>
+ <dd>The update URL of this extension, app, or theme.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1624,7 +1626,7 @@ The one method that doesn't require the "management" permission is
</div>
</em>
</dt>
- <dd>Whether the extension or app declares that it supports offline.</dd>
+ <dd>Whether the extension, app, or theme declares that it supports offline.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1749,16 +1751,18 @@ The one method that doesn't require the "management" permission is
<!-- TYPE -->
<div style="display:inline">
(
+ <span class="enum">enumerated</span>
<span id="typeTemplate">
<span>
<span>string</span>
+ <span>["admin", "development", "normal", "sideload", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the extension was installed ("admin", "development", "normal", "sideload", "other"). "admin" means the extension was installed because of an administrative policy. "development" means the extension was loaded unpacked in developer mode. "normal" means the extension was installed normally via a .crx file. "sideload" means the extension was installed by other software on the machine. "other" means the extension was installed by other means.</dd>
+ <dd>How the extension was installed. One of<br><var>admin</var>: The extension was installed because of an administrative policy,<br><var>development</var>: The extension was loaded unpacked in developer mode,<br><var>normal</var>: The extension was installed normally via a .crx file,<br><var>sideload</var>: The extension was installed by other software on the machine,<br><var>other</var>: The extension was installed by other means.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->

Powered by Google App Engine
This is Rietveld 408576698