| Index: chrome/browser/gtk/tabs/tab_strip_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/gtk/tabs/tab_strip_gtk.cc (revision 36364)
|
| +++ chrome/browser/gtk/tabs/tab_strip_gtk.cc (working copy)
|
| @@ -954,6 +954,7 @@
|
| tab->UpdateData(contents, false);
|
| }
|
| tab->set_pinned(model_->IsTabPinned(index));
|
| + tab->SetBlocked(model_->IsTabBlocked(index));
|
|
|
| if (gtk_widget_get_parent(tab->widget()) != tabstrip_.get())
|
| gtk_fixed_put(GTK_FIXED(tabstrip_.get()), tab->widget(), 0, 0);
|
| @@ -1009,6 +1010,7 @@
|
| tab_data_.erase(tab_data_.begin() + from_index);
|
| TabData data = {tab, gfx::Rect()};
|
| tab->set_pinned(model_->IsTabPinned(to_index));
|
| + tab->SetBlocked(model_->IsTabBlocked(to_index));
|
| tab_data_.insert(tab_data_.begin() + to_index, data);
|
| if (pinned_state_changed) {
|
| StartPinAndMoveTabAnimation(from_index, to_index, start_bounds);
|
| @@ -1038,6 +1040,11 @@
|
| StartPinnedTabAnimation(index);
|
| }
|
|
|
| +void TabStripGtk::TabBlockedStateChanged(TabContents* contents, int index) {
|
| + GetTabAt(index)->SetBlocked(model_->IsTabBlocked(index));
|
| +}
|
| +
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // TabStripGtk, TabGtk::TabDelegate implementation:
|
|
|
|
|