| Index: chrome/browser/ui/views/tabs/side_tab_strip.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/tabs/side_tab_strip.cc (revision 86083)
|
| +++ chrome/browser/ui/views/tabs/side_tab_strip.cc (working copy)
|
| @@ -128,7 +128,7 @@
|
| separator_(new views::View()),
|
| first_tab_y_offset_(0),
|
| ideal_height_(0) {
|
| - SetID(VIEW_ID_TAB_STRIP);
|
| + set_id(VIEW_ID_TAB_STRIP);
|
| set_background(views::Background::CreateSolidBackground(kBackgroundColor));
|
| AddChildView(newtab_button_);
|
| separator_->set_background(
|
| @@ -225,14 +225,14 @@
|
| views::View* SideTabStrip::GetEventHandlerForPoint(const gfx::Point& point) {
|
| // Check the scroll buttons first as they visually appear on top of everything
|
| // else.
|
| - if (scroll_down_button_->IsVisible()) {
|
| + if (scroll_down_button_->visible()) {
|
| gfx::Point local_point(point);
|
| View::ConvertPointToView(this, scroll_down_button_, &local_point);
|
| if (scroll_down_button_->HitTest(local_point))
|
| return scroll_down_button_->GetEventHandlerForPoint(local_point);
|
| }
|
|
|
| - if (scroll_up_button_->IsVisible()) {
|
| + if (scroll_up_button_->visible()) {
|
| gfx::Point local_point(point);
|
| View::ConvertPointToView(this, scroll_up_button_, &local_point);
|
| if (scroll_up_button_->HitTest(local_point))
|
|
|