diff options
author | lambroslambrou <lambroslambrou@chromium.org> | 2015-10-23 18:05:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-24 01:06:19 +0000 |
commit | 1d264d6e25dc627440335aef47e5938b4a537b14 (patch) | |
tree | d833a5cc8097b059e1db0368ac3a7781efb393d3 /remoting/resources | |
parent | 4cd5e918073b3c5e3d5842d103f94fc6de3aaf25 (diff) | |
download | chromium_src-1d264d6e25dc627440335aef47e5938b4a537b14.zip chromium_src-1d264d6e25dc627440335aef47e5938b4a537b14.tar.gz chromium_src-1d264d6e25dc627440335aef47e5938b4a537b14.tar.bz2 |
Android Chromoting: Add first-time dialog for Cardboard view.
This shows an interstitial dialog when the user chooses Cardboard mode
for the first time. This warns the user that a Cardboard device is
needed to use this mode, and provides the option to cancel or proceed.
This also moves the Cardboard button out of the toolbar and into the
overflow menu.
BUG=516871
Review URL: https://codereview.chromium.org/1422853002
Cr-Commit-Position: refs/heads/master@{#355945}
Diffstat (limited to 'remoting/resources')
-rw-r--r-- | remoting/resources/remoting_strings.grd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/resources/remoting_strings.grd b/remoting/resources/remoting_strings.grd index ec19914..46b6998 100644 --- a/remoting/resources/remoting_strings.grd +++ b/remoting/resources/remoting_strings.grd @@ -562,7 +562,10 @@ <if expr="is_android or is_ios"> <message desc="Pressing this button switches the view of the remote desktop to a Virtual Reality representation which is compatible with Google Cardboard." name="IDS_SHOW_CARDBOARD" formatter_data="android_java"> - Show Cardboard view. + Show Cardboard view + </message> + <message desc="This message is shown in a dialog to warn the user they are about to switch to a Virtual Reality view which will not function properly unless the user has a Google Cardboard compatible device." name="IDS_CARDBOARD_WARNING_MESSAGE" formatter_data="android_java"> + You have enabled Google Cardboard integration mode. To use this mode, insert your device into a Google Cardboard-compatible viewer. </message> <message desc="Button to show or hide the on-screen keyboard." name="IDS_SHOW_HIDE_KEYBOARD" formatter_data="android_java"> Show/hide keyboard. |