Home
last modified time | relevance | path

Searched refs:tab_strip (Results 1 – 25 of 131) sorted by relevance

123456

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/tabs/
H A Dtab_strip_browsertest.cc95 tab_strip()->ShiftTabPrevious(tab_strip()->tab_at(1)); in IN_PROC_BROWSER_TEST_F()
222 tab_strip()->ShiftTabNext(tab_strip()->tab_at(0)); in IN_PROC_BROWSER_TEST_F()
234 tab_strip()->ShiftTabNext(tab_strip()->tab_at(0)); in IN_PROC_BROWSER_TEST_F()
251 tab_strip()->ShiftTabNext(tab_strip()->tab_at(0)); in IN_PROC_BROWSER_TEST_F()
279 tab_strip()->ShiftTabNext(tab_strip()->tab_at(0)); in IN_PROC_BROWSER_TEST_F()
298 tab_strip()->ShiftTabNext(tab_strip()->tab_at(1)); in IN_PROC_BROWSER_TEST_F()
430 tab_strip()->MoveTabLast(tab_strip()->tab_at(0)); in IN_PROC_BROWSER_TEST_F()
443 tab_strip()->MoveTabLast(tab_strip()->tab_at(1)); in IN_PROC_BROWSER_TEST_F()
455 tab_strip()->MoveTabLast(tab_strip()->tab_at(1)); in IN_PROC_BROWSER_TEST_F()
465 tab_strip()->MoveTabLast(tab_strip()->tab_at(1)); in IN_PROC_BROWSER_TEST_F()
[all …]
H A Dtab_drag_controller_interactive_uitest.cc142 return tab_strip ? tab_strip->GetWidget()->GetNativeWindow() : nullptr; in GetWindowForTabStrip()
285 TabStrip* tab_strip, in SetWindowFinderForTabStrip() argument
1477 tab_strip, base::WrapUnique(new CaptureLoseWindowFinder(tab_strip))); in IN_PROC_BROWSER_TEST_P()
1944 EXPECT_TRUE(IsTabDraggingInfoSet(tab_strip, tab_strip)); in IN_PROC_BROWSER_TEST_P()
2420 tab_strip, in IN_PROC_BROWSER_TEST_P()
2962 tab_strip->GetFocusManager()->SetFocusedView(tab_strip); in IN_PROC_BROWSER_TEST_P()
3517 tab_strip, in IN_PROC_BROWSER_TEST_P()
3647 tab_strip, in IN_PROC_BROWSER_TEST_P()
4008 TabStrip* tab_strip, in CancelDragTabToWindowInSeparateDisplayStep3() argument
4021 TabStrip* tab_strip, in CancelDragTabToWindowInSeparateDisplayStep2() argument
[all …]
H A Dtab_hover_card_bubble_view_browsertest.cc50 TabStrip* tab_strip() { return tab_strip_; } in tab_strip() function in TabHoverCardBubbleViewBrowserTest
68 tab_strip()->OnMouseExited(stop_hover_event); in MouseExitTabStrip()
72 Tab* const tab = tab_strip()->tab_at(index); in ClickMouseOnTab()
82 tab_strip()->UpdateHoverCard(tab_strip()->tab_at(index)); in HoverMouseOverTabAt()
133 Tab* const tab = tab_strip()->tab_at(0); in IN_PROC_BROWSER_TEST_F()
153 Tab* const tab = tab_strip()->tab_at(0); in IN_PROC_BROWSER_TEST_F()
167 Tab* const tab = tab_strip()->tab_at(0); in IN_PROC_BROWSER_TEST_F()
183 Tab* const tab = tab_strip()->tab_at(0); in IN_PROC_BROWSER_TEST_F()
213 while (!tab_strip()->IsFocusInTabs()) in IN_PROC_BROWSER_TEST_F()
269 Tab* const tab = tab_strip()->tab_at(1); in IN_PROC_BROWSER_TEST_F()
[all …]
H A Dtab_hover_card_bubble_view_interactive_uitest.cc47 TabStrip* tab_strip = in IN_PROC_BROWSER_TEST_F() local
49 Tab* tab = tab_strip->tab_at(0); in IN_PROC_BROWSER_TEST_F()
50 tab_strip->UpdateHoverCard(tab); in IN_PROC_BROWSER_TEST_F()
51 TabHoverCardBubbleView* hover_card = GetHoverCard(tab_strip); in IN_PROC_BROWSER_TEST_F()
H A Dtab_drag_controller_interactive_uitest.h37 void StopAnimating(TabStrip* tab_strip);
52 void SetWindowFinderForTabStrip(TabStrip* tab_strip,
58 void HandleGestureEvent(TabStrip* tab_strip, ui::GestureEvent* event);
60 bool HasDragStarted(TabStrip* tab_strip) const;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/test/data/webui/tab_strip/
H A DBUILD.gn37 "//chrome/browser/resources/tab_strip:tabs_api_proxy",
63 "//chrome/browser/resources/tab_strip:drag_manager",
64 "//chrome/browser/resources/tab_strip:tab",
65 "//chrome/browser/resources/tab_strip:tab_group",
77 "//chrome/browser/resources/tab_strip:tab",
78 "//chrome/browser/resources/tab_strip:tab_group",
90 "//chrome/browser/resources/tab_strip:tab",
91 "//chrome/browser/resources/tab_strip:tab_group",
92 "//chrome/browser/resources/tab_strip:tab_list",
110 "//chrome/browser/resources/tab_strip:tab_swiper",
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/tabs/
H A Dtab_menu_model.cc28 TabStripModel* tab_strip, in TabMenuModel() argument
31 Build(tab_strip, index); in TabMenuModel()
36 void TabMenuModel::Build(TabStripModel* tab_strip, int index) { in Build() argument
38 tab_strip->IsTabSelected(index) in Build()
39 ? tab_strip->selection_model().selected_indices() in Build()
95 bool will_pin = tab_strip->WillContextMenuPin(index); in Build()
101 if (!tab_strip->profile()->IsOffTheRecord()) { in Build()
114 tab_strip->GetWebContentsAt(index))) { in Build()
123 tab_strip->profile()))); in Build()
129 tab_strip->profile()))), in Build()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/startup/
H A Dstartup_browser_creator_browsertest.cc373 tab_strip->GetWebContentsAt(tab_strip->count() - 2)->GetSiteInstance(), in IN_PROC_BROWSER_TEST_F()
374 tab_strip->GetWebContentsAt(tab_strip->count() - 1)->GetSiteInstance()); in IN_PROC_BROWSER_TEST_F()
403 ASSERT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
433 ASSERT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
454 EXPECT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
469 EXPECT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
470 EXPECT_EQ(tab_strip->GetActiveWebContents(), tab_strip->GetWebContentsAt(1)); in IN_PROC_BROWSER_TEST_F()
510 EXPECT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
530 EXPECT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
531 EXPECT_EQ(tab_strip->GetActiveWebContents(), tab_strip->GetWebContentsAt(1)); in IN_PROC_BROWSER_TEST_F()
[all …]
H A Dstartup_browser_creator_triggered_reset_browsertest_win.cc159 TabStripModel* tab_strip = new_browser->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
160 ASSERT_EQ(static_cast<int>(expected_urls.size()), tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
162 EXPECT_EQ(expected_urls[i], tab_strip->GetWebContentsAt(i)->GetURL()); in IN_PROC_BROWSER_TEST_F()
204 TabStripModel* tab_strip = new_browser->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
205 ASSERT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
208 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName()); in IN_PROC_BROWSER_TEST_F()
210 tab_strip->GetWebContentsAt(1)->GetURL().ExtractFileName()); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/
H A Dglobal_keyboard_shortcuts_mac_browsertest.mm59 EXPECT_EQ(2, tab_strip->count());
60 EXPECT_TRUE(tab_strip->IsTabSelected(1));
65 EXPECT_TRUE(tab_strip->IsTabSelected(0));
72 if (tab_strip->IsTabSelected(1))
76 EXPECT_TRUE(tab_strip->IsTabSelected(1));
81 EXPECT_TRUE(tab_strip->IsTabSelected(0));
171 EXPECT_EQ(2, tab_strip->count());
185 EXPECT_EQ(1, tab_strip->count());
192 EXPECT_EQ(2, tab_strip->count());
207 EXPECT_EQ(4, tab_strip->count());
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/frame/
H A Dtab_strip_region_view_interactive_uitest.cc49 TabStrip* tab_strip() { return browser_view()->tabstrip(); } in tab_strip() function in TabStripRegionViewBrowserTest
66 Tab* tab_0 = tab_strip()->tab_at(0); in IN_PROC_BROWSER_TEST_P()
67 Tab* tab_1 = tab_strip()->tab_at(1); in IN_PROC_BROWSER_TEST_P()
68 Tab* tab_2 = tab_strip()->tab_at(2); in IN_PROC_BROWSER_TEST_P()
112 Tab* tab_0 = tab_strip()->tab_at(0); in IN_PROC_BROWSER_TEST_P()
113 Tab* tab_1 = tab_strip()->tab_at(1); in IN_PROC_BROWSER_TEST_P()
114 Tab* tab_2 = tab_strip()->tab_at(2); in IN_PROC_BROWSER_TEST_P()
156 Tab* tab_0 = tab_strip()->tab_at(0); in IN_PROC_BROWSER_TEST_P()
157 tab_strip()->tab_at(1); in IN_PROC_BROWSER_TEST_P()
158 tab_strip()->tab_at(2); in IN_PROC_BROWSER_TEST_P()
H A Dtab_strip_region_view.cc31 gfx::Size TabScrollContainerFlexRule(const views::View* tab_strip, in TabScrollContainerFlexRule() argument
34 const gfx::Size preferred_size = tab_strip->GetPreferredSize(); in TabScrollContainerFlexRule()
63 TabStripRegionView::TabStripRegionView(std::unique_ptr<TabStrip> tab_strip) { in TabStripRegionView() argument
67 tab_strip_ = tab_strip.get(); in TabStripRegionView()
68 tab_strip->SetAvailableWidthCallback( in TabStripRegionView()
74 tab_strip->View::AddObserver(this); in TabStripRegionView()
84 tab_strip_scroll_container->SetContents(std::move(tab_strip)); in TabStripRegionView()
93 tab_strip_container_ = AddChildView(std::move(tab_strip)); in TabStripRegionView()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/profiles/
H A Dprofile_menu_view_browsertest.cc217 ASSERT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
218 ASSERT_EQ(0, tab_strip->active_index()); in IN_PROC_BROWSER_TEST_F()
223 EXPECT_EQ(1, tab_strip->active_index()); in IN_PROC_BROWSER_TEST_F()
235 ASSERT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
239 tab_strip->ActivateTabAt(0); in IN_PROC_BROWSER_TEST_F()
251 ASSERT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
265 ASSERT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
311 EXPECT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
320 EXPECT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
339 EXPECT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/resource_coordinator/
H A Dtab_load_tracker_test_support.cc172 bool WaitForTransitionToLoadingState(TabStripModel* tab_strip, in WaitForTransitionToLoadingState() argument
174 WaitForLoadingStateHelper waiter(tab_strip, loading_state); in WaitForTransitionToLoadingState()
178 bool WaitForTransitionToUnloaded(TabStripModel* tab_strip) { in WaitForTransitionToUnloaded() argument
179 return WaitForTransitionToLoadingState(tab_strip, LoadingState::UNLOADED); in WaitForTransitionToUnloaded()
182 bool WaitForTransitionToLoading(TabStripModel* tab_strip) { in WaitForTransitionToLoading() argument
183 return WaitForTransitionToLoadingState(tab_strip, LoadingState::LOADING); in WaitForTransitionToLoading()
186 bool WaitForTransitionToLoaded(TabStripModel* tab_strip) { in WaitForTransitionToLoaded() argument
187 return WaitForTransitionToLoadingState(tab_strip, LoadingState::LOADED); in WaitForTransitionToLoaded()
H A Dtab_load_tracker_test_support.h35 TabStripModel* tab_strip,
37 bool WaitForTransitionToUnloaded(TabStripModel* tab_strip);
38 bool WaitForTransitionToLoading(TabStripModel* tab_strip);
39 bool WaitForTransitionToLoaded(TabStripModel* tab_strip);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/
H A Dextension_tab_util.cc405 TabStripModel* tab_strip, in CreateTabObject() argument
407 if (!tab_strip) in CreateTabObject()
414 tab_object->active = tab_strip && tab_index == tab_strip->active_index(); in CreateTabObject()
415 tab_object->selected = tab_strip && tab_index == tab_strip->active_index(); in CreateTabObject()
416 tab_object->highlighted = tab_strip && tab_strip->IsTabSelected(tab_index); in CreateTabObject()
417 tab_object->pinned = tab_strip && tab_strip->IsTabPinned(tab_index); in CreateTabObject()
420 if (tab_strip) { in CreateTabObject()
475 if (tab_strip) { in CreateTabObject()
664 *tab_strip_model = tab_strip; in GetTabStripModel()
714 if (tab_strip) in GetTabById()
[all …]
H A Doptions_page_apitest.cc46 TabStripModel* tab_strip = browser()->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
59 EXPECT_TRUE(content::ExecuteScript(tab_strip->GetActiveWebContents(), in IN_PROC_BROWSER_TEST_F()
62 ASSERT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
63 content::WebContents* tab = tab_strip->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F()
/dports/x11-toolkits/libdazzle/libdazzle-3.42.0/src/panel/
H A Ddzl-dock-stack.c33 DzlTabStrip *tab_strip; member
264 priv->tab_strip = g_object_new (DZL_TYPE_TAB_STRIP, in dzl_dock_stack_init()
284 dzl_tab_strip_add_control (priv->tab_strip, GTK_WIDGET (priv->pinned_button)); in dzl_dock_stack_init()
317 dzl_tab_strip_set_edge (priv->tab_strip, edge); in dzl_dock_stack_set_edge()
324 gtk_orientable_set_orientation (GTK_ORIENTABLE (priv->tab_strip), in dzl_dock_stack_set_edge()
326 gtk_container_child_set (GTK_CONTAINER (self), GTK_WIDGET (priv->tab_strip), in dzl_dock_stack_set_edge()
334 gtk_orientable_set_orientation (GTK_ORIENTABLE (priv->tab_strip), in dzl_dock_stack_set_edge()
344 gtk_orientable_set_orientation (GTK_ORIENTABLE (priv->tab_strip), in dzl_dock_stack_set_edge()
354 gtk_orientable_set_orientation (GTK_ORIENTABLE (priv->tab_strip), in dzl_dock_stack_set_edge()
444 gtk_container_foreach (GTK_CONTAINER (priv->tab_strip), in dzl_dock_stack_update_visibility()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/launcher/
H A Dapp_shortcut_launcher_item_controller.cc63 TabStripModel* tab_strip = browser->tab_strip_model(); in ActivateContentOrMinimize() local
64 int index = tab_strip->GetIndexOfWebContents(content); in ActivateContentOrMinimize()
67 int old_index = tab_strip->active_index(); in ActivateContentOrMinimize()
69 tab_strip->ActivateTabAt(index); in ActivateContentOrMinimize()
412 const int index = tab_strip ? tab_strip->GetIndexOfWebContents(web_contents) in ExecuteCommand()
418 tab_strip->ActivateTabAt(index); in ExecuteCommand()
439 TabStripModel* tab_strip = browser->tab_strip_model(); in Close() local
440 int index = tab_strip->GetIndexOfWebContents(item); in Close()
483 TabStripModel* tab_strip = browser->tab_strip_model(); in GetAppWebContents() local
484 for (int index = 0; index < tab_strip->count(); index++) { in GetAppWebContents()
[all …]
H A Dbrowser_shortcut_launcher_item_controller.cc236 TabStripModel* tab_strip = browser->tab_strip_model(); in GetAppMenuItems() local
241 auto* tab = tab_strip->GetActiveWebContents(); in GetAppMenuItems()
250 for (int i = 0; i < tab_strip->count(); ++i) { in GetAppMenuItems()
251 auto* tab = tab_strip->GetWebContentsAt(i); in GetAppMenuItems()
290 TabStripModel* tab_strip = browser->tab_strip_model(); in ExecuteCommand() local
294 tab_strip->CloseAllTabs(); in ExecuteCommand()
295 } else if (tab_strip->ContainsIndex(tab_index)) { in ExecuteCommand()
296 tab_strip->CloseWebContentsAt(tab_index, in ExecuteCommand()
302 if (tab_index != kNoTab && tab_strip->ContainsIndex(tab_index)) in ExecuteCommand()
303 tab_strip->ActivateTabAt(tab_index); in ExecuteCommand()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/supervised_user/
H A Dsupervised_user_url_filter_browsertest.cc181 : tab_strip_(tab_strip), contents_(contents) { in TabClosingObserver()
249 TabStripModel* tab_strip = browser()->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
259 WebContents* tab = tab_strip->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F()
264 TabClosingObserver observer(tab_strip, tab); in IN_PROC_BROWSER_TEST_F()
268 EXPECT_EQ(prev_tab, tab_strip->GetActiveWebContents()); in IN_PROC_BROWSER_TEST_F()
276 TabStripModel* tab_strip = browser()->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
286 WebContents* tab = tab_strip->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F()
313 TabClosingObserver observer(tab_strip, tab); in IN_PROC_BROWSER_TEST_F()
323 TabStripModel* tab_strip = browser()->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
332 WebContents* tab = tab_strip->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/tab_groups/
H A Dtab_groups_api.cc42 bool IndexSupportsGroupMove(TabStripModel* tab_strip, in IndexSupportsGroupMove() argument
46 if (target_index >= tab_strip->count() || target_index < 0) in IndexSupportsGroupMove()
49 if (tab_strip->IsTabPinned(target_index)) { in IndexSupportsGroupMove()
55 tab_strip->GetTabGroupForTab(target_index); in IndexSupportsGroupMove()
57 tab_strip->GetTabGroupForTab(target_index - 1); in IndexSupportsGroupMove()
125 TabStripModel* tab_strip = browser->tab_strip_model(); in Run() local
127 tab_strip->group_model()->ListTabGroups()) { in Run()
129 tab_strip->group_model()->GetTabGroup(id)->visual_data(); in Run()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/zoom/
H A Dzoom_controller_browsertest.cc148 TabStripModel* tab_strip = browser()->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
149 ASSERT_TRUE(tab_strip); in IN_PROC_BROWSER_TEST_F()
155 content::WebContents* web_contents = tab_strip->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F()
162 tab_strip->CloseWebContentsAt(tab_strip->active_index(), in IN_PROC_BROWSER_TEST_F()
166 EXPECT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
174 EXPECT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/sessions/
H A Dsession_restore_observer_browsertest.cc178 TabStripModel* tab_strip = new_browser->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
179 ASSERT_TRUE(tab_strip); in IN_PROC_BROWSER_TEST_F()
180 ASSERT_EQ(1, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
220 TabStripModel* tab_strip = new_browser->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
221 ASSERT_TRUE(tab_strip); in IN_PROC_BROWSER_TEST_F()
222 ASSERT_EQ(2, tab_strip->count()); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/signin/
H A Dsignin_ui_util_unittest.cc345 TabStripModel* tab_strip = browser()->tab_strip_model(); in TEST_F() local
346 content::WebContents* active_contents = tab_strip->GetActiveWebContents(); in TEST_F()
351 tab_strip->CloseWebContentsAt( in TEST_F()
352 tab_strip->GetIndexOfWebContents(active_contents), in TEST_F()
461 TabStripModel* tab_strip = browser()->tab_strip_model(); in TEST_F() local
462 ASSERT_EQ(0, tab_strip->active_index()); in TEST_F()
465 tab_strip->ActivateTabAt(0, {TabStripModel::GestureType::kOther}); in TEST_F()
466 ASSERT_EQ(other_url, tab_strip->GetActiveWebContents()->GetVisibleURL()); in TEST_F()
467 ASSERT_EQ(0, tab_strip->active_index()); in TEST_F()
474 EXPECT_EQ(0, tab_strip->active_index()); in TEST_F()
[all …]

123456