Terminate properly when triggering hardware back key event 92/113092/2
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 6 Feb 2017 04:09:15 +0000 (13:09 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 6 Feb 2017 05:19:47 +0000 (14:19 +0900)
commitab93561c683c7e1e58ca49d6be8d6640ff3dd58b
treebec062333d9fae27c8fde53e9417b6da9ca08925
parentb56b1cfcb9d2aa23ca643643346d2965d2269c99
Terminate properly when triggering hardware back key event

Termination should not be done when there are multiple webviews and
hardware back key event is triggered for page navigation.
The termination needs to be done only if there is one webview on view stack.

This CL adds condition for the checking webview count.

PLM: P170125-05834
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2951

Change-Id: I6d4056c46a0c9999d068d1dd4c14d4f4793457a0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
runtime/browser/web_application.cc