Home | History | Annotate | Download | only in docs

Lines Matching full:tabs

19   <title>Tabs - Google Chrome Extensions - Google Code</title></head>
129 <span class="greytext">e.g. "page action" or "tabs"</span>
146 <ul id="home" class="gc-topnav-tabs">
192 <li class="leftNavSelected">Tabs</li>
254 <h1 class="page_title">Tabs</h1>
276 <a href="#apiReference">API reference: chrome.tabs</a>
360 <div id="static"><div id="pageData-name" class="pageData">Tabs</div>
364 Use the <code>chrome.tabs</code> module
367 create, modify, and rearrange tabs in the browser.
370 <img src="images/tabs.png" width="323" height="50" alt="Two tabs in a window">
374 Almost all <code>chrome.tabs</code> methods require you to
375 declare the "tabs" permission
384 "tabs"
390 The two methods that don't require the "tabs" permission are
399 You can find simple examples of using the tabs module in the
400 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/">examples/api/tabs</a>
412 <h2>API reference: chrome.tabs</h2>
444 <span>chrome.tabs.captureVisibleTab</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span>
911 <span>chrome.tabs.connect</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span>
1243 <span>chrome.tabs.create</span>(<span class="null"><span style="display: none; ">, </span><span>object</span>
1249 <p>Creates a new tab. Note: This function can be used without requesting the 'tabs' permission in the manifest.</p>
1400 <dd>The position the tab should take in the window. The provided value will be clamped to between zero and the number of tabs in the window.</dd>
1772 <a href="tabs.html#type-Tab">Tab</a>
1847 <span>chrome.tabs.detectLanguage</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span>
2112 <span>chrome.tabs.executeScript</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span>
2580 <span>chrome.tabs.get</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span>
2772 <a href="tabs.html#type-Tab">Tab</a>
2849 <span>chrome.tabs.getAllInWindow</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span>
2855 <p>Gets details about all tabs in the specified window.</p>
3024 <pre>function(<span>array of Tab tabs</span>) <span class="subdued">{...}</span>;</pre>
3029 <var>tabs</var>
3045 <a href="tabs.html#type-Tab">Tab</a>
3127 <span>chrome.tabs.getCurrent</span>(<span class="null"><span style="display: none; ">, </span><span>function</span>
3248 <a href="tabs.html#type-Tab">Tab</a>
3325 <span>chrome.tabs.getSelected</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span>
3515 <a href="tabs.html#type-Tab">Tab</a>
3592 <span>chrome.tabs.insertCSS</span>(<span class="optional"><span style="display: none; ">, </span><span>integer</span>
4060 <span>chrome.tabs.move</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span>
4067 <p>Moves a tab to a new position within its window, or to a new window. Note that tabs can only be moved to and from normal (window.type === "normal") windows.</p>
4288 <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>
4456 <a href="tabs.html#type-Tab">Tab</a>
4531 <span>chrome.tabs.remove</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span>
4733 <span>chrome.tabs.sendRequest</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span>
5144 <span>chrome.tabs.update</span>(<span class="null"><span style="display: none; ">, </span><span>integer</span>
5151 <p>Modifies the properties of a tab. Properties that are not specified in <var>updateProperties</var> are not modified. Note: This function can be used without requesting the 'tabs' permission in the manifest.</p>
5608 <a href="tabs.html#type-Tab">Tab</a>
5692 <span class="subdued">chrome.tabs.</span><span>onAttached</span><span class="subdued">.addListener</span>(function(<span>integer tabId, object attachInfo</span>) <span class="subdued">{...}</span>);
5991 <span class="subdued">chrome.tabs.</span><span>onCreated</span><span class="subdued">.addListener</span>(function(<span>Tab tab</span>) <span class="subdued">{...}</span>);
6015 <a href="tabs.html#type-Tab">Tab</a>
6081 <span class="subdued">chrome.tabs.</span><span>onDetached</span><span class="subdued">.addListener</span>(function(<span>integer tabId, object detachInfo</span>) <span class="subdued">{...}</span>);
6380 <span class="subdued">chrome.tabs.</span><span>onMoved</span><span class="subdued">.addListener</span>(function(<span>integer tabId, object moveInfo</span>) <span class="subdued">{...}</span>);
6385 <p>Fires when a tab is moved within a window. Only one move event is fired, representing the tab the user directly moved. Move events are not fired for the other tabs that must move in response. This event is not fired when a tab is moved between windows. For that, see <a href="#event-onDetached">onDetached</a>.</p>
6749 <span class="subdued">chrome.tabs.</span><span>onRemoved</span><span class="subdued">.addListener</span>(function(<span>integer tabId, object removeInfo</span>) <span class="subdued">{...}</span>);
6976 <span class="subdued">chrome.tabs.</span><span>onSelectionChanged</span><span class="subdued">.addListener</span>(function(<span>integer tabId, object selectInfo</span>) <span class="subdued">{...}</span>);
7201 <span class="subdued">chrome.tabs.</span><span>onUpdated</span><span class="subdued">.addListener</span>(function(<span>integer tabId, object changeInfo, Tab tab</span>) <span class="subdued">{...}</span>);
7564 <a href="tabs.html#type-Tab">Tab</a>