Index: chrome/browser/ui/cocoa/background_gradient_view.h |
diff --git a/chrome/browser/ui/cocoa/background_gradient_view.h b/chrome/browser/ui/cocoa/background_gradient_view.h |
index 433fe1f590f7e9ce55516c2e984c8f8b2f084512..60f5a910896f7506409908df43bc90847c7bea42 100644 |
--- a/chrome/browser/ui/cocoa/background_gradient_view.h |
+++ b/chrome/browser/ui/cocoa/background_gradient_view.h |
@@ -22,12 +22,15 @@ |
// The color used for the bottom stroke. Public so subclasses can use. |
- (NSColor*)strokeColor; |
-// The pattern phase that will be used by -drawRect:. |
+// The pattern phase that will be used by -drawBackground:. |
// Defaults to align the top of the theme image with the top of the tabs. |
// Views that draw at the bottom of the window (download bar) can override to |
// change the pattern phase. |
- (NSPoint)patternPhase; |
+// Draws the background image into the current NSGraphicsContext. |
+- (void)drawBackground:(NSRect)dirtyRect; |
+ |
@end |
#endif // CHROME_BROWSER_UI_COCOA_BACKGROUND_GRADIENT_VIEW_H_ |