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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1726 </div> 1726 </div>
1727 </div> 1727 </div>
1728 <!-- MIN_VERSION --> 1728 <!-- MIN_VERSION -->
1729 </div> <!-- /description --> 1729 </div> <!-- /description -->
1730 </div><div class="apiItem"> 1730 </div><div class="apiItem">
1731 <a name="method-move"></a> <!-- method-anchor --> 1731 <a name="method-move"></a> <!-- method-anchor -->
1732 <h4>move</h4> 1732 <h4>move</h4>
1733 <div class="summary"> 1733 <div class="summary">
1734 <!-- Note: intentionally longer 80 columns --> 1734 <!-- Note: intentionally longer 80 columns -->
1735 <span>chrome.tabs.move</span>(<span class="null"><span>integer or array of integer</span> 1735 <span>chrome.tabs.move</span>(<span class="null"><span>integer or array of integer</span>
1736 <var><span>tabIds</span></var></span><span class="null"><s pan>, </span><span>object</span> 1736 <var><span>tabIds</span></var></span><span class="optional "><span>, </span><span>object</span>
1737 <var><span>moveProperties</span></var></span><span class=" optional"><span>, </span><span>function</span> 1737 <var><span>moveProperties</span></var></span><span class=" optional"><span>, </span><span>function</span>
1738 <var><span>callback</span></var></span>)</div> 1738 <var><span>callback</span></var></span>)</div>
1739 <div class="description"> 1739 <div class="description">
1740 <p>Moves one or more tabs to a new position within its window, o r to a new window. Note that tabs can only be moved to and from normal (window.t ype === "normal") windows.</p> 1740 <p>Moves one or more tabs to a new position within its window, o r to a new window. Note that tabs can only be moved to and from normal (window.t ype === "normal") windows.</p>
1741 <!-- PARAMETERS --> 1741 <!-- PARAMETERS -->
1742 <h4>Parameters</h4> 1742 <h4>Parameters</h4>
1743 <dl> 1743 <dl>
1744 <div> 1744 <div>
1745 <div> 1745 <div>
1746 <dt> 1746 <dt>
(...skipping 18 matching lines...) Expand all
1765 <!-- FUNCTION PARAMETERS --> 1765 <!-- FUNCTION PARAMETERS -->
1766 </div> 1766 </div>
1767 </div><div> 1767 </div><div>
1768 <div> 1768 <div>
1769 <dt> 1769 <dt>
1770 <var>moveProperties</var> 1770 <var>moveProperties</var>
1771 <em> 1771 <em>
1772 <!-- TYPE --> 1772 <!-- TYPE -->
1773 <div style="display:inline"> 1773 <div style="display:inline">
1774 ( 1774 (
1775 <span class="optional">optional</span>
1775 <span id="typeTemplate"> 1776 <span id="typeTemplate">
1776 <span> 1777 <span>
1777 <span>object</span> 1778 <span>object</span>
1778 </span> 1779 </span>
1779 </span> 1780 </span>
1780 ) 1781 )
1781 </div> 1782 </div>
1782 </em> 1783 </em>
1783 </dt> 1784 </dt>
1784 <dd class="todo"> 1785 <dd class="todo">
(...skipping 27 matching lines...) Expand all
1812 <!-- FUNCTION PARAMETERS --> 1813 <!-- FUNCTION PARAMETERS -->
1813 </div> 1814 </div>
1814 </div><div> 1815 </div><div>
1815 <div> 1816 <div>
1816 <dt> 1817 <dt>
1817 <var>index</var> 1818 <var>index</var>
1818 <em> 1819 <em>
1819 <!-- TYPE --> 1820 <!-- TYPE -->
1820 <div style="display:inline"> 1821 <div style="display:inline">
1821 ( 1822 (
1823 <span class="optional">optional</span>
1822 <span id="typeTemplate"> 1824 <span id="typeTemplate">
1823 <span> 1825 <span>
1824 <span>integer</span> 1826 <span>integer</span>
1825 </span> 1827 </span>
1826 </span> 1828 </span>
1827 ) 1829 )
1828 </div> 1830 </div>
1829 </em> 1831 </em>
1830 </dt> 1832 </dt>
1831 <dd>The position to move the window to. The provided value will be cla mped to between zero and the number of tabs in the window.</dd> 1833 <dd>The position to move the window to. The provided value will be cla mped to between zero and the number of tabs in the window. Defaults to the index of the last tab in the window.</dd>
1832 <!-- OBJECT PROPERTIES --> 1834 <!-- OBJECT PROPERTIES -->
1833 <!-- OBJECT METHODS --> 1835 <!-- OBJECT METHODS -->
1834 <!-- OBJECT EVENT FIELDS --> 1836 <!-- OBJECT EVENT FIELDS -->
1835 <!-- FUNCTION PARAMETERS --> 1837 <!-- FUNCTION PARAMETERS -->
1836 </div> 1838 </div>
1837 </div> 1839 </div>
1838 </dl> 1840 </dl>
1839 </dd> 1841 </dd>
1840 <!-- OBJECT METHODS --> 1842 <!-- OBJECT METHODS -->
1841 <!-- OBJECT EVENT FIELDS --> 1843 <!-- OBJECT EVENT FIELDS -->
(...skipping 2381 matching lines...) Expand 10 before | Expand all | Expand 10 after
4223 _uff=0; 4225 _uff=0;
4224 urchinTracker(); 4226 urchinTracker();
4225 } 4227 }
4226 catch(e) {/* urchinTracker not available. */} 4228 catch(e) {/* urchinTracker not available. */}
4227 </script> 4229 </script>
4228 <!-- end analytics --> 4230 <!-- end analytics -->
4229 </div> 4231 </div>
4230 </div> <!-- /gc-footer --> 4232 </div> <!-- /gc-footer -->
4231 </div> <!-- /gc-container --> 4233 </div> <!-- /gc-container -->
4232 </body></html> 4234 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698