summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghwan <junghwan.kang@samsung.com>2012-09-10 10:37:01 +0900
committerJunghwan <junghwan.kang@samsung.com>2012-09-10 10:41:12 +0900
commitb417bfcab8ddc019179bb2139a82b1168e71ec10 (patch)
treeb918ac8d66fb074ad80bd289ab09571d89952a51
parent6f8623ead739c61af83d7bea046f07da33571441 (diff)
downloadorg.tizen.browser-b417bfcab8ddc019179bb2139a82b1168e71ec10.tar.gz
org.tizen.browser-b417bfcab8ddc019179bb2139a82b1168e71ec10.tar.bz2
org.tizen.browser-b417bfcab8ddc019179bb2139a82b1168e71ec10.zip
Remove un-supported context popup menu (share)
[Title] Remove un supported context popup menu (share) [Issue#] N_SE_9693 [Problem] Share is not work [Cause] share menu is not support in RC8 [Solution] Remove the functions [Team] Browser UI [Developer] junghwan kang (junghwan.kang) [Request] N/A Change-Id: I0b9546ec81d4c90610a606d17d597c3281ba1c16
-rwxr-xr-x[-rw-r--r--]src/browser-view/browser-view.cpp15
-rwxr-xr-xsrc/browser-view/browser-view.h1
2 files changed, 0 insertions, 16 deletions
diff --git a/src/browser-view/browser-view.cpp b/src/browser-view/browser-view.cpp
index 3b934a5..2e172c4 100644..100755
--- a/src/browser-view/browser-view.cpp
+++ b/src/browser-view/browser-view.cpp
@@ -2007,18 +2007,6 @@ void Browser_View::_destroy_scissorbox_view(void)
evas_object_show(m_control_bar);
}
-void Browser_View::__share_cb(void *data, Evas_Object *obj, void *event_info)
-{
- BROWSER_LOGD("[%s]", __func__);
- if (!data)
- return;
-
- Browser_View *browser_view = (Browser_View *)data;
- browser_view->_destroy_more_context_popup();
- browser_view->_show_share_popup(browser_view->get_url().c_str());
-}
-
-
void Browser_View::__private_cb(void *data, Evas_Object *obj, void *event_info)
{
BROWSER_LOGD("[%s]", __func__);
@@ -2522,9 +2510,6 @@ Eina_Bool Browser_View::_show_more_context_popup(void)
|| _get_edit_mode() == BR_FIND_WORD_MODE)
elm_object_item_disabled_set(sub_menu, EINA_TRUE);
- sub_menu = elm_ctxpopup_item_append(m_more_context_popup, BR_STRING_SHARE, NULL,
- __share_cb, this);
-
m_bookmark_on_off_icon = elm_icon_add(m_more_context_popup);
if(m_data_manager->get_history_db()->is_in_bookmark(get_url().c_str(), NULL)) {
diff --git a/src/browser-view/browser-view.h b/src/browser-view/browser-view.h
index c53761f..bd9d4ed 100755
--- a/src/browser-view/browser-view.h
+++ b/src/browser-view/browser-view.h
@@ -195,7 +195,6 @@ private:
Eina_Bool _create_zoom_buttons(void);
#endif
static void __expand_option_header_cb(void *data, Evas_Object *obj, void *event_info);
- static void __share_cb(void *data, Evas_Object *obj, void *event_info);
static void __private_cb(void *data, Evas_Object *obj, void *event_info);
static void __private_check_change_cb(void *data, Evas_Object *obj, void *event_info);
static void __bookmark_cb(void *data, Evas_Object *obj, void *event_info);