Lines Matching defs:TabStripGtk
110 class TabStripGtk::TabAnimation : public ui::AnimationDelegate {
112 friend class TabStripGtk;
124 TabAnimation(TabStripGtk* tabstrip, Type type)
157 static double GetCurrentTabWidth(TabStripGtk* tabstrip,
158 TabStripGtk::TabAnimation* animation,
236 TabStripGtk* tabstrip_;
259 class InsertTabAnimation : public TabStripGtk::TabAnimation {
261 explicit InsertTabAnimation(TabStripGtk* tabstrip, int index)
275 // Overridden from TabStripGtk::TabAnimation:
319 class RemoveTabAnimation : public TabStripGtk::TabAnimation {
321 RemoveTabAnimation(TabStripGtk* tabstrip, int index, TabContents* contents)
350 // Overridden from TabStripGtk::TabAnimation:
377 return TabStripGtk::TabAnimation::GetWidthForTab(index);
393 TabStripGtk::TabAnimation::AnimationEnded(animation);
405 class MoveTabAnimation : public TabStripGtk::TabAnimation {
407 MoveTabAnimation(TabStripGtk* tabstrip, int tab_a_index, int tab_b_index)
441 // Overridden from TabStripGtk::TabAnimation:
460 class ResizeLayoutAnimation : public TabStripGtk::TabAnimation {
462 explicit ResizeLayoutAnimation(TabStripGtk* tabstrip)
475 TabStripGtk::TabAnimation::AnimationEnded(animation);
479 // Overridden from TabStripGtk::TabAnimation:
522 class MiniTabAnimation : public TabStripGtk::TabAnimation {
524 explicit MiniTabAnimation(TabStripGtk* tabstrip, int index)
540 // Overridden from TabStripGtk::TabAnimation:
582 class MiniMoveAnimation : public TabStripGtk::TabAnimation {
584 explicit MiniMoveAnimation(TabStripGtk* tabstrip,
623 TabStripGtk::TabAnimation::AnimationEnded(animation);
648 // Overridden from TabStripGtk::TabAnimation:
687 // TabStripGtk, public:
690 const int TabStripGtk::mini_to_non_mini_gap_ = 3;
692 TabStripGtk::TabStripGtk(TabStripModel* model, BrowserWindowGtk* window)
708 TabStripGtk::~TabStripGtk() {
727 void TabStripGtk::Init() {
776 void TabStripGtk::Show() {
780 void TabStripGtk::Hide() {
784 bool TabStripGtk::IsActiveDropTarget() const {
793 void TabStripGtk::Layout() {
815 void TabStripGtk::SchedulePaint() {
819 void TabStripGtk::SetBounds(const gfx::Rect& bounds) {
823 void TabStripGtk::UpdateLoadingAnimations() {
851 bool TabStripGtk::IsCompatibleWith(TabStripGtk* other) {
855 bool TabStripGtk::IsAnimating() const {
859 void TabStripGtk::DestroyDragController() {
863 void TabStripGtk::DestroyDraggedSourceTab(TabGtk* tab) {
891 gfx::Rect TabStripGtk::GetIdealBounds(int index) {
896 void TabStripGtk::SetVerticalOffset(int offset) {
901 gfx::Point TabStripGtk::GetTabStripOriginForWidget(GtkWidget* target) {
922 GtkWidget* TabStripGtk::GetWidgetForViewID(ViewID view_id) {
940 // TabStripGtk, TabStripModelObserver implementation:
942 void TabStripGtk::TabInsertedAt(TabContentsWrapper* contents,
1003 void TabStripGtk::TabDetachedAt(TabContentsWrapper* contents, int index) {
1012 void TabStripGtk::TabSelectedAt(TabContentsWrapper* old_contents,
1033 void TabStripGtk::TabMoved(TabContentsWrapper* contents,
1047 void TabStripGtk::TabChangedAt(TabContentsWrapper* contents, int index,
1064 void TabStripGtk::TabReplacedAt(TabStripModel* tab_strip_model,
1071 void TabStripGtk::TabMiniStateChanged(TabContentsWrapper* contents, int index) {
1087 void TabStripGtk::TabBlockedStateChanged(TabContentsWrapper* contents,
1093 // TabStripGtk, TabGtk::TabDelegate implementation:
1095 bool TabStripGtk::IsTabSelected(const TabGtk* tab) const {
1102 bool TabStripGtk::IsTabDetached(const TabGtk* tab) const {
1108 void TabStripGtk::GetCurrentTabWidths(double* unselected_width,
1114 bool TabStripGtk::IsTabPinned(const TabGtk* tab) const {
1121 void TabStripGtk::SelectTab(TabGtk* tab) {
1127 void TabStripGtk::CloseTab(TabGtk* tab) {
1146 bool TabStripGtk::IsCommandEnabledForTab(
1154 void TabStripGtk::ExecuteCommandForTab(
1161 void TabStripGtk::StartHighlightTabsForCommand(
1169 void TabStripGtk::StopHighlightTabsForCommand(
1178 void TabStripGtk::StopAllHighlighting() {
1183 void TabStripGtk::MaybeStartDrag(TabGtk* tab, const gfx::Point& point) {
1193 void TabStripGtk::ContinueDrag(GdkDragContext* context) {
1201 bool TabStripGtk::EndDrag(bool canceled) {
1205 bool TabStripGtk::HasAvailableDragActions() const {
1209 ui::ThemeProvider* TabStripGtk::GetThemeProvider() {
1214 // TabStripGtk, MessageLoop::Observer implementation:
1216 void TabStripGtk::WillProcessEvent(GdkEvent* event) {
1220 void TabStripGtk::DidProcessEvent(GdkEvent* event) {
1232 // TabStripGtk, NotificationObserver implementation:
1234 void TabStripGtk::Observe(NotificationType type,
1246 // TabStripGtk, private:
1248 int TabStripGtk::GetTabCount() const {
1252 int TabStripGtk::GetMiniTabCount() const {
1263 int TabStripGtk::GetAvailableWidthForTabs(TabGtk* last_tab) const {
1270 int TabStripGtk::GetIndexOfTab(const TabGtk* tab) const {
1282 TabGtk* TabStripGtk::GetTabAt(int index) const {
1288 TabGtk* TabStripGtk::GetTabAtAdjustForAnimation(int index) const {
1298 void TabStripGtk::RemoveTabAt(int index) {
1310 void TabStripGtk::HandleGlobalMouseMoveEvent() {
1317 &TabStripGtk::ResizeLayoutTabs),
1328 void TabStripGtk::GenerateIdealBounds() {
1356 void TabStripGtk::LayoutNewTabButton(double last_tab_right,
1375 void TabStripGtk::GetDesiredTabWidths(int tab_count,
1460 int TabStripGtk::GetTabHOffset(int tab_index) {
1468 int TabStripGtk::tab_start_x() const {
1472 bool TabStripGtk::ResizeLayoutTabs() {
1501 bool TabStripGtk::IsCursorInTabStripZone() const {
1518 void TabStripGtk::AddMessageLoopObserver() {
1525 void TabStripGtk::RemoveMessageLoopObserver() {
1532 gfx::Rect TabStripGtk::GetDropBounds(int drop_index,
1569 void TabStripGtk::UpdateDropIndex(GdkDragContext* context, gint x, gint y) {
1595 void TabStripGtk::SetDropIndex(int index, bool drop_before) {
1623 bool TabStripGtk::CompleteDrop(guchar* data, bool is_plain_text) {
1664 GdkPixbuf* TabStripGtk::GetDropArrowImage(bool is_down) {
1669 // TabStripGtk::DropInfo -------------------------------------------------------
1671 TabStripGtk::DropInfo::DropInfo(int drop_index, bool drop_before,
1680 TabStripGtk::DropInfo::~DropInfo() {
1684 gboolean TabStripGtk::DropInfo::OnExposeEvent(GtkWidget* widget,
1705 void TabStripGtk::DropInfo::SetContainerColorMap() {
1718 void TabStripGtk::DropInfo::SetContainerTransparency() {
1737 void TabStripGtk::DropInfo::SetContainerShapeMask() {
1759 void TabStripGtk::DropInfo::CreateContainer() {
1772 void TabStripGtk::DropInfo::DestroyContainer() {
1777 void TabStripGtk::StopAnimation() {
1784 void TabStripGtk::AnimationLayout(double unselected_width) {
1803 void TabStripGtk::StartInsertTabAnimation(int index) {
1811 void TabStripGtk::StartRemoveTabAnimation(int index, TabContents* contents) {
1826 void TabStripGtk::StartMoveTabAnimation(int from_index, int to_index) {
1832 void TabStripGtk::StartResizeLayoutAnimation() {
1838 void TabStripGtk::StartMiniTabAnimation(int index) {
1844 void TabStripGtk::StartMiniMoveTabAnimation(int from_index,
1853 void TabStripGtk::FinishAnimation(TabStripGtk::TabAnimation* animation,
1865 gboolean TabStripGtk::OnExpose(GtkWidget* widget, GdkEventExpose* event) {
1925 void TabStripGtk::OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) {
1948 gboolean TabStripGtk::OnDragMotion(GtkWidget* widget, GdkDragContext* context,
1954 gboolean TabStripGtk::OnDragDrop(GtkWidget* widget, GdkDragContext* context,
1968 gboolean TabStripGtk::OnDragLeave(GtkWidget* widget, GdkDragContext* context,
1975 gboolean TabStripGtk::OnDragDataReceived(GtkWidget* widget,
1992 void TabStripGtk::OnNewTabClicked(GtkWidget* widget) {
2020 void TabStripGtk::SetTabBounds(TabGtk* tab, const gfx::Rect& bounds) {
2028 bool TabStripGtk::CanPaintOnlyFavicons(const GdkRectangle* rects,
2048 void TabStripGtk::PaintOnlyFavicons(GdkEventExpose* event,
2054 CustomDrawButton* TabStripGtk::MakeNewTabButton() {