Commit 83322fc8 authored by battre@chromium.org's avatar battre@chromium.org

Delete "declarative" permission.

BUG=137507
TEST=no

Review URL: https://chromiumcodereview.appspot.com/10824041

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148747 0039d316-1c4b-4281-b951-d872f2087c98
parent c01806f3
......@@ -362,7 +362,7 @@ For other examples and for help in viewing the source code, see
<var><span>selectionParams</span></var></span><span class="null"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
<p>Prompts user to select file path under which a new file will be created. When the user selects file, the file gets created or, if it already existed, truncated. The function has to be called with a user gesture.</p>
<p>Prompts user to select file path under which file should be saved. When the file is selected, file access permission required to use the file (read, write and create) are granted to the caller. The file will not actually get created during the functin call, so function caller must ensure its existance before using it. The function has to be invoked with a user gesture.</p>
<!-- PARAMETERS -->
<h4>Parameters</h4>
<dl>
......@@ -383,7 +383,7 @@ For other examples and for help in viewing the source code, see
</div>
</em>
</dt>
<dd>Parameters that will be used to create a new file.</dd>
<dd>Parameters that will be used while selecting the file.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
......@@ -404,7 +404,7 @@ For other examples and for help in viewing the source code, see
</div>
</em>
</dt>
<dd>Suggested name for the new file.</dd>
<dd>Suggested name for the file.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
......
......@@ -308,7 +308,6 @@ hosts whose network requests you want to access.
"name": "My extension",
...
<b> "permissions": [
"declarative",
"declarativeWebRequest",
"*://*.google.com"
]</b>,
......
......@@ -391,7 +391,7 @@ For other examples and for help in viewing the source code, see
<var><span>selectionParams</span></var></span><span class="null"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
<p>Prompts user to select file path under which a new file will be created. When the user selects file, the file gets created or, if it already existed, truncated. The function has to be called with a user gesture.</p>
<p>Prompts user to select file path under which file should be saved. When the file is selected, file access permission required to use the file (read, write and create) are granted to the caller. The file will not actually get created during the functin call, so function caller must ensure its existance before using it. The function has to be invoked with a user gesture.</p>
<!-- PARAMETERS -->
<h4>Parameters</h4>
<dl>
......@@ -412,7 +412,7 @@ For other examples and for help in viewing the source code, see
</div>
</em>
</dt>
<dd>Parameters that will be used to create a new file.</dd>
<dd>Parameters that will be used while selecting the file.</dd>
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
......@@ -433,7 +433,7 @@ For other examples and for help in viewing the source code, see
</div>
</em>
</dt>
<dd>Suggested name for the new file.</dd>
<dd>Suggested name for the file.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
......@@ -523,7 +523,7 @@ For other examples and for help in viewing the source code, see
</div>
</em>
</dt>
<dd>Has the file been selected.</dd>
<dd>Whether the file has been selected.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
......
......@@ -24,7 +24,6 @@ hosts whose network requests you want to access.
"name": "My extension",
...
<b> "permissions": [
"declarative",
"declarativeWebRequest",
"*://*.google.com"
]</b>,
......
......@@ -58,7 +58,6 @@ void APIPermission::RegisterAllPermissions(
IDS_EXTENSION_PROMPT_WARNING_CLIPBOARD,
PermissionMessage::kClipboard },
{ kClipboardWrite, "clipboardWrite" },
{ kDeclarative, "declarative" },
{ kDeclarativeWebRequest, "declarativeWebRequest" },
{ kDownloads, "downloads", kFlagNone,
IDS_EXTENSION_PROMPT_WARNING_DOWNLOADS,
......
......@@ -545,7 +545,6 @@ TEST(PermissionsTest, PermissionMessages) {
skip.insert(APIPermission::kBrowserTag);
skip.insert(APIPermission::kBrowsingData);
skip.insert(APIPermission::kContextMenus);
skip.insert(APIPermission::kDeclarative);
skip.insert(APIPermission::kFontSettings);
skip.insert(APIPermission::kIdle);
skip.insert(APIPermission::kNotification);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment