Home
last modified time | relevance | path

Searched refs:newtab_button_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/ui/views/tabs/
Dtab_strip.cc120 newtab_button_(NULL), in TabStrip()
147 newtab_button_ = new NewTabButton(this); in InitTabStripButtons()
149 newtab_button_->SetImageAlignment(views::ImageButton::ALIGN_LEFT, in InitTabStripButtons()
153 newtab_button_->SetAccessibleName( in InitTabStripButtons()
155 AddChildView(newtab_button_); in InitTabStripButtons()
159 return newtab_button_->bounds(); in GetNewTabButtonBounds()
181 View::ConvertPointToView(this, newtab_button_, &point_in_newtab_coords); in IsPositionInWindowCaption()
182 if (newtab_button_->bounds().Contains(point) && in IsPositionInWindowCaption()
183 !newtab_button_->HitTest(point_in_newtab_coords)) { in IsPositionInWindowCaption()
325 newtab_button_->Paint(canvas); in PaintChildren()
[all …]
Dside_tab_strip.cc125 newtab_button_(new SideTabNewTabButton(controller)), in SideTabStrip()
133 AddChildView(newtab_button_); in SideTabStrip()
206 newtab_button_->Paint(canvas); in PaintChildren()
310 newtab_button_->GetPreferredSize().height()); in GenerateIdealBounds()
329 newtab_button_->GetPreferredSize().height()); in GenerateIdealBounds()
330 y += newtab_button_->GetPreferredSize().height(); in GenerateIdealBounds()
366 bounds_animator().AnimateViewTo(newtab_button_, newtab_button_bounds_); in AnimateToIdealBounds()
373 newtab_button_->SetBoundsRect(newtab_button_bounds_); in DoLayout()
Dside_tab_strip.h77 views::View* newtab_button_; variable
Dtab_strip.h233 views::ImageButton* newtab_button_; variable
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc760 newtab_button_.reset(MakeNewTabButton()); in Init()
1359 newtab_button_->width(), newtab_button_->height()); in LayoutNewTabButton()
1365 bounds.set_x(bounds_.width() - newtab_button_->width()); in LayoutNewTabButton()
1371 gtk_fixed_move(GTK_FIXED(tabstrip_.get()), newtab_button_->widget(), in LayoutNewTabButton()
1398 (kNewTabButtonHOffset + newtab_button_->width()); in GetDesiredTabWidths()
1898 newtab_button_->widget(), event); in OnExpose()
Dtab_strip_gtk.h447 scoped_ptr<CustomDrawButton> newtab_button_; variable