Change-Id: I9039c903c3b069942e6ef6fbaa8abb7764e24643
Signed-off-by: Seongjun Yim <se201.yim@samsung.com>
}
pImpl->SetOrientationChanged(false);
+
+ int orientation = 0;
+ _ControlRotation rotation = _ControlManager::GetInstance()->GetOrientationStatus();
+ switch (rotation)
+ {
+ case _CONTROL_ROTATION_0:
+ orientation = 0;
+ break;
+ case _CONTROL_ROTATION_90:
+ orientation = 90;
+ break;
+ case _CONTROL_ROTATION_180:
+ orientation = 180;
+ break;
+ case _CONTROL_ROTATION_270:
+ orientation = -90;
+ break;
+ }
+ ewk_view_orientation_send(pView, orientation);
+
OnWebPageBlockSelected(pUserData, pView, pEventInfo);
}