From e4e15dca9f700cf5f0e9ff708622ff0cebe94100 Mon Sep 17 00:00:00 2001 From: "dhollowa@chromium.org" Date: Thu, 18 Oct 2012 03:22:50 +0000 Subject: Refactor Instant to separate out preview control Separates out Show/Hide logic into a separate |InstantPreviewController| class. This class follows an observer pattern, observing the |InstantModel| changes. The model is held by the |InstantController|. The goal with this is to pave the way for future changes that will expand the complexity of the "view" logic, especially in the area of coordinating the animations used with --enable-instant-extended-api features. BUG=142785 TEST=No functional change. Refactoring only. R=sreeram@chromium.org, jered@chromium.org, samarth@chromium.org Review URL: https://chromiumcodereview.appspot.com/11144004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162633 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ui/cocoa/browser_window_controller.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'chrome/browser/ui/cocoa/browser_window_controller.h') diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h index 7525bc9..3dbdd5d 100644 --- a/chrome/browser/ui/cocoa/browser_window_controller.h +++ b/chrome/browser/ui/cocoa/browser_window_controller.h @@ -324,8 +324,6 @@ class WebContents; - (NSPoint)bookmarkBubblePoint; // Shows or hides the Instant preview contents. -- (void)showInstant:(content::WebContents*)previewContents; -- (void)hideInstant; - (void)commitInstant; - (BOOL)isInstantTabShowing; -- cgit v1.1