2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef WEB_SRC_SETTING_WEBAPP_COMMON_WHITEURIVIEW_H_
18 #define WEB_SRC_SETTING_WEBAPP_COMMON_WHITEURIVIEW_H_
26 namespace WebAppCommonSetting {
28 class WhiteUriView : public View
30 Evas_Object *m_naviFrame;
31 Elm_Object_Item *m_saveBtn;
34 Eina_Bool m_supportSubDomain;
36 static void onBackBtnClicked(void *data,
39 static void onSaveBtnClicked(void *data,
42 static void onUriErase(void *data,
46 static void onUriFocused(void *data,
49 static void onUriUnfocused(void *data,
52 static void onUriChanged(void *data,
55 static void onSubDomainReleased(void *data,
59 static void onSubDomainClicked(void *data,
64 bool pushToNaviFrame(void);
65 void popFromNaviFrame(void);
66 bool addUriField(Evas_Object *bx);
67 bool addSubDomainField(Evas_Object *bx);
68 Evas_Object *addToolBar(Evas_Object *parent);
71 WhiteUriView(Evas_Object *naviFrame);
72 WhiteUriView(Evas_Object *naviFrame,
78 void updateUri(const char *uri);
81 } /* WebAppCommonSetting */
83 #endif /* WEB_SRC_SETTING_WEBAPP_COMMON_WHITEURIVIEW_H_ */