/external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/pause-resume/ |
D | background.js | 12 var tabId = tab.id; 13 var debuggeeId = {tabId:tabId}; property 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"}); property 32 chrome.browserAction.setTitle({tabId: tabId, title:"Pausing JavaScript"}); property 33 attachedTabs[tabId] = "pausing"; 44 var tabId = debuggeeId.tabId; [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/ |
D | background.js | 10 function updateAddress(tabId) { argument 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) { argument 25 selectedAddress = addresses[tabId]; 27 chrome.pageAction.setTitle({tabId:tabId, title:selectedAddress}); property [all …]
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
D | tab_switcher_view.js | 56 for (var tabId in this.tabIdToView_) { 57 var view = this.tabIdToView_[tabId]; 78 addTab: function(tabId, view, name) { argument 79 if (!tabId) { 83 this.tabIdToView_[tabId] = view; 90 menuItem.value = tabId; 94 showMenuItem: function(tabId, isVisible) { argument 95 var wasActive = this.activeTabId_ == tabId; 99 var menuitem = this.getMenuItemNode_(tabId); 120 getTabView: function(tabId) { argument [all …]
|
D | log_util.js | 112 for (var tabId in tabIdToView) { 113 var view = tabIdToView[tabId]; 115 tabData[tabId] = view.saveState(); 226 for (var tabId in tabIdToView) { 227 var view = tabIdToView[tabId]; 228 view.onLoadLogStart(logDump.polledData, logDump.tabData[tabId]); 247 for (var tabId in tabIdToView) { 248 var view = tabIdToView[tabId]; 254 logDump.tabData[tabId], 262 tabSwitcher.showMenuItem(tabId, showView);
|
D | main.js | 163 var tabId = viewClass.TAB_ID; 168 if (!tabId || !view || !tabHash || !tabName) { 176 this.tabSwitcher_.addTab(tabId, view, tabName); 177 this.tabIdToHash_[tabId] = tabHash; 178 this.hashToTabId_[tabHash] = tabId; 242 var tabId = this.hashToTabId_[parsed.tabHash]; 244 if (tabId) { 245 this.tabSwitcher_.switchToTab(tabId); 247 var view = this.tabSwitcher_.getTabView(tabId);
|
/external/chromium_org/chrome/browser/resources/gaia_auth/ |
D | background.js | 44 if (this.bridges_[details.tabId]) 45 return this.bridges_[details.tabId].onInsecureRequest(details.url); 52 if (this.bridges_[details.tabId]) 53 return this.bridges_[details.tabId].onBeforeSendHeaders(details); 62 if (this.bridges_[details.tabId]) 63 return this.bridges_[details.tabId].onHeadersReceived(details); 70 if (this.bridges_[details.tabId]) 71 this.bridges_[details.tabId].onCompleted(details); 78 var tabId = this.getTabIdFromPort_(port); 79 if (!this.bridges_[tabId]) [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/zoom/ |
D | popup.js | 20 tabId = -1; 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() { 92 if (tabId == -1) 95 chrome.tabs.setZoom(tabId, 1.0, function() { 102 if (tabId == -1) [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
D | 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); 349 function tabIdToURI(tabId) argument [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/inspector/ |
D | tabs_api.js | 122 function removeTab(tabId) { argument 124 chrome.tabs.remove(tabId, function() { 125 appendToLog('tab: ' + tabId + ' removed.'); 165 chrome.tabs.onAttached.addListener(function(tabId, props) { argument 167 'tabs.onAttached -- window: ' + props.newWindowId + ' tab: ' + tabId + 172 chrome.tabs.onMoved.addListener(function(tabId, props) { argument 174 'tabs.onMoved -- window: ' + props.windowId + ' tab: ' + tabId + 179 function refreshTab(tabId) { argument 180 chrome.tabs.get(tabId, function(tab) { 188 chrome.tabs.onUpdated.addListener(function(tabId, props) { argument [all …]
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ |
D | TabModelUtils.java | 34 public static boolean closeTabById(TabModel model, int tabId) { in closeTabById() argument 35 return closeTabById(model, tabId, false); in closeTabById() 44 public static boolean closeTabById(TabModel model, int tabId, boolean canUndo) { in closeTabById() argument 45 Tab tab = TabModelUtils.getTabById(model, tabId); in closeTabById() 69 public static int getTabIndexById(TabList model, int tabId) { in getTabIndexById() argument 74 if (tab.getId() == tabId) return i; in getTabIndexById() 86 public static Tab getTabById(TabList model, int tabId) { in getTabById() argument 87 int index = getTabIndexById(model, tabId); in getTabById()
|
D | TabModelBase.java | 205 private Tab findTabInAllTabModels(int tabId) { in findTabInAllTabModels() argument 206 Tab tab = TabModelUtils.getTabById(mModelDelegate.getModel(mIsIncognito), tabId); in findTabInAllTabModels() 208 return TabModelUtils.getTabById(mModelDelegate.getModel(!mIsIncognito), tabId); in findTabInAllTabModels() 242 public boolean isClosurePending(int tabId) { in isClosurePending() argument 243 return mRewoundList.getPendingRewindTab(tabId) != null; in isClosurePending() 258 public void cancelTabClosure(int tabId) { in cancelTabClosure() argument 259 Tab tab = mRewoundList.getPendingRewindTab(tabId); in cancelTabClosure() 299 public void commitTabClosure(int tabId) { in commitTabClosure() argument 300 Tab tab = mRewoundList.getPendingRewindTab(tabId); in commitTabClosure() 531 public boolean isClosurePending(int tabId) { in isClosurePending() argument [all …]
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
D | tabs_custom_bindings.js | 18 apiFunctions.setHandleRequest('connect', function(tabId, connectInfo) { argument 23 var portId = OpenChannelToTab(tabId, extensionId, name); 28 function(tabId, request, responseCallback) { argument 31 var port = tabs.connect(tabId, {name: messaging.kRequestChannel}); 36 function(tabId, message, responseCallback) { argument 37 var port = tabs.connect(tabId, {name: messaging.kMessageChannel});
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/i18n/cld/ |
D | background.js | 11 chrome.browserAction.setBadgeText({"text": language, tabId: selectedId}); property 15 chrome.tabs.onUpdated.addListener(function(tabId, props) { argument 16 if (props.status == "complete" && tabId == selectedId) 20 chrome.tabs.onSelectionChanged.addListener(function(tabId, props) { argument 21 selectedId = tabId;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/live-headers/ |
D | headers.js | 5 var tabId = parseInt(window.location.search.substring(1)); variable 8 chrome.debugger.sendCommand({tabId:tabId}, "Network.enable"); property 13 chrome.debugger.detach({tabId:tabId}); property 19 if (tabId != debuggeeId.tabId)
|
D | background.js | 6 chrome.debugger.attach({tabId:tab.id}, version, property 12 function onAttach(tabId) { argument 19 {url: "headers.html?" + tabId, type: "popup", width: 800, height: 600});
|
/external/chromium_org/chrome/common/extensions/api/ |
D | webrtc_logging_private.idl | 25 // For all functions, |tabId| determines which render process to apply 26 // the operation on. |tabId| is the identifier from the chrome.tabs API. 27 // |securityOrigin| is the security origin for the tab identified by |tabId| 33 static void setMetaData(long tabId, 41 static void start(long tabId, 49 static void setUploadOnRenderClose(long tabId, 56 static void stop(long tabId, 62 static void upload(long tabId, 67 static void discard(long tabId, 73 static void startRtpDump(long tabId, [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/network/ |
D | NetworkItemView.js | 89 _selectTab: function(tabId) argument 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/chrome/common/extensions/docs/examples/api/pageAction/set_icon/ |
D | background.js | 8 chrome.tabs.onSelectionChanged.addListener(function(tabId) { argument 9 lastTabId = tabId; 22 tabId: tab.id}); property 29 chrome.pageAction.setTitle({title: "click:" + clicks, tabId: tab.id}); property 50 chrome.pageAction.setIcon({imageData: draw(i*2, i*4), tabId: lastTabId}); property
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/audits/broken-links/ |
D | background.js | 43 var tabId = request.tabId; 44 chrome.tabs.executeScript(tabId, { file: "content.js" }, function() { 45 chrome.tabs.sendRequest(tabId, {}, function(results) {
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
D | chrome_extension_externs.js | 330 chrome.tabs.connect = function(tabId, opt_connectInfo) {}; argument 344 chrome.tabs.detectLanguage = function(tabId, callback) {}; argument 353 chrome.tabs.executeScript = function(tabId, details, opt_callback) {}; argument 360 chrome.tabs.get = function(tabId, callback) {}; argument 405 chrome.tabs.insertCSS = function(tabId, details, opt_callback) {}; argument 414 chrome.tabs.move = function(tabId, moveProperties, opt_callback) {}; argument 450 chrome.tabs.sendMessage = function(tabId, request, opt_callback) {}; argument 459 chrome.tabs.sendRequest = function(tabId, request, opt_callback) {}; argument 468 chrome.tabs.update = function(tabId, updateProperties, opt_callback) {}; argument 558 chrome.windows.remove = function(tabId, opt_callback) {}; argument [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | browser_action_button.h | 62 tabId:(int)tabId; 76 @property(readwrite, nonatomic) int tabId; 89 @property(readwrite, nonatomic) int tabId;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/ |
D | AccessibilityTabModelAdapter.java | 40 void showTab(int tabId); in showTab() argument 80 public void tabChanged(int tabId) { 129 int tabId = (int) getItemId(position); in getView() local 131 if (tabId == Tab.INVALID_TAB_ID) return null; in getView() 141 listItem.setTab(TabModelUtils.getTabById(mUndoneTabModel, tabId), in getView()
|
D | AccessibilityTabModelListItem.java | 86 public void tabSelected(int tabId); in tabSelected() argument 92 public void tabClosed(int tabId); in tabClosed() argument 98 public void tabChanged(int tabId); in tabChanged() argument 103 public boolean hasPendingClosure(int tabId); in hasPendingClosure() argument 109 public void schedulePendingClosure(int tabId); in schedulePendingClosure() argument 115 public void cancelPendingClosure(int tabId); in cancelPendingClosure() argument 294 int tabId = mTab.getId(); in onClick() local 295 if (v == AccessibilityTabModelListItem.this && !mListener.hasPendingClosure(tabId)) { in onClick() 296 mListener.tabSelected(tabId); in onClick() 307 mListener.cancelPendingClosure(tabId); in onClick()
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/cvox2/background/ |
D | background.js | 58 onTabUpdated: function(tabId, changeInfo) { argument 59 chrome.tabs.get(tabId, function(tab) { 123 disableClassicChromeVox_: function(tabId) { argument 125 tabId,
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
D | Drawer.js | 163 var tabId = this._tabbedPane.selectedTabId; 164 if (tabId && event.data["isUserGesture"] && !this._tabbedPane.isTabCloseable(tabId)) 165 this._lastSelectedViewSetting.set(tabId);
|