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/find_bar_view.h" | 5 #include "chrome/browser/ui/views/find_bar_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
11 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/tab_contents/tab_contents.h" | 15 #include "chrome/browser/tab_contents/tab_contents.h" |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 | 565 |
566 void FindBarView::OnThemeChanged() { | 566 void FindBarView::OnThemeChanged() { |
567 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); | 567 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); |
568 if (GetThemeProvider()) { | 568 if (GetThemeProvider()) { |
569 close_button_->SetBackground( | 569 close_button_->SetBackground( |
570 GetThemeProvider()->GetColor(BrowserThemeProvider::COLOR_TAB_TEXT), | 570 GetThemeProvider()->GetColor(BrowserThemeProvider::COLOR_TAB_TEXT), |
571 rb.GetBitmapNamed(IDR_CLOSE_BAR), | 571 rb.GetBitmapNamed(IDR_CLOSE_BAR), |
572 rb.GetBitmapNamed(IDR_CLOSE_BAR_MASK)); | 572 rb.GetBitmapNamed(IDR_CLOSE_BAR_MASK)); |
573 } | 573 } |
574 } | 574 } |
OLD | NEW |