Fix invisible webview issue 10/146110/8
authorSanghyup Lee <sh53.lee@samsung.com>
Fri, 25 Aug 2017 04:26:45 +0000 (04:26 +0000)
committerSungsik Han <ss440.han@samsung.com>
Tue, 12 Sep 2017 05:01:02 +0000 (05:01 +0000)
We should make NativeView visible with evas_object_show.

Change-Id: I947c34c43fcb4401654475a6c26dfe58264e719a
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
atom/browser/native_window_efl.cc

index de63057..7b76bfb 100644 (file)
@@ -81,6 +81,7 @@ void NativeWindowEfl::Show() {
   if (!window_ || !web_view_)
     LOG(ERROR) << "There's no available window or webview.";
   evas_object_show(window_);
+  evas_object_show(web_view_);
 }
 
 void NativeWindowEfl::ShowInactive() {
@@ -88,6 +89,7 @@ void NativeWindowEfl::ShowInactive() {
 }
 
 void NativeWindowEfl::Hide() {
+  evas_object_hide(web_view_);
   evas_object_hide(window_);
 }