| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TABS_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 @end | 251 @end |
| 252 | 252 |
| 253 @interface TabStripController(TestingAPI) | 253 @interface TabStripController(TestingAPI) |
| 254 - (void)setTabTitle:(TabController*)tab | 254 - (void)setTabTitle:(TabController*)tab |
| 255 withContents:(content::WebContents*)contents; | 255 withContents:(content::WebContents*)contents; |
| 256 @end | 256 @end |
| 257 | 257 |
| 258 // Returns the parent view to use when showing a sheet for a given web contents. | 258 // Returns the parent view to use when showing a sheet for a given web contents. |
| 259 NSView* GetSheetParentViewForWebContents(content::WebContents* web_contents); | 259 NSView* GetSheetParentViewForWebContents(content::WebContents* web_contents); |
| 260 | 260 |
| 261 // Returns the bounds to use when showing a sheet for a given parent view. This |
| 262 // returns a rect in window coordinates. |
| 263 NSRect GetSheetParentBoundsForParentView(NSView* view); |
| 264 |
| 261 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 265 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |