Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: chrome/browser/cocoa/tab_contents_controller_view.h

Issue 164547: Mac: make save/open dialogs operate as tab-modal sheets.... Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Painfully (but hopefully correctly) merged ToT. Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_COCOA_TAB_CONTENTS_CONTROLLER_VIEW_H_
6 #define CHROME_BROWSER_COCOA_TAB_CONTENTS_CONTROLLER_VIEW_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 @class ToolbarController;
11
12 // A view for the area tied to the tab contents controller (which is switched
13 // around, i.e., inserted and removed from the view hierarchy, on tab
14 // selection). (I know, the name is terrible. Logically, it should be
15 // "TabContentsView", but we already have that; in fact, we already also have
16 // "TabContentsViewCocoa" and "TabContentsViewMac".)
17 @interface TabContentsControllerView : NSView {
18 }
19
20 // Returns the frame containing the view, the toolbar, and the infobars (in the
21 // superview's coordinates). Only call while view is "active" (i.e., has
22 // superview).
23 - (NSRect)frameWithBars;
24
25 // Positions sheets on the frame (below toolbar). Only call while view is
26 // "active".
27 - (NSRect)positionSheetBelowToolbar:(NSWindow *)sheet
28 usingRect:(NSRect)defaultSheetRect;
29
30 @end // @interface TabContentsControllerView
31
32 #endif // CHROME_BROWSER_COCOA_TAB_CONTENTS_CONTROLLER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/shell_dialogs_mac.mm ('k') | chrome/browser/cocoa/tab_contents_controller_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698