'target_name': 'efl-extension',
'type': 'none',
'conditions': [
- ['building_for_tizen_mobile==1', {
+ ['building_for_tizen==1', {
'direct_dependent_settings': {
'cflags': [
'<!@(<(pkg-config) --cflags efl-extension)',
#include "base/strings/utf_string_conversions.h"
#include "content/public/browser/web_contents.h"
-#ifdef OS_TIZEN_MOBILE
-#include <efl_assist.h>
+#ifdef OS_TIZEN
+#include <efl_extension.h>
#endif
namespace content {
InitContent(type, message_text, default_prompt_text);
InitButtons(type);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
eext_object_event_callback_add(popup_, EEXT_CALLBACK_BACK,
&OnCancelButtonPressed, this);
#endif
#include <Elementary.h>
#if defined(OS_TIZEN)
#include <vconf/vconf.h>
-#endif
-#if defined(OS_TIZEN_MOBILE)
#include <dlfcn.h>
#include <efl_extension.h>
extern void* EflExtensionHandle;
"color,item,selected",
SelectedColorCallback,
picker_layout_->color_rect);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
eext_object_event_callback_add(picker_layout_->popup, EEXT_CALLBACK_BACK,
HandleBackKeyColorPicker, this);
#endif
picker_layout_->popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_text_set(picker_layout_->popup, "title,text", title);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
if (EflExtensionHandle) {
void (*webkit_eext_object_event_callback_add)(
Evas_Object *, Eext_Callback_Type , Eext_Event_Cb func, void *);
picker_layout_->popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_text_set(picker_layout_->popup, "title,text", title);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
if (EflExtensionHandle) {
void (*webkit_eext_object_event_callback_add)(
Evas_Object *, Eext_Callback_Type , Eext_Event_Cb func, void *);
picker_layout_->popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_text_set(picker_layout_->popup, "title,text", title);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
if (EflExtensionHandle) {
void (*webkit_eext_object_event_callback_add)(
Evas_Object *, Eext_Callback_Type , Eext_Event_Cb func, void *);
#include "content/common/paths_efl.h"
#include "eweb_view.h"
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
#include <efl_extension.h>
#endif
evas_object_smart_callback_add(ok_button_, "clicked", OkButtonHandlerForConfirm, this);
}
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
if (type_ == PROMPT || type_ == NAVIGATION)
eext_object_event_callback_add(popup_, EEXT_CALLBACK_BACK, CancelButtonHandlerForPrompt, this);
else if (type_ == ALERT)
#include <Elementary.h>
#include <libintl.h>
#include "ecore_x_wayland_wrapper.h"
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
#include <dlfcn.h>
#include <efl_extension.h>
extern void* EflExtensionHandle;
"mouse,clicked,1", "elm.image.next_bg", navigateToNext, picker);
}
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
if (EflExtensionHandle) {
void (*webkit_eext_object_event_callback_add)(Evas_Object *,
Eext_Callback_Type, Eext_Event_Cb func, void *);
bool handled = WebViewDelegateEwk::GetInstance().
RequestHandleEvent_KeyUp(webview_, event_info);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
return handled;
#endif
#if defined(OS_TIZEN)
#include <app_control.h>
-#endif
-
-#if defined(OS_TIZEN_MOBILE)
#include <efl_extension.h>
#endif
#endif
web_contents_.Focus();
} else {
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
eext_object_event_callback_add(popup_, EEXT_CALLBACK_BACK, ContextMenuHWBackKey, this);
// Workaround. After context menu shows up, there is "unfocused" event fired.
// evas_object_smart_callback_add(popup_, "unfocused", ContextMenuHWBackKey, this);
#include "message_pump_for_ui_efl.h"
#include "ui/gfx/screen_efl.h"
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
#include <dlfcn.h>
void* EflExtensionHandle = 0;
#endif
logging::SetLogItems(true, true, true, true);
#endif
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
if (!EflExtensionHandle)
EflExtensionHandle = dlopen("/usr/lib/libefl-extension.so.0", RTLD_LAZY);
#endif
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
#include <efl_extension.h>
#endif
#include <Elementary.h>
manager->Decide(false);
}
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
static void permissionHwBackKeyCallback(
void* data, Evas_Object* obj, void* event_info) {
PermissionPopupManager* manager = static_cast<PermissionPopupManager*>(data);
if (!SetLabelText(popup->GetMessage()))
return;
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
eext_object_event_callback_add(popup_, EEXT_CALLBACK_BACK,
permissionHwBackKeyCallback, this);
#endif
#include <gio/gio.h>
#endif // OS_TIZEN
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
#include <efl_extension.h>
#endif
void PopupControllerEfl::addCallbacks() {
// Close popup after tapping on outside of it
evas_object_smart_callback_add(popup_, "block,clicked", close_cb, this);
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
eext_object_event_callback_add(popup_, EEXT_CALLBACK_BACK, close_cb, this);
evas_object_focus_set(popup_, EINA_TRUE);
#endif
#include "browser-string.h"
#include "browser-object.h"
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
#include <efl_extension.h>
#endif
evas_object_smart_callback_add(data->url_entry, "clicked", _url_clicked_cb, data);
#endif
elm_entry_prediction_allow_set(data->url_entry, EINA_FALSE);
-#ifdef OS_TIZEN_MOBILE
+#ifdef OS_TIZEN
eext_object_event_callback_add(data->url_entry, EEXT_CALLBACK_BACK, _back_hard_key_cb, data);
#endif
// Add imf event
#include <Elementary.h>
#include <ewk_context.h>
#include <ewk_settings.h>
-#if defined(OS_TIZEN_MOBILE)
+
+#ifdef OS_TIZEN
#include <efl_extension.h>
#endif
elm_box_pack_end(urlbar_, separator);
evas_object_show(separator);
-#if defined(OS_TIZEN_MOBILE)
+#if defined(OS_TIZEN)
eext_object_event_callback_add(window_.GetEvasObject(), EEXT_CALLBACK_BACK, WindowUI::OnBack, this);
#endif
BuildRequires: pkgconfig(ecore-imf)
BuildRequires: pkgconfig(ecore-imf-evas)
BuildRequires: pkgconfig(ecore-input)
+BuildRequires: pkgconfig(efl-extension)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(feedback)
# Version Conditions for Each Targets
%if "%{?chromium_efl_tizen_profile}%{!?chromium_efl_tizen_profile:0}" == "mobile"
BuildRequires: bzip2-devel
-BuildRequires: pkgconfig(efl-extension)
BuildRequires: pkgconfig(capi-system-sensor)
%if "%{?_with_wayland}" != "1"
BuildRequires: pkgconfig(xdamage)