Support the orientation lock for Tizen 2.4 compatibility. 23/106523/10
authorYoungmin Yoo <youngmin.yoo@samsung.com>
Thu, 22 Dec 2016 04:29:37 +0000 (13:29 +0900)
committerSungsik Han <ss440.han@samsung.com>
Mon, 26 Dec 2016 07:23:41 +0000 (23:23 -0800)
commitcb897ea9e7955483620f8b7787644d07ce26a267
treed2621226f79f2b7e07646b6a784019524921812c
parent932c2606fc8949fda7fdc6d9e07470ac589d1c65
Support the orientation lock for Tizen 2.4 compatibility.

In Tizen 2.4 WebKit locking screen orientation was possible with WebAPI
screen.lockOrientation(). This WebAPI was deprecated and replaced with
screen.orientation.lock(). But for compatibility case Web Engine needs to support
old API.
So WRT also need to support the orientation lock for backward compatibility.

Releted web engine patch:
https://review.tizen.org/gerrit/#/c/106159/
https://review.tizen.org/gerrit/#/c/105156/

Bug : http://suprem.sec.samsung.net/jira/browse/TWF-2640
Bug : http://suprem.sec.samsung.net/jira/browse/TWF-2698

Change-Id: I4542929c731a4c5218cfccba3592562720d21e89
Signed-off-by: Youngmin Yoo <youngmin.yoo@samsung.com>
runtime/browser/web_application.cc
runtime/browser/web_application.h