Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: chrome/browser/views/bookmark_bar_instructions_view.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/views/bookmark_bar_instructions_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h"
9 #include "chrome/browser/browser_theme_provider.h" 8 #include "chrome/browser/browser_theme_provider.h"
10 #include "chrome/browser/defaults.h" 9 #include "chrome/browser/defaults.h"
11 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
12 #include "views/controls/label.h" 11 #include "views/controls/label.h"
13 12
14 using views::View; 13 using views::View;
15 14
16 // Horizontal padding, in pixels, between the link and label. 15 // Horizontal padding, in pixels, between the link and label.
17 static const int kViewPadding = 6; 16 static const int kViewPadding = 6;
18 17
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 const ThemeProvider* theme_provider = GetThemeProvider(); 105 const ThemeProvider* theme_provider = GetThemeProvider();
107 if (!theme_provider) 106 if (!theme_provider)
108 return; 107 return;
109 updated_colors_ = true; 108 updated_colors_ = true;
110 SkColor text_color = 109 SkColor text_color =
111 theme_provider->GetColor(BrowserThemeProvider::COLOR_BOOKMARK_TEXT); 110 theme_provider->GetColor(BrowserThemeProvider::COLOR_BOOKMARK_TEXT);
112 instructions_->SetColor(text_color); 111 instructions_->SetColor(text_color);
113 if (import_link_) 112 if (import_link_)
114 import_link_->SetColor(text_color); 113 import_link_->SetColor(text_color);
115 } 114 }
OLDNEW
« no previous file with comments | « chrome/browser/views/autocomplete/autocomplete_popup_win.cc ('k') | chrome/browser/views/bookmark_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698