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

Side by Side Diff: chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.cc

Issue 6296012: Update references part 2: files in chrome/browser/ui/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2011 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/gtk/bookmark_bar_instructions_gtk.h" 5 #include "chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "chrome/browser/gtk/gtk_chrome_link_button.h" 9 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
10 #include "chrome/browser/gtk/gtk_chrome_shrinkable_hbox.h" 10 #include "chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.h"
11 #include "chrome/browser/gtk/gtk_theme_provider.h" 11 #include "chrome/browser/ui/gtk/gtk_theme_provider.h"
12 #include "chrome/browser/gtk/gtk_util.h" 12 #include "chrome/browser/ui/gtk/gtk_util.h"
13 #include "chrome/common/notification_service.h" 13 #include "chrome/common/notification_service.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 15
16 BookmarkBarInstructionsGtk::BookmarkBarInstructionsGtk(Delegate* delegate, 16 BookmarkBarInstructionsGtk::BookmarkBarInstructionsGtk(Delegate* delegate,
17 Profile* profile) 17 Profile* profile)
18 : delegate_(delegate), 18 : delegate_(delegate),
19 profile_(profile), 19 profile_(profile),
20 theme_provider_(GtkThemeProvider::GetFrom(profile_)) { 20 theme_provider_(GtkThemeProvider::GetFrom(profile_)) {
21 instructions_hbox_ = gtk_chrome_shrinkable_hbox_new(FALSE, FALSE, 0); 21 instructions_hbox_ = gtk_chrome_shrinkable_hbox_new(FALSE, FALSE, 0);
22 gtk_widget_set_size_request(instructions_hbox_, 0, -1); 22 gtk_widget_set_size_request(instructions_hbox_, 0, -1);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 BrowserThemeProvider::GetDefaultColor( 84 BrowserThemeProvider::GetDefaultColor(
85 BrowserThemeProvider::COLOR_BOOKMARK_TEXT)) { 85 BrowserThemeProvider::COLOR_BOOKMARK_TEXT)) {
86 gtk_chrome_link_button_set_normal_color( 86 gtk_chrome_link_button_set_normal_color(
87 GTK_CHROME_LINK_BUTTON(instructions_link_), NULL); 87 GTK_CHROME_LINK_BUTTON(instructions_link_), NULL);
88 } else { 88 } else {
89 gtk_chrome_link_button_set_normal_color( 89 gtk_chrome_link_button_set_normal_color(
90 GTK_CHROME_LINK_BUTTON(instructions_link_), &bookmark_color); 90 GTK_CHROME_LINK_BUTTON(instructions_link_), &bookmark_color);
91 } 91 }
92 } 92 }
93 } 93 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_bar_gtk_interactive_uitest.cc ('k') | chrome/browser/ui/gtk/bookmark_bubble_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698