HomeSort by relevance Sort by last modified time
    Searched refs:tabId (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/pause-resume/
background.js 12 var tabId = tab.id;
13 var debuggeeId = {tabId:tabId};
15 if (attachedTabs[tabId] == "pausing")
18 if (!attachedTabs[tabId])
20 else if (attachedTabs[tabId])
30 var tabId = debuggeeId.tabId;
31 chrome.browserAction.setIcon({tabId: tabId, path:"debuggerPausing.png"})
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/
background.js 10 function updateAddress(tabId) {
11 chrome.tabs.sendRequest(tabId, {}, function(address) {
12 addresses[tabId] = address;
14 chrome.pageAction.hide(tabId);
16 chrome.pageAction.show(tabId);
17 if (selectedId == tabId) {
18 updateSelected(tabId);
24 function updateSelected(tabId) {
25 selectedAddress = addresses[tabId];
27 chrome.pageAction.setTitle({tabId:tabId, title:selectedAddress})
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/i18n/cld/
background.js 11 chrome.browserAction.setBadgeText({"text": language, tabId: selectedId});
15 chrome.tabs.onUpdated.addListener(function(tabId, props) {
16 if (props.status == "complete" && tabId == selectedId)
20 chrome.tabs.onSelectionChanged.addListener(function(tabId, props) {
21 selectedId = tabId;
  /external/chromium_org/chrome/renderer/resources/extensions/
tabs_custom_bindings.js 18 apiFunctions.setHandleRequest('connect', function(tabId, connectInfo) {
23 var portId = OpenChannelToTab(tabId, extensionId, name);
28 function(tabId, request, responseCallback) {
31 var port = tabs.connect(tabId, {name: messaging.kRequestChannel});
36 function(tabId, message, responseCallback) {
37 var port = tabs.connect(tabId, {name: messaging.kMessageChannel});
  /external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/live-headers/
background.js 6 chrome.debugger.attach({tabId:tab.id}, version,
12 function onAttach(tabId) {
19 {url: "headers.html?" + tabId, type: "popup", width: 800, height: 600});
headers.js 5 var tabId = parseInt(window.location.search.substring(1));
8 chrome.debugger.sendCommand({tabId:tabId}, "Network.enable");
13 chrome.debugger.detach({tabId:tabId});
19 if (tabId != debuggeeId.tabId)
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
TabModelUtils.java 31 * @param tabId The id of the {@link Tab} to close.
34 public static boolean closeTabById(TabModel model, int tabId) {
35 return closeTabById(model, tabId, false);
40 * @param tabId The id of the {@link Tab} to close.
44 public static boolean closeTabById(TabModel model, int tabId, boolean canUndo) {
45 Tab tab = TabModelUtils.getTabById(model, tabId);
65 * @param tabId The id of the {@link Tab} to find.
69 public static int getTabIndexById(TabList model, int tabId) {
74 if (tab.getId() == tabId) return i;
83 * @param tabId The id of the {@link Tab} to find
    [all...]
TabList.java 46 * @param tabId The id of the {@link Tab} that might have a pending closure.
47 * @return Whether or not the {@link Tab} specified by {@code tabId} has a pending
50 boolean isClosurePending(int tabId);
TabModel.java 97 * Commits a pending closure specified by {@code tabId}.
98 * @param tabId The id of the {@link Tab} to commit the pending closure.
100 public void commitTabClosure(int tabId);
105 * @param tabId The id of the {@link Tab} to undo.
107 public void cancelTabClosure(int tabId);
EmptyTabModel.java 91 public boolean isClosurePending(int tabId) {
110 public void commitTabClosure(int tabId) {
114 public void cancelTabClosure(int tabId) {
  /external/chromium_org/chrome/browser/ui/cocoa/extensions/
browser_action_button.h 62 tabId:(int)tabId;
76 @property(readwrite, nonatomic) int tabId;
89 @property(readwrite, nonatomic) int tabId;
  /external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/zoom/
popup.js 20 tabId = -1;
30 // Find the tabId of the current (active) tab. We could just omit the tabId
33 // API with an explicit tabId to demonstrate its use.
38 tabId = tabs[0].id;
40 chrome.tabs.getZoomSettings(tabId, function(zoomSettings) {
54 chrome.tabs.getZoom(tabId, displayZoomLevel);
71 if (tabId == -1)
74 chrome.tabs.getZoom(tabId, function(zoomFactor) {
76 chrome.tabs.setZoom(tabId, newZoomFactor, function()
    [all...]
background.js 15 zoomChangeInfo.tabId + ', new=' +
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/network/
NetworkItemView.js 87 * @param {string=} tabId
89 _selectTab: function(tabId)
91 if (!tabId)
92 tabId = WebInspector.settings.resourceViewTab.get();
94 if (!this.selectTab(tabId))
103 WebInspector.settings.resourceViewTab.set(event.data.tabId);
107 tab: event.data.tabId,
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
ExtensionServerProxy.js 66 WebInspector.setInspectedTabId = function(tabId)
68 WebInspector._inspectedTabId = tabId;
Drawer.js 163 var tabId = this._tabbedPane.selectedTabId;
164 if (tabId && event.data["isUserGesture"] && !this._tabbedPane.isTabCloseable(tabId))
165 this._lastSelectedViewSetting.set(tabId);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
AccessibilityTabModelAdapter.java 32 * An interface used to notify that the {@link Tab} specified by {@code tabId} should be
37 * Show the {@link Tab} specified by {@code tabId}.
38 * @param tabId The id of the {@link Tab} that should be shown.
40 void showTab(int tabId);
80 public void tabChanged(int tabId) {
129 int tabId = (int) getItemId(position);
131 if (tabId == Tab.INVALID_TAB_ID) return null;
141 listItem.setTab(TabModelUtils.getTabById(mUndoneTabModel, tabId),
AccessibilityTabModelListItem.java 84 * @param tabId The ID of the tab that this list item represents.
86 public void tabSelected(int tabId);
90 * @param tabId The ID of the tab that this list item represents.
92 public void tabClosed(int tabId);
96 * @param tabId The ID of the tab that this list item represents.
98 public void tabChanged(int tabId);
103 public boolean hasPendingClosure(int tabId);
107 * @param tabId The ID of the tab to close.
109 public void schedulePendingClosure(int tabId);
113 * @param tabId The ID of the tab that should no longer be closed
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
TabbedEditorContainer.js 126 var tabId = this._tabIds.get(uiSourceCode);
127 if (!tabId)
129 this._closeTabs([tabId]);
202 var tabId = this._tabIds.get(uiSourceCode) || this._appendFileTab(uiSourceCode, userGesture);
204 this._tabbedPane.selectTab(tabId, userGesture);
285 var tabId = this._tabIds.get(uiSourceCode) || this._appendFileTab(uiSourceCode, false);
318 var tabId = this._tabIds.get(uiSourceCode);
319 if (tabId)
320 tabIds.push(tabId);
346 * @param {string} tabId
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/set_icon/
background.js 8 chrome.tabs.onSelectionChanged.addListener(function(tabId) {
9 lastTabId = tabId;
22 tabId: tab.id});
29 chrome.pageAction.setTitle({title: "click:" + clicks, tabId: tab.id});
50 chrome.pageAction.setIcon({imageData: draw(i*2, i*4), tabId: lastTabId});
  /external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/inspector/
tabs_api.js 122 function removeTab(tabId) {
124 chrome.tabs.remove(tabId, function() {
125 appendToLog('tab: ' + tabId + ' removed.');
165 chrome.tabs.onAttached.addListener(function(tabId, props) {
167 'tabs.onAttached -- window: ' + props.newWindowId + ' tab: ' + tabId +
172 chrome.tabs.onMoved.addListener(function(tabId, props) {
174 'tabs.onMoved -- window: ' + props.windowId + ' tab: ' + tabId +
179 function refreshTab(tabId) {
180 chrome.tabs.get(tabId, function(tab) {
184 appendToLog('tab refreshed -- tabId: ' + tab.id + ' url: ' + tab.url)
    [all...]
  /external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/
background.js 13 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
17 chrome.tabs.executeScript(tabId,
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/cvox2/background/
background.js 55 * @param {number} tabId
58 onTabUpdated: function(tabId, changeInfo) {
59 chrome.tabs.get(tabId, function(tab) {
121 * @param {number} tabId The tab where ChromeVox classic is running.
123 disableClassicChromeVox_: function(tabId) {
125 tabId,
  /external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/audits/broken-links/
devtools.js 8 chrome.extension.sendRequest({ tabId: webInspector.inspectedWindow.tabId },
  /external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/
background.js 13 chrome.tabs.executeScript(request.tabId, {

Completed in 234 milliseconds

1 2 3