Index: chrome/browser/ui/cocoa/browser_window_utils.h |
diff --git a/chrome/browser/ui/cocoa/browser_window_utils.h b/chrome/browser/ui/cocoa/browser_window_utils.h |
index b28d50d62f659d90470d7c8f05120463b83f624f..eb3662963b81a2e1d7bf0a7a0e45e64b74a1554b 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_utils.h |
+++ b/chrome/browser/ui/cocoa/browser_window_utils.h |
@@ -7,6 +7,8 @@ |
#import <Cocoa/Cocoa.h> |
+#include "chrome/browser/ui/cocoa/themed_window.h" |
+ |
class Browser; |
namespace content { |
@@ -37,8 +39,19 @@ struct NativeWebKeyboardEvent; |
withNewTitle:(NSString*)newTitle |
forWindow:(NSWindow*)window; |
-+ (NSPoint)themePatternPhaseFor:(NSView*)windowView |
- withTabStrip:(NSView*)tabStripView; |
+// Returns the position in the coordinates of |windowView| that the top left of |
+// a theme image should be painted at. See |
+// [BrowserWindowController themeImagePositionForAlignment:] for more details. |
++ (NSPoint) themeImagePositionFor:(NSView*)windowView |
Robert Sesek
2013/07/30 14:25:24
nit: no space after )
|
+ withTabStrip:(NSView*)tabStripView |
+ alignment:(ThemeImageAlignment)alignment; |
+ |
+// Returns the position in the coordinates of |tabStripView| that the top left |
+// of a theme image should be painted at. This method exists so that the |
+// position can be queried before the tab strip is layed out by the new tab |
+// button. |
++ (NSPoint) themeImagePositionInTabStripCoords:(NSView*)tabStripView |
Robert Sesek
2013/07/30 14:25:24
nit: same
|
+ alignment:(ThemeImageAlignment)alignment; |
+ (void)activateWindowForController:(NSWindowController*)controller; |
@end |