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

Side by Side Diff: chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.h

Issue 2449243002: Gtk3 ui: Add libgtk3ui as a separate build component (Closed)
Patch Set: Add theme_properties dep to //chrome/browser/ui Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_LIBGTK2UI_CHROME_GTK_MENU_SUBCLASSES_H_ 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_CHROME_GTK_MENU_SUBCLASSES_H_
6 #define CHROME_BROWSER_UI_LIBGTK2UI_CHROME_GTK_MENU_SUBCLASSES_H_ 6 #define CHROME_BROWSER_UI_LIBGTKUI_CHROME_GTK_MENU_SUBCLASSES_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 // This file declares two subclasses of Gtk's menu classes. We do this because 10 // This file declares two subclasses of Gtk's menu classes. We do this because
11 // when we were a GTK app proper, we had classes with the same names, and gtk 11 // when we were a GTK app proper, we had classes with the same names, and gtk
12 // theme authors started writing themes and styling chrome's menus by targeting 12 // theme authors started writing themes and styling chrome's menus by targeting
13 // these classes. We have to fetch our colors from these theme classes in 13 // these classes. We have to fetch our colors from these theme classes in
14 // specific because several newer GTK+2 themes are pixmap based and they 14 // specific because several newer GTK+2 themes are pixmap based and they
15 // specifically give real colors only to these classes. 15 // specifically give real colors only to these classes.
16 16
(...skipping 20 matching lines...) Expand all
37 }; 37 };
38 38
39 struct _GtkCustomMenuItemClass { 39 struct _GtkCustomMenuItemClass {
40 GtkMenuItemClass parent_class; 40 GtkMenuItemClass parent_class;
41 }; 41 };
42 42
43 GtkWidget* gtk_custom_menu_item_new(); 43 GtkWidget* gtk_custom_menu_item_new();
44 44
45 G_END_DECLS 45 G_END_DECLS
46 46
47 #endif // CHROME_BROWSER_UI_LIBGTK2UI_CHROME_GTK_MENU_SUBCLASSES_H_ 47 #endif // CHROME_BROWSER_UI_LIBGTKUI_CHROME_GTK_MENU_SUBCLASSES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/chrome_gtk_frame.cc ('k') | chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698