Commit e6968a62 by Takatoshi Miura

Merge branch 'communication/ABCOMM-654_pipMode' into 'develop'

[iOS]文書協業時のPIPモードを実装

See merge request !132
parents 9b280443 68eecddf
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<!-- フッター --> <!-- フッター -->
<div id="footer_collabo"></div> <div id="footer_collabo"></div>
<div id="loadingArea"></div> <div id="loadingArea"></div>
<div class="pip_indicator none"> <div class="pip_indicator none" onclick="finishPipMode();">
<div style="vertical-align: middle;display: table-cell;">協業中 <div style="vertical-align: middle;display: table-cell;">協業中
</div> </div>
</div> </div>
...@@ -120,8 +120,14 @@ ...@@ -120,8 +120,14 @@
function startPipMode() { function startPipMode() {
if (typeof(android) != "undefined") { if (typeof(android) != "undefined") {
android.startPipMode(); android.startPipMode();
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.startPipMode.postMessage({});
}
}
function finishPipMode() {
if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.finishPipMode.postMessage({});
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment