Index: chrome/browser/ui/cocoa/new_tab_button.h |
diff --git a/chrome/browser/ui/cocoa/new_tab_button.h b/chrome/browser/ui/cocoa/new_tab_button.h |
index 97b8482274516d98ef3fd1bb386602547c73512d..8b2ddcf6d24c7dd51a0aa7f7c2b0089ab031466d 100644 |
--- a/chrome/browser/ui/cocoa/new_tab_button.h |
+++ b/chrome/browser/ui/cocoa/new_tab_button.h |
@@ -7,12 +7,14 @@ |
#import <Cocoa/Cocoa.h> |
+#import "chrome/browser/ui/cocoa/themed_window.h" |
+ |
// Overrides hit-test behavior to only accept clicks inside the image of the |
// button, not just inside the bounding box. This could be abstracted to general |
// use, but no other buttons are so irregularly shaped with respect to their |
// bounding box. |
-@interface NewTabButton : NSButton |
+@interface NewTabButton : NSButton<ThemedWindowDrawing> |
// Returns YES if the given point is over the button. |point| is in the |
// superview's coordinate system. |