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

1 2 3 4

  /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 92 public boolean isClosurePending(int tabId) {
111 public void commitTabClosure(int tabId) {
115 public void cancelTabClosure(int tabId) {
TabModelBase.java 192 private Tab findTabInAllTabModels(int tabId) {
193 Tab tab = TabModelUtils.getTabById(mModelDelegate.getModel(mIsIncognito), tabId);
195 return TabModelUtils.getTabById(mModelDelegate.getModel(!mIsIncognito), tabId);
229 public boolean isClosurePending(int tabId) {
230 return mRewoundList.getPendingRewindTab(tabId) != null;
245 public void cancelTabClosure(int tabId) {
246 Tab tab = mRewoundList.getPendingRewindTab(tabId);
286 public void commitTabClosure(int tabId) {
287 Tab tab = mRewoundList.getPendingRewindTab(tabId);
511 public boolean isClosurePending(int tabId) {
    [all...]
  /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/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;
  /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 86 * @param tabId The ID of the tab that this list item represents.
88 public void tabSelected(int tabId);
92 * @param tabId The ID of the tab that this list item represents.
94 public void tabClosed(int tabId);
98 * @param tabId The ID of the tab that this list item represents.
100 public void tabChanged(int tabId);
105 public boolean hasPendingClosure(int tabId);
109 * @param tabId The ID of the tab to close.
111 public void schedulePendingClosure(int tabId);
115 * @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);
319 var tabId = this._tabIds.get(uiSourceCode);
320 if (tabId)
321 tabIds.push(tabId);
347 * @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/gaia_auth/
background.js 42 if (this.bridges_[details.tabId])
43 return this.bridges_[details.tabId].onInsecureRequest(details.url);
50 if (this.bridges_[details.tabId])
51 return this.bridges_[details.tabId].onBeforeSendHeaders(details);
60 if (this.bridges_[details.tabId])
61 this.bridges_[details.tabId].onHeadersReceived(details);
68 if (this.bridges_[details.tabId])
69 this.bridges_[details.tabId].onCompleted(details);
76 var tabId = this.getTabIdFromPort_(port);
77 if (!this.bridges_[tabId])
    [all...]
  /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);
  /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);

Completed in 675 milliseconds

1 2 3 4