/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/chrome/browser/ui/cocoa/extensions/ |
browser_action_button.h | 62 tabId:(int)tabId; 80 @property(readwrite, nonatomic) int tabId; 93 @property(readwrite, nonatomic) 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/third_party/WebKit/Source/devtools/front_end/ |
NetworkItemView.js | 76 * @param {string=} tabId 78 _selectTab: function(tabId) 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,
|
Drawer.js | 86 * @param {string} tabId 90 _addView: function(tabId, title, view) 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]) [all...] |
TabbedEditorContainer.js | 177 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); 321 * @param {string} tabId 324 function tabIdToURI(tabId) 326 return this._files[tabId].uri(); 353 var tabId = this._generateTabId() [all...] |
DevToolsExtensionAPI.js | 35 return tabId; 44 // Only expose tabId on chrome.devtools.inspectedWindow, not webInspector.inspectedWindow. 46 chrome.devtools.inspectedWindow.__defineGetter__("tabId", getTabId);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/ |
background.js | 6 function checkForValidUrl(tabId, changeInfo, tab) { 10 chrome.pageAction.show(tabId);
|
/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/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, {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentTabsFragment.java | 205 public void onTabChanged(String tabId) { 209 FragmentTransaction ft = doTabChanged(tabId, null); 215 private FragmentTransaction doTabChanged(String tabId, FragmentTransaction ft) { 219 if (tab.tag.equals(tabId)) { 224 throw new IllegalStateException("No tab known for tag " + tabId);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
bg.js | 260 function tabNavigated(tabId, changeInfo, tab) { 341 function tabSelectionChanged(tabId) { 342 selectedTabId = tabId; 347 chrome.tabs.get(tabId, function(tab) { 364 function tabRemoved(tabId) { 368 if (tabId == selectedTabId) {
|
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentTabHost.java | 301 public void onTabChanged(String tabId) { 303 FragmentTransaction ft = doTabChanged(tabId, null); 309 mOnTabChangeListener.onTabChanged(tabId); 313 private FragmentTransaction doTabChanged(String tabId, FragmentTransaction ft) { 317 if (tab.tag.equals(tabId)) { 322 throw new IllegalStateException("No tab known for tag " + tabId);
|
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentTabHost.java | 309 public void onTabChanged(String tabId) { 311 FragmentTransaction ft = doTabChanged(tabId, null); 317 mOnTabChangeListener.onTabChanged(tabId); 321 private FragmentTransaction doTabChanged(String tabId, FragmentTransaction ft) { 325 if (tab.tag.equals(tabId)) { 330 throw new IllegalStateException("No tab known for tag " + tabId);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/ |
background.js | 15 tabId: sender.tab.id,
|
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/screenshot/ |
screenshot.js | 14 var addSnapshotImageToTab = function(tabId, changedProps) { 18 if (tabId != targetId || changedProps.status != "complete")
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/processes/show_tabs/ |
popup.js | 64 function showTab(origWindow, windowId, tabId) { 67 chrome.tabs.update(tabId, { selected: true });
|