Home
last modified time | relevance | path

Searched refs:tabId (Results 1 – 25 of 69) 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.js163 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/
Dbackground.js44 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/
Dpopup.js20 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/
DTabbedEditorContainer.js126 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/
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/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
DTabModelUtils.java34 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()
DTabModelBase.java205 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/
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,
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/
DNetworkItemView.js89 _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/
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) {
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dchrome_extension_externs.js330 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/
Dbrowser_action_button.h62 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/
DAccessibilityTabModelAdapter.java40 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()
DAccessibilityTabModelListItem.java86 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/
Dbackground.js58 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/
DDrawer.js163 var tabId = this._tabbedPane.selectedTabId;
164 if (tabId && event.data["isUserGesture"] && !this._tabbedPane.isTabCloseable(tabId))
165 this._lastSelectedViewSetting.set(tabId);

123