Changeset 176514 in webkit
- Timestamp:
- Nov 24, 2014, 3:30:55 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
-
Source/WebKit2/ChangeLog (modified) (1 diff)
-
Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp (modified) (3 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/efl/jhbuild-optional.modules (added)
-
Tools/efl/jhbuild.modules (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r176513 r176514 1 2014-11-24 Krzysztof Czech <k.czech@samsung.com> 2 3 [EFL] Utilize Eail library to support accessibility in EFL 4 https://bugs.webkit.org/show_bug.cgi?id=137742 5 6 Reviewed by Gyuyoung Kim. 7 8 Initialize EAIL module so that all the listeners and atk-bridge started properly. 9 Dynamic loading of EAIL help us to avoid elementary dependencies in WebKit. 10 11 * WebProcess/efl/WebProcessMainEfl.cpp: 12 (eailLibraryPath): reads path provided by ACCESSIBILITY_EAIL_LIBRARY_PATH variable. 13 (eail): 14 1 15 2014-11-24 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp
r172371 r176514 35 35 #include <WebCore/SoupNetworkSession.h> 36 36 #include <libsoup/soup.h> 37 38 #if HAVE(ACCESSIBILITY) 39 #include "Module.h" 40 /* 41 * This should be defined and filled in elementary but to avoid undefined reference it's defined here. 42 * Setting this variable to nullptr will not cause any trouble to webkit and eail as well. 43 */ 44 Eina_List* _elm_win_list = nullptr; 45 46 typedef int (*EailFunction)(void*); 47 48 static char* eailLibraryPath() 49 { 50 return getenv("ACCESSIBILITY_EAIL_LIBRARY_PATH"); 51 } 52 53 static WebKit::Module& eail() 54 { 55 static NeverDestroyed<WebKit::Module> eail(eailLibraryPath()); 56 return eail; 57 } 58 #endif 37 59 38 60 #ifdef HAVE_ECORE_X … … 99 121 return false; 100 122 123 #if HAVE(ACCESSIBILITY) 124 // Initialize EAIL module (adding listeners, init atk-bridge) 125 if (eail().load()) { 126 if (EailFunction eailInit = eail().functionPointer<EailFunction>("elm_modapi_init")) 127 eailInit(nullptr); 128 } 129 #endif 130 101 131 SoupNetworkSession::defaultSession().setupHTTPProxyFromEnvironment(); 102 132 return true; … … 117 147 ecore_shutdown(); 118 148 eina_shutdown(); 149 150 #if HAVE(ACCESSIBILITY) 151 if (EailFunction eailShutdown = eail().functionPointer<EailFunction>("elm_modapi_shutdown")) 152 eailShutdown(nullptr); 153 #endif 119 154 } 120 155 }; -
trunk/Tools/ChangeLog
r176513 r176514 1 2014-11-24 Krzysztof Czech <k.czech@samsung.com> 2 3 [EFL] Utilize Eail library to support accessibility in EFL 4 https://bugs.webkit.org/show_bug.cgi?id=137742 5 6 Reviewed by Gyuyoung Kim. 7 8 Eail, atk-bridge, at-spi2 are not mandatory modules for webkit-efl. They are rather optional. 9 10 * efl/jhbuild-optional.modules: Added. 11 * efl/jhbuild.modules: 12 1 13 2014-11-24 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Tools/efl/jhbuild.modules
r176196 r176514 26 26 </dependencies> 27 27 </metamodule> 28 29 <include href="jhbuild-optional.modules"/> 28 30 29 31 <repository type="tarball" name="github.com"
Note:
See TracChangeset
for help on using the changeset viewer.