/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
D | tabs.js | 10 var tabs = windows[i].tabs; 11 for (var j = 0; j < tabs.length; j++) { 12 chrome.tabs.sendRequest( 13 tabs[j].id, 23 var tabs = windows[i].tabs; 24 for (var j = 0; j < tabs.length; j++) { 25 chrome.tabs.executeScript( 26 tabs[j].id, 28 chrome.tabs.executeScript( 29 tabs[j].id,
|
/external/chromium_org/ui/webui/resources/css/ |
D | tabs.css | 10 tabs { selector 18 /* New users of tabs.css should add 'new-style-tabs' to the class list of any 19 * 'tabs' or 'tabpanels' elements. 24 tabs.new-style-tabs { 31 tabs > * { 46 tabs.new-style-tabs > * { 57 tabs > :not([selected]) { 61 tabs.new-style-tabs > :not([selected]) { 66 tabs > :not([selected]):hover { 70 tabs.new-style-tabs > :not([selected]):hover { [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/inspector/ |
D | tabs_api.js | 5 tabs = {}; 27 tabs = {}; 33 for (var j = 0; j < windowList[i].tabs.length; j++) { 34 tabIds[tabIds.length] = windowList[i].tabs[j].id; 35 tabs[windowList[i].tabs[j].id] = windowList[i].tabs[j]; 56 chrome.tabs.update(id, updateTabData(id)); 70 chrome.tabs.move(id, moveTabData(id)); 95 chrome.tabs.create(args); 104 chrome.tabs.update(tabIds[i], updateTabData(tabIds[i])); 115 chrome.tabs.move(tabIds[i], moveTabData(tabIds[i])); [all …]
|
/external/chromium_org/ui/accessibility/extensions/highcontrast/ |
D | background.js | 8 var tabs = windows[i].tabs; 9 for (var j = 0; j < tabs.length; j++) { 10 var url = tabs[j].url; 14 chrome.tabs.insertCSS( 15 tabs[j].id, 17 chrome.tabs.executeScript( 18 tabs[j].id, 31 var tabs = windows[i].tabs; 32 for (var j = 0; j < tabs.length; j++) { 33 var url = tabs[j].url; [all …]
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | tabs_windows_api.cc | 23 event_router->RegisterObserver(this, api::tabs::OnCreated::kEventName); in TabsWindowsAPI() 24 event_router->RegisterObserver(this, api::tabs::OnUpdated::kEventName); in TabsWindowsAPI() 25 event_router->RegisterObserver(this, api::tabs::OnMoved::kEventName); in TabsWindowsAPI() 27 api::tabs::OnSelectionChanged::kEventName); in TabsWindowsAPI() 28 event_router->RegisterObserver(this, api::tabs::OnActiveChanged::kEventName); in TabsWindowsAPI() 29 event_router->RegisterObserver(this, api::tabs::OnActivated::kEventName); in TabsWindowsAPI() 31 api::tabs::OnHighlightChanged::kEventName); in TabsWindowsAPI() 32 event_router->RegisterObserver(this, api::tabs::OnHighlighted::kEventName); in TabsWindowsAPI() 33 event_router->RegisterObserver(this, api::tabs::OnDetached::kEventName); in TabsWindowsAPI() 34 event_router->RegisterObserver(this, api::tabs::OnAttached::kEventName); in TabsWindowsAPI() [all …]
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | browser_unittest.py | 18 self.assertEquals(1, len(self._browser.tabs)) 21 assert self._browser.tabs[0].url 30 existing_tab = self._browser.tabs[0] 31 self.assertEquals(1, len(self._browser.tabs)) 34 new_tab = self._browser.tabs.New() 35 self.assertEquals(2, len(self._browser.tabs)) 40 self.assertEquals(1, len(self._browser.tabs)) 44 self._browser.tabs[0].Navigate(self.UrlOfUnittestFile('blank.html')) 45 self._browser.tabs[0].WaitForDocumentReadyStateToBeInteractiveOrBetter() 48 tab = self._browser.tabs[0] [all …]
|
D | browser_info.py | 30 if len(self._browser.tabs) == 0 and self._browser.supports_tab_control: 31 self._browser.tabs.New() 32 tab = self._browser.tabs[0] 35 elif len(self._browser.tabs) > 0: 36 tab = self._browser.tabs[0]
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
D | chrome_extension_externs.js | 311 chrome.tabs = {}; 323 chrome.tabs.captureVisibleTab = function(windowId, options, callback) {}; 330 chrome.tabs.connect = function(tabId, opt_connectInfo) {}; 337 chrome.tabs.create = function(createProperties, opt_callback) {}; 344 chrome.tabs.detectLanguage = function(tabId, callback) {}; 353 chrome.tabs.executeScript = function(tabId, details, opt_callback) {}; 360 chrome.tabs.get = function(tabId, callback) {}; function in chrome 370 chrome.tabs.getAllInWindow = function(windowId, callback) {}; 376 chrome.tabs.getCurrent = function(callback) {}; 386 chrome.tabs.getSelected = function(windowId, callback) {}; [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/eventPage/basic/ |
D | background.js | 11 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { argument 12 lastTabId = tabs[0].id; 13 chrome.tabs.sendMessage(lastTabId, "Background page started."); 45 chrome.tabs.create({url: "http://google.com"}, function(tab) { 46 chrome.tabs.executeScript(tab.id, {file: "content.js"}, function() { 56 chrome.tabs.create({url: "http://www.google.com/"}); 85 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { argument 92 chrome.tabs.sendMessage(lastTabId, "Background page unloaded.");
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/ |
D | popup.js | 19 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { argument 22 var tab = tabs[0]; 23 chrome.tabs.sendRequest(tab.id, {counter: 1}, function handler(response) { 25 chrome.tabs.sendRequest(tab.id, {counter: response.counter}, handler); 39 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { argument 43 var port = chrome.tabs.connect(tabs[0].id);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/processes/show_tabs/ |
D | popup.js | 8 chrome.tabs.query({currentWindow: true, active: true}, function(tabs) { argument 9 var current = currentWindow.tabs.filter(function(tab) { 28 var tabs = []; 31 for (var j = 0; j < windowList[i].tabs.length; j++) { 32 var tab = windowList[i].tabs[j]; 34 tabs.push(tab); 40 tabs.forEach(function(tab) { 67 chrome.tabs.update(tabId, { selected: true });
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/zoom/ |
D | popup.js | 34 chrome.tabs.query({active: true}, function (tabs) { argument 35 if (tabs.length > 1) 38 tabId = tabs[0].id; 40 chrome.tabs.getZoomSettings(tabId, function(zoomSettings) { 54 chrome.tabs.getZoom(tabId, displayZoomLevel); 68 chrome.tabs.onZoomChange.addListener(zoomChangeListener); 74 chrome.tabs.getZoom(tabId, function(zoomFactor) { 76 chrome.tabs.setZoom(tabId, newZoomFactor, function() { 95 chrome.tabs.setZoom(tabId, 1.0, function() { 125 chrome.tabs.setZoomSettings(tabId, { mode: modeVal, scope: scopeVal },
|
/external/chromium_org/chrome/browser/sessions/ |
D | tab_restore_service_helper.cc | 130 window->tabs.push_back(Tab()); in BrowserClosing() 134 PopulateTab(&(window->tabs[entry_index]), in BrowserClosing() 138 if (window->tabs[entry_index].navigations.empty()) { in BrowserClosing() 139 window->tabs.erase(window->tabs.begin() + entry_index); in BrowserClosing() 141 window->tabs[entry_index].browser_id = delegate->GetSessionID().id(); in BrowserClosing() 145 if (window->tabs.size() == 1 && window->app_name.empty()) { in BrowserClosing() 149 AddEntry(new Tab(window->tabs[0]), true, true); in BrowserClosing() 150 } else if (!window->tabs.empty()) { in BrowserClosing() 152 std::min(static_cast<int>(window->tabs.size() - 1), in BrowserClosing() 245 for (size_t tab_i = 0; tab_i < window->tabs.size(); ++tab_i) { in RestoreEntryById() [all …]
|
D | session_service_unittest.cc | 133 EXPECT_EQ(1U, windows[0]->tabs.size()); in CreateAndWriteSessionWithOneTab() 137 SessionTab* tab = windows[0]->tabs[0]; in CreateAndWriteSessionWithOneTab() 203 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 206 SessionTab* tab = windows[0]->tabs[0]; in TEST_F() 256 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 258 SessionTab* tab = windows[0]->tabs[0]; in TEST_F() 287 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 289 SessionTab* tab = windows[0]->tabs[0]; in TEST_F() 316 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 317 ASSERT_EQ(1U, windows[1]->tabs.size()); in TEST_F() [all …]
|
/external/chromium_org/ui/accessibility/extensions/longdesc/ |
D | background.js | 16 var tabs = windows[i].tabs; 17 for (var j = 0; j < tabs.length; j++) { 18 chrome.tabs.executeScript( 19 tabs[j].id, 62 chrome.tabs.create({url: ariaDescribedAt}); 64 chrome.tabs.create({url: longDesc});
|
/external/chromium_org/chrome/browser/resources/options/ |
D | subpages_tab_controls.css | 5 .subpages-nav-tabs .tab { 10 .subpages-nav-tabs .active-tab { 20 /* To avoid tabs changing size when they are clicked and their labels become 25 .subpages-nav-tabs .active-tab-label, 26 .subpages-nav-tabs .tab-label:hover { 30 .subpages-nav-tabs .tab-label { 36 html[dir=rtl] .subpages-nav-tabs .tab-label { 40 .subpages-nav-tabs .active-tab-label, 41 .subpages-nav-tabs .active-tab .tab-label { 48 .subpages-nav-tabs .active-tab .active-tab-label { [all …]
|
/external/chromium_org/chrome/common/extensions/docs/static/js/ |
D | tabs.js | 35 var tabs = e.target.parentNode; 36 if (!tabs || tabs.tagName !== 'TABS') 39 var headers = tabs.getElementsByTagName('header'), 40 contents = tabs.getElementsByTagName('content'), 41 tabGroup = tabs.getAttribute("data-group"), 96 var tabs = document.getElementsByTagName('tabs'); 97 for (var i=0; i<tabs.length; i++) { 98 initTabPane(tabs[i]);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/i18n/cld/ |
D | background.js | 7 chrome.tabs.detectLanguage(null, function(language) { 15 chrome.tabs.onUpdated.addListener(function(tabId, props) { 20 chrome.tabs.onSelectionChanged.addListener(function(tabId, props) { 25 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { argument 26 selectedId = tabs[0].id;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/cookies/ |
D | background.js | 13 var tabs = windows[i].tabs; 14 for (var j in tabs) { 15 var tab = tabs[j]; 23 chrome.tabs.update(existing_tab.id, {"selected":true}); 25 chrome.tabs.create({"url":url, "selected":true});
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
D | sessions_api.cc | 48 namespace tabs = api::tabs; 73 scoped_ptr<tabs::Tab> CreateTabModelHelper( in CreateTabModelHelper() 81 scoped_ptr<tabs::Tab> tab_struct(new tabs::Tab); in CreateTabModelHelper() 107 scoped_ptr<std::vector<linked_ptr<tabs::Tab> > > tabs, in CreateWindowModelHelper() 112 window_struct->tabs = tabs.Pass(); in CreateWindowModelHelper() 124 scoped_ptr<tabs::Tab> tab, in CreateSessionModelHelper() 145 scoped_ptr<tabs::Tab> SessionsGetRecentlyClosedFunction::CreateTabModel( in CreateTabModel() 160 DCHECK(!window.tabs.empty()); in CreateWindowModel() 162 scoped_ptr<std::vector<linked_ptr<tabs::Tab> > > tabs( in CreateWindowModel() local 163 new std::vector<linked_ptr<tabs::Tab> >); in CreateWindowModel() [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/windows/merge_windows/ |
D | background.js | 14 chrome.tabs.getAllInWindow(targetWindow.id, getTabs); 17 function getTabs(tabs) { argument 18 tabCount = tabs.length; 31 var numTabs = win.tabs.length; 34 var tab = win.tabs[j]; 36 chrome.tabs.move(tab.id,
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/ |
D | background.js | 11 chrome.tabs.sendRequest(tabId, {}, function(address) { 30 chrome.tabs.onUpdated.addListener(function(tabId, change, tab) { 36 chrome.tabs.onSelectionChanged.addListener(function(tabId, info) { 42 chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { argument 43 updateAddress(tabs[0].id);
|
/external/chromium_org/ui/accessibility/extensions/alt/ |
D | background.js | 6 chrome.tabs.executeScript({ 11 chrome.tabs.executeScript({ 16 chrome.tabs.insertCSS({ 21 chrome.tabs.executeScript({ 26 chrome.tabs.executeScript({
|
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/www_content/css/ |
D | settings.css | 5 #tabs-settings table { 9 #tabs-settings table td { 13 #tabs-settings table td:last-of-type { 17 #tabs-settings input[type="text"] { 23 #tabs-settings input[type="text"].saved {
|
/external/chromium_org/tools/telemetry/telemetry/unittest/ |
D | tab_test_case.py | 17 self._tab = self._browser.tabs.New() 18 while len(self._browser.tabs) > 1: 19 self._browser.tabs[0].Close() 21 if not self._browser.tabs: 24 self._tab = self._browser.tabs[0]
|