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 fdf9010ff72c2141c0f9298f08f7314a4eb4230d..947a945b1a1a2a3f59a38b6c53d19a8b0e2bbccb 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h |
+++ b/chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h |
@@ -40,6 +40,10 @@ 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; |
+ |
// Returns YES if the preview contents is currently showing. |
- (BOOL)isShowingPreview; |