Index: chrome/browser/cocoa/download_shelf_controller.mm |
diff --git a/chrome/browser/cocoa/download_shelf_controller.mm b/chrome/browser/cocoa/download_shelf_controller.mm |
index e1faf3e70d3967ee8a996c06a100160fb906189f..6c2e4e97e356786925e8e5708f632481d50ae99a 100644 |
--- a/chrome/browser/cocoa/download_shelf_controller.mm |
+++ b/chrome/browser/cocoa/download_shelf_controller.mm |
@@ -98,11 +98,14 @@ const NSTimeInterval kDownloadShelfCloseDuration = 0.12; |
[super dealloc]; |
} |
+// Called after the current theme has changed. |
- (void)themeDidChangeNotification:(NSNotification*)aNotification { |
GTMTheme* theme = [aNotification object]; |
[self updateTheme:theme]; |
} |
+// Adapt appearance to the current theme. Called after theme changes and before |
+// this is shown for the first time. |
- (void)updateTheme:(GTMTheme*)theme { |
// For the default theme, use a blue color for the link. Ideally, we'd want to |
// compare the current theme id with kDefaultThemeID, but the classic theme |