| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_CC_ | |
| 6 #define CHROME_BROWSER_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_CC_ | |
| 7 | |
| 8 #include "chrome/browser/gtk/bookmark_bar_instructions_gtk.h" | 5 #include "chrome/browser/gtk/bookmark_bar_instructions_gtk.h" |
| 9 | 6 |
| 10 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 11 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 12 #include "chrome/browser/gtk/gtk_chrome_link_button.h" | 9 #include "chrome/browser/gtk/gtk_chrome_link_button.h" |
| 13 #include "chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h" | 10 #include "chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h" |
| 14 #include "chrome/browser/gtk/gtk_theme_provider.h" | 11 #include "chrome/browser/gtk/gtk_theme_provider.h" |
| 15 #include "chrome/browser/gtk/gtk_util.h" | 12 #include "chrome/browser/gtk/gtk_util.h" |
| 16 #include "chrome/common/notification_service.h" | 13 #include "chrome/common/notification_service.h" |
| 17 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 BrowserThemeProvider::GetDefaultColor( | 84 BrowserThemeProvider::GetDefaultColor( |
| 88 BrowserThemeProvider::COLOR_BOOKMARK_TEXT)) { | 85 BrowserThemeProvider::COLOR_BOOKMARK_TEXT)) { |
| 89 gtk_chrome_link_button_set_normal_color( | 86 gtk_chrome_link_button_set_normal_color( |
| 90 GTK_CHROME_LINK_BUTTON(instructions_link_), NULL); | 87 GTK_CHROME_LINK_BUTTON(instructions_link_), NULL); |
| 91 } else { | 88 } else { |
| 92 gtk_chrome_link_button_set_normal_color( | 89 gtk_chrome_link_button_set_normal_color( |
| 93 GTK_CHROME_LINK_BUTTON(instructions_link_), &bookmark_color); | 90 GTK_CHROME_LINK_BUTTON(instructions_link_), &bookmark_color); |
| 94 } | 91 } |
| 95 } | 92 } |
| 96 } | 93 } |
| 97 | |
| 98 #endif // CHROME_BROWSER_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_CC_ | |
| OLD | NEW |