Initialize PlatformEventSource when creating first WebContentsViewEfl.
authorPiotr Tworek <p.tworek@samsung.com>
Thu, 9 Apr 2015 09:18:23 +0000 (11:18 +0200)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit9928f3ca89f03f98cab74038608dac6bc70f3ade
tree2e9877dd51c21e93f247b33b422335ce8cc11a70
parentd220b6a8a5254b99e97ffbb352839dff76a9b85d
Initialize PlatformEventSource when creating first WebContentsViewEfl.

In M42 we need to make sure PlatformEventSource object is initialized
somewhere. Aura port does it in aura::Env class. Since we're not using
aura in EFL port we have to do it ourselves.

WebContentsViewEfl is used by all the apps using chromium. Making sure
PlatformEventSource is initialized when the first instance of the class
is crated satisfies chromium requirements and also allows us to avoid
modifying chromium code.

Change-Id: I4dd6087a1b0fc0515023027cfb203b8817f1ce31
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
tizen_src/chromium_impl/content/browser/web_contents/web_contents_view_efl.cc