Home
last modified time | relevance | path

Searched refs:tabId (Results 1 – 25 of 62) sorted by relevance

123

/external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/pause-resume/
Dbackground.js12 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/
Dbackground.js10 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/
Dtab_switcher_view.js56 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 …]
Dlog_util.js112 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);
Dmain.js162 var tabId = viewClass.TAB_ID;
167 if (!tabId || !view || !tabHash || !tabName) {
175 this.tabSwitcher_.addTab(tabId, view, tabName);
176 this.tabIdToHash_[tabId] = tabHash;
177 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/common/extensions/docs/examples/api/tabs/inspector/
Dtabs_api.js122 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/third_party/WebKit/Source/devtools/front_end/
DTabbedEditorContainer.js177 … var tabId = this._tabIds.get(uiSourceCode) || this._appendFileTab(uiSourceCode, userGesture);
179 this._tabbedPane.selectTab(tabId, userGesture);
259 var tabId = this._tabIds.get(uiSourceCode) || this._appendFileTab(uiSourceCode, false);
293 var tabId = this._tabIds.get(uiSourceCode);
294 if (tabId)
295 tabIds.push(tabId);
324 function tabIdToURI(tabId) argument
326 return this._files[tabId].uri();
353 var tabId = this._generateTabId();
354 this._tabIds.put(uiSourceCode, tabId);
[all …]
DDrawer.js90 _addView: function(tabId, title, view) argument
92 if (!this._tabbedPane.hasTab(tabId)) {
93 this._tabbedPane.appendTab(tabId, title, view, undefined, false);
95 this._tabbedPane.changeTabTitle(tabId, title);
96 this._tabbedPane.changeTabView(tabId, view);
365 var tabId = this._tabbedPane.selectedTabId;
366 if (!this._tabbedPane.isTabCloseable(tabId))
367 this._lastSelectedViewSetting.set(tabId);
368 if (this._viewFactories[tabId])
369 this._tabbedPane.changeTabView(tabId, this._viewFactories[tabId].createView(tabId));
DNetworkItemView.js78 _selectTab: function(tabId) argument
80 if (!tabId)
81 tabId = WebInspector.settings.resourceViewTab.get();
83 if (!this.selectTab(tabId)) {
95 WebInspector.settings.resourceViewTab.set(event.data.tabId);
99 tab: event.data.tabId,
/external/chromium_org/chrome/renderer/resources/extensions/
Dtabs_custom_bindings.js18 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/
Dbackground.js11 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/
Dheaders.js5 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)
Dbackground.js6 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/
Dwebrtc_logging_private.idl25 // 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,
61 static void upload(long tabId,
66 static void discard(long tabId,
/external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/set_icon/
Dbackground.js8 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/
Dbackground.js43 var tabId = request.tabId;
44 chrome.tabs.executeScript(tabId, { file: "content.js" }, function() {
45 chrome.tabs.sendRequest(tabId, {}, function(results) {
Ddevtools.js8 chrome.extension.sendRequest({ tabId: webInspector.inspectedWindow.tabId }, property
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dbrowser_action_button.h62 tabId:(int)tabId;
76 @property(readwrite, nonatomic) int tabId;
89 @property(readwrite, nonatomic) int tabId;
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dbrowser_action_button.h62 tabId:(int)tabId;
80 @property(readwrite, nonatomic) int tabId;
93 @property(readwrite, nonatomic) int tabId;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/
Dbg.js264 function tabNavigated(tabId, changeInfo, tab) { argument
345 function tabSelectionChanged(tabId) { argument
346 selectedTabId = tabId;
351 chrome.tabs.get(tabId, function(tab) {
368 function tabRemoved(tabId) { argument
372 if (tabId == selectedTabId) {
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/
Dbg.js260 function tabNavigated(tabId, changeInfo, tab) { argument
341 function tabSelectionChanged(tabId) { argument
342 selectedTabId = tabId;
347 chrome.tabs.get(tabId, function(tab) {
364 function tabRemoved(tabId) { argument
368 if (tabId == selectedTabId) {
/external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/
Dbackground.js6 function checkForValidUrl(tabId, changeInfo, tab) { argument
10 chrome.pageAction.show(tabId);
/external/chromium_org/chrome/common/extensions/docs/examples/api/webNavigation/basic/
Dnavigation_collector.js137 return data.tabId + '-' + (data.frameId ? data.frameId : 0);
154 tabId: null
219 this.pending_[id].openedInNewTab = data.tabId;
221 tabId: data.sourceTabId, property
287 tabId: null property
322 tabId: null property
/external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/
Dbackground.js13 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { argument
17 chrome.tabs.executeScript(tabId,
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/screenshot/
Dscreenshot.js14 var addSnapshotImageToTab = function(tabId, changedProps) { argument
18 if (tabId != targetId || changedProps.status != "complete")

123