summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model.h')
-rw-r--r--chrome/browser/tabs/tab_strip_model.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h
index d8eba2e..99036cc 100644
--- a/chrome/browser/tabs/tab_strip_model.h
+++ b/chrome/browser/tabs/tab_strip_model.h
@@ -129,6 +129,9 @@ class TabStripModelObserver {
// Sent when the tabstrip model is about to be deleted and any reference held
// must be dropped.
virtual void TabStripModelDeleted();
+
+ protected:
+ virtual ~TabStripModelObserver() {}
};
///////////////////////////////////////////////////////////////////////////////
@@ -236,6 +239,9 @@ class TabStripModelDelegate {
// Toggles the use of the vertical tabstrip.
virtual void ToggleUseVerticalTabs() = 0;
+
+ protected:
+ virtual ~TabStripModelDelegate() {}
};
////////////////////////////////////////////////////////////////////////////////