| Index: chrome/browser/instant/instant_controller_delegate.h
|
| diff --git a/chrome/browser/instant/instant_controller_delegate.h b/chrome/browser/instant/instant_controller_delegate.h
|
| index 306cd079e7ffd8be694bdd05156287e8580630dd..5fd5b2d1252226531052fc30da15b12bcf3dc8da 100644
|
| --- a/chrome/browser/instant/instant_controller_delegate.h
|
| +++ b/chrome/browser/instant/instant_controller_delegate.h
|
| @@ -14,15 +14,16 @@ namespace gfx {
|
| class Rect;
|
| }
|
|
|
| -// |InstantController| calls these methods on its delegate (usually |Browser|)
|
| -// to ask for the Instant preview to be shown, hidden, etc. In the following
|
| -// methods, if a |TabContents| argument is explicitly supplied, the delegate
|
| -// MUST use it. Otherwise, the preview TabContents can be gotten by calling
|
| -// |InstantController::GetPreviewContents| (note that it may return NULL).
|
| +// InstantController calls these methods on its delegate (Browser, via
|
| +// BrowserInstantController) to ask for the Instant preview to be shown,
|
| +// hidden, etc. In the following methods, if a TabContents argument is
|
| +// explicitly supplied, the delegate MUST use it. Otherwise, the preview
|
| +// TabContents can be gotten by calling InstantController::GetPreviewContents()
|
| +// (note that it may return NULL).
|
| class InstantControllerDelegate {
|
| public:
|
| // Show the preview.
|
| - virtual void ShowInstant(TabContents* preview_contents) = 0;
|
| + virtual void ShowInstant() = 0;
|
|
|
| // Hide any preview currently being shown.
|
| virtual void HideInstant() = 0;
|
|
|