/external/chromium/chrome/browser/sessions/ |
D | tab_restore_service.cc | 143 std::vector<TabRestoreService::Tab>::iterator j = window->tabs.begin(); in RemoveEntryByID() 144 for ( ; j != window->tabs.end(); ++j) { in RemoveEntryByID() 147 window->tabs.erase(j); in RemoveEntryByID() 243 window->tabs.push_back(Tab()); in BrowserClosing() 247 PopulateTab(&(window->tabs[entry_index]), in BrowserClosing() 251 if (window->tabs[entry_index].navigations.empty()) { in BrowserClosing() 252 window->tabs.erase(window->tabs.begin() + entry_index); in BrowserClosing() 254 window->tabs[entry_index].browser_id = delegate->GetSessionID().id(); in BrowserClosing() 258 if (window->tabs.size() == 1) { in BrowserClosing() 262 AddEntry(new Tab(window->tabs[0]), true, true); in BrowserClosing() [all …]
|
D | session_service_unittest.cc | 116 EXPECT_EQ(1U, windows[0]->tabs.size()); in CreateAndWriteSessionWithOneTab() 120 SessionTab* tab = windows[0]->tabs[0]; in CreateAndWriteSessionWithOneTab() 163 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 166 SessionTab* tab = windows[0]->tabs[0]; in TEST_F() 216 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 218 SessionTab* tab = windows[0]->tabs[0]; in TEST_F() 246 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 248 SessionTab* tab = windows[0]->tabs[0]; in TEST_F() 285 ASSERT_EQ(1U, windows[0]->tabs.size()); in TEST_F() 286 ASSERT_EQ(1U, windows[1]->tabs.size()); in TEST_F() [all …]
|
D | tab_restore_service_browsertest.cc | 300 ASSERT_EQ(1U, window->tabs.size()); in TEST_F() 303 ASSERT_EQ(1U, window->tabs[0].navigations.size()); in TEST_F() 304 EXPECT_EQ(0, window->tabs[0].current_navigation_index); in TEST_F() 305 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); in TEST_F() 306 EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()); in TEST_F() 355 ASSERT_EQ(1U, window->tabs.size()); in TEST_F() 358 ASSERT_EQ(1U, window->tabs[0].navigations.size()); in TEST_F() 359 EXPECT_EQ(0, window->tabs[0].current_navigation_index); in TEST_F() 360 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); in TEST_F() 361 EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()); in TEST_F() [all …]
|
D | session_service.cc | 753 std::map<int, SessionTab*> tabs; in RestoreSessionFromCommands() local 756 if (CreateTabsAndWindows(commands, &tabs, &windows)) { in RestoreSessionFromCommands() 757 AddTabsToWindows(&tabs, &windows); in RestoreSessionFromCommands() 761 STLDeleteValues(&tabs); in RestoreSessionFromCommands() 772 for (std::vector<SessionTab*>::const_iterator j = (*i)->tabs.begin(); in UpdateSelectedTabIndex() 773 j != (*i)->tabs.end(); ++j) { in UpdateSelectedTabIndex() 775 new_index = static_cast<int>(j - (*i)->tabs.begin()); in UpdateSelectedTabIndex() 798 IdToSessionTab* tabs) { in GetTab() argument 799 DCHECK(tabs); in GetTab() 800 std::map<int, SessionTab*>::iterator i = tabs->find(tab_id); in GetTab() [all …]
|
/external/chromium/chrome/browser/resources/options/ |
D | subpages_tab_controls.css | 7 .subpages-nav-tabs .tab { 12 .subpages-nav-tabs .active-tab { 21 /* To avoid tabs changing size when they are clicked and their labels become 26 .subpages-nav-tabs .active-tab-label { 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 { 52 .subpages-nav-tabs {
|
/external/chromium-trace/src/shared/css/ |
D | tabs.css | 10 tabs { selector 18 tabs > * { 33 tabs > :not([selected]) { 37 tabs > :not([selected]):hover { 41 tabs > [selected] { 50 tabs:focus { 54 html.focus-outline-visible tabs:focus > [selected] {
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | base_tab_strip.cc | 320 std::vector<BaseTab*> tabs; in MaybeStartDrag() local 329 tabs.push_back(other_tab); in MaybeStartDrag() 331 size_to_selected = GetSizeNeededForTabs(tabs); in MaybeStartDrag() 339 DCHECK(!tabs.empty()); in MaybeStartDrag() 340 DCHECK(std::find(tabs.begin(), tabs.end(), tab) != tabs.end()); in MaybeStartDrag() 341 drag_controller_->Init(this, tab, tabs, gfx::Point(x, y), in MaybeStartDrag() 472 void BaseTabStrip::StartedDraggingTabs(const std::vector<BaseTab*>& tabs) { in StartedDraggingTabs() argument 479 for (size_t i = 0; i < tabs.size(); ++i) { in StartedDraggingTabs() 480 tabs[i]->set_dragging(true); in StartedDraggingTabs() 481 bounds_animator_.StopAnimatingView(tabs[i]); in StartedDraggingTabs() [all …]
|
D | tab_strip.cc | 476 void TabStrip::LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs, in LayoutDraggedTabsAt() argument 481 CalculateBoundsForDraggedTabs(tabs, &bounds); in LayoutDraggedTabsAt() 482 DCHECK_EQ(tabs.size(), bounds.size()); in LayoutDraggedTabsAt() 485 std::find(tabs.begin(), tabs.end(), active_tab) - tabs.begin()); in LayoutDraggedTabsAt() 486 for (size_t i = 0; i < tabs.size(); ++i) { in LayoutDraggedTabsAt() 487 BaseTab* tab = tabs[i]; in LayoutDraggedTabsAt() 496 GetModelIndexOfBaseTab(tabs[i]) != consecutive_index) || in LayoutDraggedTabsAt() 497 bounds_animator().IsAnimating(tabs[i])) { in LayoutDraggedTabsAt() 498 bounds_animator().SetTargetBounds(tabs[i], new_bounds); in LayoutDraggedTabsAt() 505 void TabStrip::CalculateBoundsForDraggedTabs(const std::vector<BaseTab*>& tabs, in CalculateBoundsForDraggedTabs() argument [all …]
|
D | dragged_tab_controller.cc | 353 const std::vector<BaseTab*>& tabs, in Init() argument 356 DCHECK(!tabs.empty()); in Init() 357 DCHECK(std::find(tabs.begin(), tabs.end(), source_tab) != tabs.end()); in Init() 363 drag_data_.resize(tabs.size()); in Init() 364 for (size_t i = 0; i < tabs.size(); ++i) in Init() 365 InitTabDragData(tabs[i], &(drag_data_[i])); in Init() 367 std::find(tabs.begin(), tabs.end(), source_tab) - tabs.begin(); in Init() 719 std::vector<BaseTab*> tabs(drag_data_.size()); in MoveAttached() local 721 tabs[i] = drag_data_[i].attached_tab; in MoveAttached() 742 tabs, source_tab_drag_data()->attached_tab, dragged_view_point, in MoveAttached() [all …]
|
/external/chromium/chrome/browser/resources/shared/css/ |
D | tabs.css | 6 tabs { selector 13 tabs > * { 28 tabs > :not([selected]):hover { 32 tabs > [selected] { 41 tabs:focus { 45 html.focus-outline-visible tabs:focus > [selected] {
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/ |
D | ComponentResultsView.java | 91 ConfigTab[] tabs; field in ComponentResultsView 172 this.tabs = new ConfigTab[length]; in createTabs() 174 this.tabs[i] = new ConfigTab(configNames[i], configDescriptions[i]); in createTabs() 176 for (int i=0; i<this.tabs.length; i++) { in createTabs() 178 item.setText (this.tabs[i].getTabText ()); in createTabs() 179 …item.setControl (this.tabs[i].createTabFolderPage(this.componentResultsElement, this.tabFolder, th… in createTabs() 180 item.setData (this.tabs[i]); in createTabs() 191 int length = this.tabs==null ? 0 : this.tabs.length; in dispose() 193 this.tabs[i].dispose(); in dispose() 325 int lineIndex = tabIndex<0 ? -1 : this.tabs[tabIndex].table.getSelectionIndex(); in resetTabFolders() [all …]
|
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/screenshot/ |
D | screenshot.js | 6 chrome.tabs.captureVisibleTab(null, function(img) { 11 chrome.tabs.create({url: viewTabUrl}, function(tab) { 24 chrome.tabs.onUpdated.removeListener(addSnapshotImageToTab); 39 chrome.tabs.onUpdated.addListener(addSnapshotImageToTab);
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
D | window_applescript_test.mm | 68 NSArray* tabs = [aWindow.get() tabs]; 69 EXPECT_EQ(1U, [tabs count]); 70 TabAppleScript* tab1 = [tabs objectAtIndex:0]; 89 TabAppleScript* tab = [[aWindow.get() tabs] objectAtIndex:1]; 111 TabAppleScript* tab = [[aWindow.get() tabs] objectAtIndex:0]; 119 // Inserting and deleting tabs. 131 EXPECT_EQ((int)[[aWindow.get() tabs] count], count); 134 count = (int)[[aWindow.get() tabs] count]; 140 EXPECT_EQ((int)[[aWindow.get() tabs] count], count); 164 TabAppleScript* tab2 = [[aWindow.get() tabs] objectAtIndex:1];
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
D | bg.js | 77 "tabCreated": chrome.tabs.onCreated, 78 "tabMoved": chrome.tabs.onMoved, 79 "tabRemoved": chrome.tabs.onRemoved, 80 "tabSelectionChanged": chrome.tabs.onSelectionChanged, 81 "tabAttached": chrome.tabs.onAttached, 82 "tabDetached": chrome.tabs.onDetached, 83 "tabNavigated": chrome.tabs.onUpdated, 347 chrome.tabs.get(tabId, function(tab) {
|
/external/chromium/chrome/browser/debugger/ |
D | browser_list_tabcontents_provider.cc | 12 DevToolsHttpProtocolHandler::InspectableTabs tabs; in GetInspectableTabs() local 17 tabs.push_back(model->GetTabContentsAt(i)); in GetInspectableTabs() 19 return tabs; in GetInspectableTabs()
|
/external/chromium/chrome/browser/ui/ |
D | browser_init.cc | 436 std::vector<BrowserInit::LaunchWithProfile::Tab>* tabs) { in UrlsToTabs() argument 441 tabs->push_back(tab); in UrlsToTabs() 912 std::vector<Tab> tabs = PinnedTabCodec::ReadPinnedTabs(profile_); in ProcessStartupURLs() local 914 RecordAppLaunches(profile_, urls_to_open, tabs); in ProcessStartupURLs() 918 UrlsToTabs(urls_to_open, &tabs); in ProcessStartupURLs() 923 AddUniqueURLs(pref.urls, &tabs); in ProcessStartupURLs() 924 } else if (pref.type == SessionStartupPref::DEFAULT && !tabs.empty()) { in ProcessStartupURLs() 928 UrlsToTabs(urls, &tabs); in ProcessStartupURLs() 931 if (tabs.empty()) in ProcessStartupURLs() 934 Browser* browser = OpenTabsInBrowser(NULL, true, tabs); in ProcessStartupURLs() [all …]
|
/external/markdown/MarkdownTest/Tests_2007/ |
D | Tabs.text | 2 indented with tabs 13 this code block is indented by two tabs 18 indented with tabs
|
/external/markdown/tests/markdown-test/ |
D | tabs.txt | 2 indented with tabs 13 this code block is indented by two tabs 18 indented with tabs
|
/external/markdown/MarkdownTest/Tests_2004/ |
D | Tabs.text | 2 indented with tabs 13 this code block is indented by two tabs 18 indented with tabs
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/ |
D | chrome_ex_oauth.js | 74 var tabs = {}; 75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { 78 changeInfo.url != tabs[tabId] && 80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) { 81 tabs[tab.id] = tab.url; 82 chrome.tabs.remove(tabId); 105 chrome.tabs.create({ 'url' :chrome.extension.getURL(this.callback_page) }); 272 chrome.tabs.getSelected(null, function (tab) { 273 chrome.tabs.remove(tab.id);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/ |
D | chrome_ex_oauth.js | 74 var tabs = {}; 75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { 78 changeInfo.url != tabs[tabId] && 80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) { 81 tabs[tab.id] = tab.url; 82 chrome.tabs.remove(tabId); 105 chrome.tabs.create({ 'url' :chrome.extension.getURL(this.callback_page) }); 272 chrome.tabs.getSelected(null, function (tab) { 273 chrome.tabs.remove(tab.id);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
D | chrome_ex_oauth.js | 74 var tabs = {}; 75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { 78 changeInfo.url != tabs[tabId] && 80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) { 81 tabs[tab.id] = tab.url; 82 chrome.tabs.remove(tabId); 105 chrome.tabs.create({ 'url' :chrome.extension.getURL(this.callback_page) }); 272 chrome.tabs.getSelected(null, function (tab) { 273 chrome.tabs.remove(tab.id);
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_session_unittest.cc | 296 ASSERT_EQ(1U, foreign_sessions[0]->windows[0]->tabs.size()); in TEST_F() 297 ASSERT_EQ(1U, foreign_sessions[0]->windows[0]->tabs[0]->navigations.size()); in TEST_F() 301 ASSERT_EQ(13, foreign_sessions[0]->windows[0]->tabs[0]->tab_visual_index); in TEST_F() 303 foreign_sessions[0]->windows[0]->tabs[0]->current_navigation_index); in TEST_F() 304 ASSERT_TRUE(foreign_sessions[0]->windows[0]->tabs[0]->pinned); in TEST_F() 306 foreign_sessions[0]->windows[0]->tabs[0]->extension_app_id); in TEST_F() 308 foreign_sessions[0]->windows[0]->tabs[0]->navigations[0].index()); in TEST_F() 310 foreign_sessions[0]->windows[0]->tabs[0]->navigations[0].referrer()); in TEST_F() 312 foreign_sessions[0]->windows[0]->tabs[0]->navigations[0].title()); in TEST_F() 314 foreign_sessions[0]->windows[0]->tabs[0]->navigations[0].transition()); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ui/webui/ |
D | value_helper.cc | 30 if (window.tabs.empty()) { in WindowToValue() 35 for (size_t i = 0; i < window.tabs.size(); ++i) { in WindowToValue() 37 if (TabToValue(window.tabs[i], tab_value.get())) in WindowToValue()
|
/external/chromium/chrome/browser/ui/cocoa/tabs/ |
D | tab_strip_controller.mm | 5 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" 28 #include "chrome/browser/tabs/tab_strip_model.h" 37 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h" 38 #import "chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h" 39 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" 40 #import "chrome/browser/ui/cocoa/tabs/tab_view.h" 41 #import "chrome/browser/ui/cocoa/tabs/throbber_view.h" 90 // The amount by which tabs overlap. 96 // The amount by which the new tab button is offset (from the tabs). 103 // Time (in seconds) in which tabs animate to their final position. [all …]
|