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

Unified Diff: chrome/browser/ui/gtk/overflow_button.cc

Issue 10337010: Revert r123782. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/page_info_bubble_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/overflow_button.cc
diff --git a/chrome/browser/ui/gtk/overflow_button.cc b/chrome/browser/ui/gtk/overflow_button.cc
index 95e81cf324b054e7c700c5d2202babe08cdbe821..7b2d584ecac99d0dfb3da8ce64e861be7bc8d262 100644
--- a/chrome/browser/ui/gtk/overflow_button.cc
+++ b/chrome/browser/ui/gtk/overflow_button.cc
@@ -7,7 +7,7 @@
#include <gtk/gtk.h>
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/gtk/theme_service_gtk.h"
+#include "chrome/browser/ui/gtk/gtk_theme_service.h"
#include "chrome/common/chrome_notification_types.h"
#include "content/public/browser/notification_source.h"
#include "grit/theme_resources.h"
@@ -15,10 +15,10 @@
#include "ui/gfx/image/image.h"
OverflowButton::OverflowButton(Profile* profile) : profile_(profile) {
- widget_.Own(ThemeServiceGtk::GetFrom(profile)->BuildChromeButton());
+ widget_.Own(GtkThemeService::GetFrom(profile)->BuildChromeButton());
gtk_widget_set_no_show_all(widget_.get(), TRUE);
- ThemeServiceGtk* theme_service = ThemeServiceGtk::GetFrom(profile);
+ GtkThemeService* theme_service = GtkThemeService::GetFrom(profile);
registrar_.Add(this, chrome::NOTIFICATION_BROWSER_THEME_CHANGED,
content::Source<ThemeService>(theme_service));
theme_service->InitThemesFor(this);
@@ -36,7 +36,7 @@ void OverflowButton::Observe(int type,
gtk_widget_destroy(former_child);
GtkWidget* new_child;
- if (ThemeServiceGtk::GetFrom(profile_)->UsingNativeTheme()) {
+ if (GtkThemeService::GetFrom(profile_)->UsingNativeTheme()) {
new_child = gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_NONE);
} else {
const gfx::Image& image = ui::ResourceBundle::GetSharedInstance().
« no previous file with comments | « chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/page_info_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698