2 * Copyright (C) 2012 Samsung Electronics
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
20 #ifndef ewk_popup_picker_h
21 #define ewk_popup_picker_h
23 typedef struct _Evas_Object Evas_Object;
24 typedef struct _Elm_Object_Item Elm_Object_Item;
25 typedef struct _Eina_List Eina_List;
28 class WebPopupMenuProxyTizen;
31 struct _Ewk_Popup_Picker {
32 Evas_Object* container;
34 Evas_Object* popupList;
35 Elm_Object_Item* firstItem;
38 typedef struct _Ewk_Popup_Picker Ewk_Popup_Picker;
40 Ewk_Popup_Picker* ewk_popup_picker_new(Evas_Object* parent, Eina_List* items, int selectedIndex);
41 void ewk_popup_picker_resize(Ewk_Popup_Picker* picker);
42 void ewk_popup_picker_del(Ewk_Popup_Picker* picker);
44 #if ENABLE(TIZEN_WEBKIT2_POPUP_INTERNAL)
45 void ewk_popup_picker_update(Evas_Object* parent, Ewk_Popup_Picker* picker, Eina_List* items, int selectedIndex);
48 #endif // ewk_popup_picker_h