Index: chrome/browser/ui/tab_contents/core_tab_helper_delegate.h |
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h b/chrome/browser/ui/tab_contents/core_tab_helper_delegate.h |
similarity index 52% |
rename from chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h |
rename to chrome/browser/ui/tab_contents/core_tab_helper_delegate.h |
index 86924d22479aeaf0561c4418ad0c7baea1643d56..1ff76df08e82b50eceaeca51ba393e7222695843 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h |
+++ b/chrome/browser/ui/tab_contents/core_tab_helper_delegate.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_DELEGATE_H_ |
-#define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_DELEGATE_H_ |
+#ifndef CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_DELEGATE_H_ |
+#define CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_DELEGATE_H_ |
#pragma once |
#include "base/basictypes.h" |
@@ -12,13 +12,17 @@ class TabContentsWrapper; |
// Objects implement this interface to get notified about changes in the |
// TabContentsWrapper and to provide necessary functionality. |
-class TabContentsWrapperDelegate { |
+// |
+// This is considered part of the TabContentsWrapper "core" interface. If a |
+// piece of code interacts with TabContentWrappers, it is guaranteed that it |
+// will need to handle all of these callbacks. |
+class CoreTabHelperDelegate { |
public: |
virtual void SwapTabContents(TabContentsWrapper* old_tc, |
TabContentsWrapper* new_tc) = 0; |
protected: |
- virtual ~TabContentsWrapperDelegate(); |
+ virtual ~CoreTabHelperDelegate(); |
}; |
-#endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_DELEGATE_H_ |
+#endif // CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_DELEGATE_H_ |