diff options
Diffstat (limited to 'chrome/browser/ui/cocoa/bubble_view.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/bubble_view.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/ui/cocoa/bubble_view.mm b/chrome/browser/ui/cocoa/bubble_view.mm index 3c36e7c..4c3d8e0 100644 --- a/chrome/browser/ui/cocoa/bubble_view.mm +++ b/chrome/browser/ui/cocoa/bubble_view.mm @@ -4,10 +4,11 @@ #import "chrome/browser/ui/cocoa/bubble_view.h" -#include "chrome/browser/themes/theme_service.h" +#include "chrome/browser/themes/theme_properties.h" #import "chrome/browser/ui/cocoa/themed_window.h" #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" #import "third_party/GTM/AppKit/GTMNSColor+Luminance.h" +#include "ui/base/theme_provider.h" // The roundedness of the edges of the bubble. This matches the value used on // Lion for window corners. @@ -91,7 +92,7 @@ const float kWindowEdge = 0.7f; bottomRightCornerRadius:bottomRightRadius]; if (themeProvider) - [themeProvider->GetNSColor(ThemeService::COLOR_TOOLBAR, true) set]; + [themeProvider->GetNSColor(ThemeProperties::COLOR_TOOLBAR, true) set]; [border fill]; [[NSColor colorWithDeviceWhite:kWindowEdge alpha:1.0f] set]; @@ -100,7 +101,7 @@ const float kWindowEdge = 0.7f; // Text NSColor* textColor = [NSColor blackColor]; if (themeProvider) - textColor = themeProvider->GetNSColor(ThemeService::COLOR_TAB_TEXT, + textColor = themeProvider->GetNSColor(ThemeProperties::COLOR_TAB_TEXT, true); NSFont* textFont = [self font]; scoped_nsobject<NSShadow> textShadow([[NSShadow alloc] init]); |