Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / libgtk2ui / chrome_gtk_menu_subclasses.cc
blob98354d766b3088d8aa1bdcf39bc74e8416e81aed
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.
5 #include "chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.h"
7 G_DEFINE_TYPE(GtkCustomMenu, gtk_custom_menu, GTK_TYPE_MENU)
9 static void gtk_custom_menu_init(GtkCustomMenu* menu) {
12 static void gtk_custom_menu_class_init(GtkCustomMenuClass* klass) {
15 GtkWidget* gtk_custom_menu_new() {
16 return GTK_WIDGET(g_object_new(gtk_custom_menu_get_type(), NULL));
19 G_DEFINE_TYPE(GtkCustomMenuItem, gtk_custom_menu_item, GTK_TYPE_MENU_ITEM)
21 static void gtk_custom_menu_item_init(GtkCustomMenuItem* item) {
24 static void gtk_custom_menu_item_class_init(GtkCustomMenuItemClass* klass) {
27 GtkWidget* gtk_custom_menu_item_new() {
28 return GTK_WIDGET(g_object_new(gtk_custom_menu_item_get_type(), NULL));