summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/tabs/tab_strip_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/tabs/tab_strip_gtk.cc')
-rw-r--r--chrome/browser/gtk/tabs/tab_strip_gtk.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
index d145296..8db7a38 100644
--- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc
+++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
@@ -544,6 +544,10 @@ void TabStripGtk::UpdateLoadingAnimations() {
gtk_widget_queue_draw(tabstrip_.get());
}
+bool TabStripGtk::IsCompatibleWith(TabStripGtk* other) {
+ return model_->profile() == other->model()->profile();
+}
+
bool TabStripGtk::IsAnimating() const {
return active_animation_.get() != NULL;
}