Modified: trunk/Tools/ChangeLog (166638 => 166639)
--- trunk/Tools/ChangeLog 2014-04-02 09:58:39 UTC (rev 166638)
+++ trunk/Tools/ChangeLog 2014-04-02 11:22:33 UTC (rev 166639)
@@ -1,3 +1,17 @@
+2014-04-02 Krzysztof Wolanski <[email protected]>
+
+ [EFL] Add option to use separate web process for new window in MiniBrowser
+ https://bugs.webkit.org/show_bug.cgi?id=130190
+
+ Reviewed by Gyuyoung Kim.
+
+ New created window (CTRL + n) will be open in separated web process.
+ This option is enabled by adding a flag (S/separate-process) with launching
+ MiniBrowser.
+
+ * MiniBrowser/efl/main.c:
+ (elm_main):
+
2014-04-02 Carlos Garcia Campos <[email protected]>
[GTK] Move NEWS file to a new location
Modified: trunk/Tools/MiniBrowser/efl/main.c (166638 => 166639)
--- trunk/Tools/MiniBrowser/efl/main.c 2014-04-02 09:58:39 UTC (rev 166638)
+++ trunk/Tools/MiniBrowser/efl/main.c 2014-04-02 11:22:33 UTC (rev 166639)
@@ -55,6 +55,7 @@
static Eina_Bool spell_checking_enabled = EINA_FALSE;
static Eina_Bool touch_events_enabled = EINA_FALSE;
static Eina_Bool fixed_layout_enabled = EINA_FALSE;
+static Eina_Bool separated_process_enabled = EINA_FALSE;
static int window_width = 800;
static int window_height = 600;
/* Default value of device_pixel_ratio is '0' so that we don't set custom device
@@ -176,6 +177,8 @@
('L', "fixed-layout", "Enable/disable fixed layout.", EINA_FALSE),
ECORE_GETOPT_STORE_DEF_STR
('p', "policy-cookies", "Cookies policy:\n always - always accept,\n never - never accept,\n no-third-party - don't accept third-party cookies.", "no-third-party"),
+ ECORE_GETOPT_STORE_DEF_BOOL
+ ('S', "separate-process", "Create new window in separated web process.", EINA_TRUE),
ECORE_GETOPT_VERSION
('V', "version"),
ECORE_GETOPT_COPYRIGHT
@@ -1957,6 +1960,7 @@
ECORE_GETOPT_VALUE_BOOL(touch_events_enabled),
ECORE_GETOPT_VALUE_BOOL(fixed_layout_enabled),
ECORE_GETOPT_VALUE_STR(cookies_policy_string),
+ ECORE_GETOPT_VALUE_BOOL(separated_process_enabled),
ECORE_GETOPT_VALUE_BOOL(quitOption),
ECORE_GETOPT_VALUE_BOOL(quitOption),
ECORE_GETOPT_VALUE_BOOL(quitOption),
@@ -1986,8 +1990,12 @@
}
#endif
+ Ewk_Context *context = ewk_context_default_get();
+
+ if (separated_process_enabled)
+ ewk_context_process_model_set(context, EWK_PROCESS_MODEL_MULTIPLE_SECONDARY);
+
// Enable favicon database.
- Ewk_Context *context = ewk_context_default_get();
ewk_context_favicon_database_directory_set(context, NULL);
if (cookies_policy_string)