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

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

Issue 9699065: "index" property should be optional with "chrome.tabs.move" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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/tabs.html
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index dfab0959260a8b0c3a9aa81d6929c68a3cb17d90..464326f68f1cc7e9b36abb18810d49ca4a153bfe 100644
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.html
@@ -1733,7 +1733,7 @@ For other examples and for help in viewing the source code, see
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
<span>chrome.tabs.move</span>(<span class="null"><span>integer or array of integer</span>
- <var><span>tabIds</span></var></span><span class="null"><span>, </span><span>object</span>
+ <var><span>tabIds</span></var></span><span class="optional"><span>, </span><span>object</span>
<var><span>moveProperties</span></var></span><span class="optional"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
@@ -1772,6 +1772,7 @@ For other examples and for help in viewing the source code, see
<!-- TYPE -->
<div style="display:inline">
(
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span>
<span>object</span>
@@ -1819,6 +1820,7 @@ For other examples and for help in viewing the source code, see
<!-- TYPE -->
<div style="display:inline">
(
+ <span class="optional">optional</span>
<span id="typeTemplate">
<span>
<span>integer</span>
@@ -1828,7 +1830,7 @@ For other examples and for help in viewing the source code, see
</div>
</em>
</dt>
- <dd>The position to move the window to. The provided value will be clamped to between zero and the number of tabs in the window.</dd>
+ <dd>The position to move the window to. The provided value will be clamped to between zero and the number of tabs in the window. Defaults to the index of the last tab in the window.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->

Powered by Google App Engine
This is Rietveld 408576698