| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 // Removes custom traffic light buttons from the tab strip. Idempotent. | 264 // Removes custom traffic light buttons from the tab strip. Idempotent. |
| 265 - (void)removeCustomWindowControls; | 265 - (void)removeCustomWindowControls; |
| 266 | 266 |
| 267 @end | 267 @end |
| 268 | 268 |
| 269 @interface TabStripController(TestingAPI) | 269 @interface TabStripController(TestingAPI) |
| 270 - (void)setTabTitle:(TabController*)tab | 270 - (void)setTabTitle:(TabController*)tab |
| 271 withContents:(content::WebContents*)contents; | 271 withContents:(content::WebContents*)contents; |
| 272 @end | 272 @end |
| 273 | 273 |
| 274 // Returns the parent view to use when showing a sheet for a given web contents. | |
| 275 NSView* GetSheetParentViewForWebContents(content::WebContents* web_contents); | |
| 276 | |
| 277 // Returns the bounds to use when showing a sheet for a given parent view. This | |
| 278 // returns a rect in window coordinates. | |
| 279 NSRect GetSheetParentBoundsForParentView(NSView* view); | |
| 280 | |
| 281 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 274 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |