summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/new_tab_button.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/new_tab_button.mm')
-rw-r--r--chrome/browser/ui/cocoa/new_tab_button.mm13
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/browser/ui/cocoa/new_tab_button.mm b/chrome/browser/ui/cocoa/new_tab_button.mm
index 02fd53d..176c80c 100644
--- a/chrome/browser/ui/cocoa/new_tab_button.mm
+++ b/chrome/browser/ui/cocoa/new_tab_button.mm
@@ -56,19 +56,6 @@
return nil;
}
-- (NSRect)focusRingMaskBounds {
- // This override won't be needed once we link with 10.8+ SDK.
- return [self bounds];
-}
-
-- (void)drawFocusRingMask {
- // Match the button's shape.
- ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
- NSImage* image =
- bundle.GetNativeImageNamed(IDR_NEWTAB_BUTTON_MASK).ToNSImage();
- [ImageButtonCell drawImage:image inRect:[self bounds] alpha:1.0];
-}
-
// ThemedWindowDrawing implementation.
- (void)windowDidChangeTheme {