static Eina_List *windows = NULL;
static char *evas_engine_name = NULL;
static Eina_Bool frame_flattening_enabled = EINA_FALSE;
+static Eina_Bool fullscreen_enabled = EINA_FALSE;
typedef struct _Browser_Window {
Evas_Object *window;
ecore_getopt_callback_ecore_evas_list_engines, NULL),
ECORE_GETOPT_STORE_DEF_BOOL
('f', "flattening", "frame flattening.", EINA_FALSE),
+ ECORE_GETOPT_STORE_DEF_BOOL
+ ('F', "full-screen", "start in full-screen.", EINA_FALSE),
ECORE_GETOPT_VERSION
('V', "version"),
ECORE_GETOPT_COPYRIGHT
// Ewk_Settings *settings = ewk_view_settings_get(app_data->webview);
// ewk_settings_file_access_from_file_urls_allowed_set(settings, EINA_TRUE);
// ewk_settings_enable_frame_flattening_set(settings, frame_flattening_enabled);
+ elm_win_fullscreen_set(app_data->window, fullscreen_enabled);
evas_object_smart_callback_add(app_data->webview, "close,window", on_close_window, app_data);
evas_object_smart_callback_add(app_data->webview, "create,window", on_new_window, app_data);
ECORE_GETOPT_VALUE_STR(evas_engine_name),
ECORE_GETOPT_VALUE_BOOL(quitOption),
ECORE_GETOPT_VALUE_BOOL(frame_flattening_enabled),
+ ECORE_GETOPT_VALUE_BOOL(fullscreen_enabled),
ECORE_GETOPT_VALUE_BOOL(quitOption),
ECORE_GETOPT_VALUE_BOOL(quitOption),
ECORE_GETOPT_VALUE_BOOL(quitOption),