| 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 #include "chrome/browser/views/bookmark_bar_instructions_view.h" | 5 #include "chrome/browser/ui/views/bookmark_bar_instructions_view.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/defaults.h" | 9 #include "chrome/browser/defaults.h" |
| 10 #include "chrome/browser/themes/browser_theme_provider.h" | 10 #include "chrome/browser/themes/browser_theme_provider.h" |
| 11 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
| 12 #include "views/controls/label.h" | 12 #include "views/controls/label.h" |
| 13 | 13 |
| 14 using views::View; | 14 using views::View; |
| 15 | 15 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 const ThemeProvider* theme_provider = GetThemeProvider(); | 100 const ThemeProvider* theme_provider = GetThemeProvider(); |
| 101 if (!theme_provider) | 101 if (!theme_provider) |
| 102 return; | 102 return; |
| 103 updated_colors_ = true; | 103 updated_colors_ = true; |
| 104 SkColor text_color = | 104 SkColor text_color = |
| 105 theme_provider->GetColor(BrowserThemeProvider::COLOR_BOOKMARK_TEXT); | 105 theme_provider->GetColor(BrowserThemeProvider::COLOR_BOOKMARK_TEXT); |
| 106 instructions_->SetColor(text_color); | 106 instructions_->SetColor(text_color); |
| 107 if (import_link_) | 107 if (import_link_) |
| 108 import_link_->SetColor(text_color); | 108 import_link_->SetColor(text_color); |
| 109 } | 109 } |
| OLD | NEW |