Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4006)

Unified Diff: chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h

Issue 11233076: Fix spurious visibility events when committing Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebaseline Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698