Home
last modified time | relevance | path

Searched refs:BaseTab (Results 1 – 22 of 22) sorted by relevance

/external/chromium/chrome/browser/ui/views/tabs/
Dbase_tab_strip.h18 class BaseTab; variable
49 virtual BaseTab* CreateTabForDragging() = 0;
77 virtual BaseTab* GetBaseTabAtModelIndex(int model_index) const;
80 BaseTab* base_tab_at_tab_index(int tab_index) const { in base_tab_at_tab_index()
86 int GetModelIndexOfBaseTab(const BaseTab* tab) const;
119 virtual void SelectTab(BaseTab* tab) OVERRIDE;
120 virtual void ExtendSelectionTo(BaseTab* tab) OVERRIDE;
121 virtual void ToggleSelected(BaseTab* tab) OVERRIDE;
122 virtual void AddSelectionFromAnchorTo(BaseTab* tab) OVERRIDE;
123 virtual void CloseTab(BaseTab* tab) OVERRIDE;
[all …]
Dtab_controller.h9 class BaseTab; variable
22 virtual void SelectTab(BaseTab* tab) = 0;
25 virtual void ExtendSelectionTo(BaseTab* tab) = 0;
28 virtual void ToggleSelected(BaseTab* tab) = 0;
31 virtual void AddSelectionFromAnchorTo(BaseTab* tab) = 0;
34 virtual void CloseTab(BaseTab* tab) = 0;
37 virtual void ShowContextMenuForTab(BaseTab* tab, const gfx::Point& p) = 0;
41 virtual bool IsActiveTab(const BaseTab* tab) const = 0;
44 virtual bool IsTabSelected(const BaseTab* tab) const = 0;
47 virtual bool IsTabPinned(const BaseTab* tab) const = 0;
[all …]
Dbase_tab.cc101 gfx::Font* BaseTab::font_ = NULL;
103 int BaseTab::font_height_ = 0;
109 class BaseTab::FaviconCrashAnimation : public ui::LinearAnimation,
112 explicit FaviconCrashAnimation(BaseTab* target) in FaviconCrashAnimation()
139 BaseTab* target_;
144 BaseTab::BaseTab(TabController* controller) in BaseTab() function in BaseTab
153 BaseTab::InitResources(); in BaseTab()
178 BaseTab::~BaseTab() { in ~BaseTab()
181 void BaseTab::SetData(const TabRendererData& data) { in SetData()
224 void BaseTab::UpdateLoadingAnimation(TabRendererData::NetworkState state) { in UpdateLoadingAnimation()
[all …]
Dbase_tab_strip.cc25 explicit ResetDraggingStateDelegate(BaseTab* tab) : tab_(tab) { in ResetDraggingStateDelegate()
37 BaseTab* tab_;
49 RemoveTabDelegate(BaseTabStrip* tab_strip, BaseTab* tab) in RemoveTabDelegate()
113 BaseTab* tab_;
129 BaseTab* tab = CreateTab(); in AddTabAt()
147 BaseTab* tab = tab_data_[from_tab_data_index].tab; in MoveTab()
158 BaseTab* tab = GetBaseTabAtModelIndex(model_index); in SetTabData()
170 BaseTab* BaseTabStrip::GetBaseTabAtModelIndex(int model_index) const { in GetBaseTabAtModelIndex()
174 int BaseTabStrip::GetModelIndexOfBaseTab(const BaseTab* tab) const { in GetModelIndexOfBaseTab()
176 BaseTab* current_tab = base_tab_at_tab_index(i); in GetModelIndexOfBaseTab()
[all …]
Dbrowser_tab_strip_controller.h15 class BaseTab; variable
35 BaseTab* tab) const;
37 BaseTab* tab) const;
39 BaseTab* tab);
40 bool IsTabPinned(BaseTab* tab) const;
55 virtual void ShowContextMenuForTab(BaseTab* tab,
110 BaseTab* tab);
113 BaseTab* tab);
Dside_tab_strip.h29 virtual BaseTab* CreateTabForDragging() OVERRIDE;
46 virtual BaseTab* CreateTab() OVERRIDE;
51 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
52 BaseTab* active_tab,
56 const std::vector<BaseTab*>& tabs,
58 virtual int GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) OVERRIDE;
Dside_tab_strip.cc166 BaseTab* SideTabStrip::CreateTabForDragging() { in CreateTabForDragging()
195 std::vector<BaseTab*> dragging_tabs; in PaintChildren()
209 BaseTab* tab = base_tab_at_tab_index(i); in PaintChildren()
288 BaseTab* SideTabStrip::CreateTab() { in CreateTab()
301 BaseTab* tab = base_tab_at_tab_index(i); in GenerateIdealBounds()
346 BaseTab* tab = base_tab_at_tab_index(tab_data_index); in StartInsertTabAnimation()
351 BaseTab* last_tab = base_tab_at_tab_index(tab_data_index - 1); in StartInsertTabAnimation()
361 BaseTab* tab = base_tab_at_tab_index(i); in AnimateToIdealBounds()
382 void SideTabStrip::LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs, in LayoutDraggedTabsAt()
383 BaseTab* active_tab, in LayoutDraggedTabsAt()
[all …]
Dtab_strip.h69 virtual BaseTab* CreateTabForDragging() OVERRIDE;
88 virtual BaseTab* CreateTab() OVERRIDE;
93 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
94 BaseTab* active_tab,
98 const std::vector<BaseTab*>& tabs,
100 virtual int GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) OVERRIDE;
Ddragged_tab_controller.h24 class BaseTab; variable
57 BaseTab* source_tab,
58 const std::vector<BaseTab*>& tabs,
118 BaseTab* attached_tab;
128 void InitTabDragData(BaseTab* tab, TabDragData* drag_data);
233 std::vector<BaseTab*> GetTabsMatchingDraggedContents(BaseTabStrip* tabstrip);
Dbrowser_tab_strip_controller.cc37 TabContextMenuContents(BaseTab* tab, in TabContextMenuContents()
113 BaseTab* tab_;
160 BaseTab* tab) const { in IsCommandEnabledForTab()
168 BaseTab* tab) const { in IsCommandCheckedForTab()
176 BaseTab* tab) { in ExecuteCommandForTab()
182 bool BrowserTabStripController::IsTabPinned(BaseTab* tab) const { in IsTabPinned()
240 void BrowserTabStripController::ShowContextMenuForTab(BaseTab* tab, in ShowContextMenuForTab()
252 BaseTab* tab = tabstrip_->base_tab_at_tab_index(tab_index); in UpdateLoadingAnimations()
414 BaseTab* tab) { in StartHighlightTabsForCommand()
431 BaseTab* tab) { in StopHighlightTabsForCommand()
Dbase_tab.h16 class BaseTab; variable
34 class BaseTab : public ui::AnimationDelegate,
39 explicit BaseTab(TabController* controller);
40 virtual ~BaseTab();
214 DISALLOW_COPY_AND_ASSIGN(BaseTab);
Dtab_strip.cc260 BaseTab* TabStrip::CreateTabForDragging() { in CreateTabForDragging()
426 BaseTab* TabStrip::CreateTab() { in CreateTab()
442 BaseTab* tab = base_tab_at_tab_index(tab_data_index); in StartInsertTabAnimation()
447 BaseTab* last_tab = base_tab_at_tab_index(tab_data_index - 1); in StartInsertTabAnimation()
476 void TabStrip::LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs, in LayoutDraggedTabsAt()
477 BaseTab* active_tab, in LayoutDraggedTabsAt()
487 BaseTab* tab = tabs[i]; in LayoutDraggedTabsAt()
505 void TabStrip::CalculateBoundsForDraggedTabs(const std::vector<BaseTab*>& tabs, in CalculateBoundsForDraggedTabs()
509 BaseTab* tab = tabs[i]; in CalculateBoundsForDraggedTabs()
519 int TabStrip::GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) { in GetSizeNeededForTabs()
[all …]
Dtab_strip_controller.h9 class BaseTab; variable
61 virtual void ShowContextMenuForTab(BaseTab* tab, const gfx::Point& p) = 0;
Ddragged_tab_controller.cc352 BaseTab* source_tab, in Init()
353 const std::vector<BaseTab*>& tabs, in Init()
404 void DraggedTabController::InitTabDragData(BaseTab* tab, in InitTabDragData()
719 std::vector<BaseTab*> tabs(drag_data_.size()); in MoveAttached()
869 std::vector<BaseTab*> tabs = in Attach()
924 std::vector<BaseTab*> tabs_to_source(tabs); in Attach()
945 std::vector<BaseTab*> attached_tabs; in Detach()
1073 std::vector<BaseTab*> attached_tabs; in GetAttachedDragPoint()
1091 std::vector<BaseTab*> DraggedTabController::GetTabsMatchingDraggedContents( in GetTabsMatchingDraggedContents()
1094 std::vector<BaseTab*> tabs; in GetTabsMatchingDraggedContents()
[all …]
Dside_tab.h15 class SideTab : public BaseTab {
Dtab.h27 class Tab : public BaseTab {
Dside_tab.cc35 : BaseTab(controller) { in SideTab()
Dtab.cc99 : BaseTab(controller), in Tab()
/external/chromium/chrome/browser/ui/touch/tabs/
Dtouch_tab_strip.h37 virtual BaseTab* CreateTabForDragging();
41 virtual BaseTab* CreateTab();
46 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs,
47 BaseTab* active_tab,
51 const std::vector<BaseTab*>& tabs,
53 virtual int GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs);
Dtouch_tab_strip.cc81 BaseTab* TouchTabStrip::CreateTabForDragging() { in CreateTabForDragging()
96 BaseTab* TouchTabStrip::CreateTab() { in CreateTab()
108 BaseTab* tab = base_tab_at_tab_index(tab_data_index); in StartInsertTabAnimation()
113 BaseTab* last_tab = base_tab_at_tab_index(tab_data_index - 1); in StartInsertTabAnimation()
155 void TouchTabStrip::LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs, in LayoutDraggedTabsAt()
156 BaseTab* active_tab, in LayoutDraggedTabsAt()
164 const std::vector<BaseTab*>& tabs, in CalculateBoundsForDraggedTabs()
170 int TouchTabStrip::GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) { in GetSizeNeededForTabs()
345 CloseTab(static_cast<BaseTab*>(view)); in OnTouchEvent()
Dtouch_tab.h23 class TouchTab : public BaseTab {
Dtouch_tab.cc33 : BaseTab(controller) { in TouchTab()