evas_object_del(elm_win_);
}
if (ee_) {
+#if !BUILDFLAG(IS_TIZEN)
EflWindowManager::RemoveWindowFromMap(ee_);
+#endif
ecore_evas_free(ee_);
}
return handled ? POST_DISPATCH_STOP_PROPAGATION : POST_DISPATCH_NONE;
}
+#if !BUILDFLAG(IS_TIZEN)
void EflWindow::OnEcoreEvasResize(Ecore_Evas* ee) {
int width, height;
ecore_evas_geometry_get(ee, NULL, NULL, &width, &height);
EflWindow* efl_window = EflWindowManager::GetWindowFromMap(ee);
efl_window->SetBoundsInPixels(gfx::Rect(width, height));
}
+#endif
void EflWindow::Initialize(const PlatformWindowInitProperties& properties) {
bounds_ = properties.bounds;
}
evas_ = ecore_evas_get(ee_);
+
+#if !BUILDFLAG(IS_TIZEN)
EflWindowManager::AddWindowToMap(ee_, this);
ecore_evas_callback_resize_set(ee_, &OnEcoreEvasResize);
+#endif
// Evas engine creates it's own egl window and egl surface to render.
// Eventually additional GEM memory is created for rendering. Enable evas