| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_PREVIEWABLE_CONTENTS_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_PREVIEWABLE_CONTENTS_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PREVIEWABLE_CONTENTS_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_PREVIEWABLE_CONTENTS_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 class TabContents; | 11 class TabContents; |
| 12 | 12 |
| 13 // PreviewableContentsController manages the display of up to two tab contents | 13 // PreviewableContentsController manages the display of up to two tab contents |
| 14 // views. It is primarily for use with Instant results. This class supports | 14 // views. It is primarily for use with Instant results. This class supports |
| 15 // the notion of an "active" view vs. a "preview" tab contents view. | 15 // the notion of an "active" view vs. a "preview" tab contents view. |
| 16 // | 16 // |
| (...skipping 20 matching lines...) Expand all Loading... |
| 37 - (void)showPreview:(TabContents*)preview; | 37 - (void)showPreview:(TabContents*)preview; |
| 38 | 38 |
| 39 // Closes the current preview and shows the active view. | 39 // Closes the current preview and shows the active view. |
| 40 - (void)hidePreview; | 40 - (void)hidePreview; |
| 41 | 41 |
| 42 // Returns YES if the preview contents is currently showing. | 42 // Returns YES if the preview contents is currently showing. |
| 43 - (BOOL)isShowingPreview; | 43 - (BOOL)isShowingPreview; |
| 44 | 44 |
| 45 @end | 45 @end |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_UI_COCOA_PREVIEWABLE_CONTENTS_CONTROLLER_H_ | 47 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_PREVIEWABLE_CONTENTS_CONTROLLER_
H_ |
| OLD | NEW |