| 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/gtk/overflow_button.h" | 5 #include "chrome/browser/gtk/overflow_button.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/gtk/gtk_theme_provider.h" | 11 #include "chrome/browser/gtk/gtk_theme_provider.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 GtkWidget* new_child = | 36 GtkWidget* new_child = |
| 37 GtkThemeProvider::GetFrom(profile_)->UseGtkTheme() ? | 37 GtkThemeProvider::GetFrom(profile_)->UseGtkTheme() ? |
| 38 gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_NONE) : | 38 gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_NONE) : |
| 39 gtk_image_new_from_pixbuf(ResourceBundle::GetSharedInstance(). | 39 gtk_image_new_from_pixbuf(ResourceBundle::GetSharedInstance(). |
| 40 GetRTLEnabledPixbufNamed(IDR_BOOKMARK_BAR_CHEVRONS)); | 40 GetRTLEnabledPixbufNamed(IDR_BOOKMARK_BAR_CHEVRONS)); |
| 41 | 41 |
| 42 gtk_container_add(GTK_CONTAINER(widget()), new_child); | 42 gtk_container_add(GTK_CONTAINER(widget()), new_child); |
| 43 gtk_widget_show(new_child); | 43 gtk_widget_show(new_child); |
| 44 } | 44 } |
| OLD | NEW |