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

Unified Diff: chrome/browser/ui/cocoa/background_gradient_view.h

Issue 2336453002: BackgroundGradientView: -drawBackground: → -drawRect: (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
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 60f5a910896f7506409908df43bc90847c7bea42..433fe1f590f7e9ce55516c2e984c8f8b2f084512 100644
--- a/chrome/browser/ui/cocoa/background_gradient_view.h
+++ b/chrome/browser/ui/cocoa/background_gradient_view.h
@@ -22,15 +22,12 @@
// The color used for the bottom stroke. Public so subclasses can use.
- (NSColor*)strokeColor;
-// The pattern phase that will be used by -drawBackground:.
+// The pattern phase that will be used by -drawRect:.
// 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_
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/background_gradient_view.mm » ('j') | chrome/browser/ui/cocoa/tabs/tab_strip_view.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698