| Index: chrome/browser/cocoa/tab_contents_controller_view.h
|
| diff --git a/chrome/browser/cocoa/tab_contents_controller_view.h b/chrome/browser/cocoa/tab_contents_controller_view.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ad46da8ead105845b858ab6ea5c89bd2927b803f
|
| --- /dev/null
|
| +++ b/chrome/browser/cocoa/tab_contents_controller_view.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_COCOA_TAB_CONTENTS_CONTROLLER_VIEW_H_
|
| +#define CHROME_BROWSER_COCOA_TAB_CONTENTS_CONTROLLER_VIEW_H_
|
| +
|
| +#import <Cocoa/Cocoa.h>
|
| +
|
| +@class ToolbarController;
|
| +
|
| +// A view for the area tied to the tab contents controller (which is switched
|
| +// around, i.e., inserted and removed from the view hierarchy, on tab
|
| +// selection). (I know, the name is terrible. Logically, it should be
|
| +// "TabContentsView", but we already have that; in fact, we already also have
|
| +// "TabContentsViewCocoa" and "TabContentsViewMac".)
|
| +@interface TabContentsControllerView : NSView {
|
| +}
|
| +
|
| +// Returns the frame containing the view, the toolbar, and the infobars (in the
|
| +// superview's coordinates). Only call while view is "active" (i.e., has
|
| +// superview).
|
| +- (NSRect)frameWithBars;
|
| +
|
| +// Positions sheets on the frame (below toolbar). Only call while view is
|
| +// "active".
|
| +- (NSRect)positionSheetBelowToolbar:(NSWindow *)sheet
|
| + usingRect:(NSRect)defaultSheetRect;
|
| +
|
| +@end // @interface TabContentsControllerView
|
| +
|
| +#endif // CHROME_BROWSER_COCOA_TAB_CONTENTS_CONTROLLER_VIEW_H_
|
|
|