| Index: chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h
|
| index 1fcfe051fb08e2106bcf7dcb9c82304201cd4590..41f2a4638f0a51d1031b305e92434b63a92ab609 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h
|
| +++ b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h
|
| @@ -8,25 +8,10 @@
|
|
|
| #include <Cocoa/Cocoa.h>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| -
|
| -class TabContentsNotificationBridge;
|
| -@class TabContentsController;
|
| -
|
| namespace content {
|
| class WebContents;
|
| }
|
|
|
| -// The interface for the tab contents view controller's delegate.
|
| -
|
| -@protocol TabContentsControllerDelegate
|
| -
|
| -// Tells the delegate when the tab contents view's frame is about to change.
|
| -- (void)tabContentsViewFrameWillChange:(TabContentsController*)source
|
| - frameRect:(NSRect)frameRect;
|
| -
|
| -@end
|
| -
|
| // A class that controls the WebContents view. It manages displaying the
|
| // native view for a given WebContents.
|
| // Note that just creating the class does not display the view. We defer
|
| @@ -37,14 +22,11 @@ class WebContents;
|
| @interface TabContentsController : NSViewController {
|
| @private
|
| content::WebContents* contents_; // weak
|
| - // Delegate to be notified about size changes.
|
| - id<TabContentsControllerDelegate> delegate_; // weak
|
| - scoped_ptr<TabContentsNotificationBridge> tabContentsBridge_;
|
| }
|
| @property(readonly, nonatomic) content::WebContents* webContents;
|
|
|
| -- (id)initWithContents:(content::WebContents*)contents
|
| - delegate:(id<TabContentsControllerDelegate>)delegate;
|
| +// Create the contents of a tab represented by |contents|.
|
| +- (id)initWithContents:(content::WebContents*)contents;
|
|
|
| // Call when the tab contents is about to be replaced with the currently
|
| // selected tab contents to do not trigger unnecessary content relayout.
|
|
|