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

Unified Diff: chrome/browser/ui/gtk/custom_button.h

Issue 12703039: Inconsistent use of [x] close panel icon. Code changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added recently added local NTP file. Created 7 years, 9 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/confirm_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/custom_button.h
diff --git a/chrome/browser/ui/gtk/custom_button.h b/chrome/browser/ui/gtk/custom_button.h
index cf9b07606f821e905a551286783d9205d19dff34..c10ba1ebbbd0fcaad9903d7fe8e29fc8df0b3ddf 100644
--- a/chrome/browser/ui/gtk/custom_button.h
+++ b/chrome/browser/ui/gtk/custom_button.h
@@ -197,9 +197,14 @@ class CustomDrawButton : public content::NotificationObserver {
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // Returns a standard close button. Pass a |theme_provider| to use Gtk icons
- // in Gtk rendering mode.
- static CustomDrawButton* CloseButton(GtkThemeService* theme_provider);
+ // Returns a standard close button used for infobars and shelves (smaller
+ // with red hover).
+ // Pass a |theme_provider| to use Gtk icons in Gtk rendering mode.
+ static CustomDrawButton* CloseButtonBar(GtkThemeService* theme_provider);
+
+ // Returns a standard close button used for bubbles (larger).
+ // Pass a |theme_provider| to use Gtk icons in Gtk rendering mode.
+ static CustomDrawButton* CloseButtonBubble(GtkThemeService* theme_provider);
private:
// Sets the button to themed or not.
« no previous file with comments | « chrome/browser/ui/gtk/confirm_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698