| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/status_bubble_gtk.h" | 5 #include "chrome/browser/gtk/status_bubble_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "app/gfx/gtk_util.h" |
| 9 #include "app/gfx/text_elider.h" | 10 #include "app/gfx/text_elider.h" |
| 10 #include "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
| 11 #include "base/gfx/gtk_util.h" | |
| 12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 14 #include "chrome/browser/gtk/gtk_theme_provider.h" | 14 #include "chrome/browser/gtk/gtk_theme_provider.h" |
| 15 #include "chrome/browser/gtk/rounded_window.h" | 15 #include "chrome/browser/gtk/rounded_window.h" |
| 16 #include "chrome/browser/gtk/slide_animator_gtk.h" | 16 #include "chrome/browser/gtk/slide_animator_gtk.h" |
| 17 #include "chrome/common/gtk_util.h" | 17 #include "chrome/common/gtk_util.h" |
| 18 #include "chrome/common/notification_service.h" | 18 #include "chrome/common/notification_service.h" |
| 19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 gtk_widget_modify_fg(label_, GTK_STATE_NORMAL, &bookmark_text); | 165 gtk_widget_modify_fg(label_, GTK_STATE_NORMAL, &bookmark_text); |
| 166 | 166 |
| 167 GdkColor toolbar_color = | 167 GdkColor toolbar_color = |
| 168 theme_provider_->GetGdkColor(BrowserThemeProvider::COLOR_TOOLBAR); | 168 theme_provider_->GetGdkColor(BrowserThemeProvider::COLOR_TOOLBAR); |
| 169 gtk_widget_modify_bg(container_.get(), GTK_STATE_NORMAL, &toolbar_color); | 169 gtk_widget_modify_bg(container_.get(), GTK_STATE_NORMAL, &toolbar_color); |
| 170 } | 170 } |
| 171 | 171 |
| 172 gtk_util::SetRoundedWindowBorderColor(container_.get(), | 172 gtk_util::SetRoundedWindowBorderColor(container_.get(), |
| 173 theme_provider_->GetBorderColor()); | 173 theme_provider_->GetBorderColor()); |
| 174 } | 174 } |
| OLD | NEW |