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

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

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 #include "chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.h" 5 #include "chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.h"
6 6
7 G_DEFINE_TYPE(GtkCustomMenu, gtk_custom_menu, GTK_TYPE_MENU) 7 G_DEFINE_TYPE(GtkCustomMenu, gtk_custom_menu, GTK_TYPE_MENU)
8 8
9 static void gtk_custom_menu_init(GtkCustomMenu* menu) { 9 static void gtk_custom_menu_init(GtkCustomMenu* menu) {
10 } 10 }
11 11
12 static void gtk_custom_menu_class_init(GtkCustomMenuClass* klass) { 12 static void gtk_custom_menu_class_init(GtkCustomMenuClass* klass) {
13 } 13 }
14 14
15 GtkWidget* gtk_custom_menu_new() { 15 GtkWidget* gtk_custom_menu_new() {
16 return GTK_WIDGET(g_object_new(gtk_custom_menu_get_type(), NULL)); 16 return GTK_WIDGET(g_object_new(gtk_custom_menu_get_type(), NULL));
17 } 17 }
18 18
19 G_DEFINE_TYPE(GtkCustomMenuItem, gtk_custom_menu_item, GTK_TYPE_MENU_ITEM) 19 G_DEFINE_TYPE(GtkCustomMenuItem, gtk_custom_menu_item, GTK_TYPE_MENU_ITEM)
20 20
21 static void gtk_custom_menu_item_init(GtkCustomMenuItem* item) { 21 static void gtk_custom_menu_item_init(GtkCustomMenuItem* item) {
22 } 22 }
23 23
24 static void gtk_custom_menu_item_class_init(GtkCustomMenuItemClass* klass) { 24 static void gtk_custom_menu_item_class_init(GtkCustomMenuItemClass* klass) {
25 } 25 }
26 26
27 GtkWidget* gtk_custom_menu_item_new() { 27 GtkWidget* gtk_custom_menu_item_new() {
28 return GTK_WIDGET(g_object_new(gtk_custom_menu_item_get_type(), NULL)); 28 return GTK_WIDGET(g_object_new(gtk_custom_menu_item_get_type(), NULL));
29 } 29 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.h ('k') | chrome/browser/ui/libgtkui/gconf_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698