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

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

Powered by Google App Engine
This is Rietveld 408576698