Index: chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h |
diff --git a/chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h b/chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h |
index bd0c46d6cda2966ed67bc9a1f49f10c7585eb58c..d1b868cfec5d4581050b173743d7eb420e267b0c 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h |
+++ b/chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h |
@@ -53,9 +53,9 @@ class WebContents; |
// Closes the current preview and shows the active view. |
- (void)hidePreview; |
-// Called when a new tab with |contents| is added, so that we can check to see |
-// if it's the preview being committed (and adjust internal state accordingly). |
-- (void)onInsertTabWithContents:(content::WebContents*)contents; |
+// Called when a tab with |contents| is activated, so that we can check to see |
+// if it's the preview being activated (and adjust internal state accordingly). |
+- (void)onActivateTabWithContents:(content::WebContents*)contents; |
// Returns YES if the preview contents is currently showing. |
- (BOOL)isShowingPreview; |