diff options
author | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 11:10:04 +0000 |
---|---|---|
committer | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 11:10:04 +0000 |
commit | f4660c6b81a4c15196dd64295276955c86695897 (patch) | |
tree | 48de17950c7595681809061fd87f158989788e74 /chrome/app | |
parent | 1f58a75e4c31dc3e5cf557bfa2540a5052de317d (diff) | |
download | chromium_src-f4660c6b81a4c15196dd64295276955c86695897.zip chromium_src-f4660c6b81a4c15196dd64295276955c86695897.tar.gz chromium_src-f4660c6b81a4c15196dd64295276955c86695897.tar.bz2 |
Add chrome://nfc-debug for debugging NFC on Chrome OS.
Wrote a simple WebUI page that demonstrates the functionality of the NFC API
defined in device/nfc. This is primarily meant for testing and demo purposes.
BUG=336687
Review URL: https://codereview.chromium.org/131103007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/generated_resources.grd | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 225f0d2..b7c3a2d 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -15476,6 +15476,94 @@ Do you accept? </message> </if> + <!-- About NFC Debug UI display strings --> + <if expr="pp_ifdef('chromeos')"> + <message name="IDS_NFC_DEBUG_TITLE" desc="Title of the debug page meant for developers to test NFC functionality"> + NFC API Test Page + </message> + <message name="IDS_NFC_DEBUG_NOT_SUPPORTED" desc="Message shown if the NFC API is not supported on platform"> + NFC is not supported on the current platform. + </message> + <message name="IDS_NFC_DEBUG_ADAPTER_HEADER" desc="Header of the 'NFC Adapter' box, that shows the state of the NFC adapter"> + NFC Adapter + </message> + <message name="IDS_NFC_DEBUG_ADAPTER_POWER_ON" desc="Adapter power button text to turn the adapter on"> + Power ON + </message> + <message name="IDS_NFC_DEBUG_ADAPTER_POWER_OFF" desc="Adapter power button text to turn the adapter off"> + Power OFF + </message> + <message name="IDS_NFC_DEBUG_ADAPTER_START_POLL" desc="Adapter poll button text to start polling"> + Start Poll + </message> + <message name="IDS_NFC_DEBUG_ADAPTER_STOP_POLL" desc="Adapter poll button text to stop polling"> + Stop Poll + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_HEADER" desc="Header of the 'NFC NDEF message form' box used send a message to tag/peer"> + Push/Write NDEF Message + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_TYPE_TEXT" desc="NDEF message form dropdown menu item for message type 'Text'"> + Text + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_TYPE_URI" desc="NDEF message form dropdown menu item for message type 'URI'"> + URI + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_TYPE_SMART_POSTER" desc="NDEF message form dropdown menu text for message type 'SmartPoster'"> + SmartPoster + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_TEXT" desc="Label for required input field 'Text'"> + Text (required): + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_ENCODING" desc="Label for required input field 'Encoding'"> + Encoding (required): + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_LANGUAGE_CODE" desc="Label for required input field 'Language Code'"> + Language Code (required): + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_URI" desc="Label for required input field 'URI'"> + URI (required): + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_MIME_TYPE" desc="Label for input field 'MIME Type'"> + MIME Type: + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_TARGET_SIZE" desc="Label for input field 'Target Size'"> + Target Size: + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_TITLE_TEXT" desc="Label for required input field 'Title Text'"> + Title Text (required): + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_TITLE_ENCODING" desc="Label for required input field 'Title Encoding'"> + Title Encoding (required): + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_FIELD_TITLE_LANGUAGE_CODE" desc="Label for required input field 'Title Language Code'"> + Title Language Code (required): + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_WRITE_BUTTON" desc="NDEF message form button text for writing message to an NFC tag"> + Write to Tag + </message> + <message name="IDS_NFC_DEBUG_NDEF_FORM_PUSH_BUTTON" desc="NDEF message form button text for pushing a message to an NFC peer device"> + Push to Peer + </message> + <message name="IDS_NFC_DEBUG_NFC_PEER_HEADER" desc="Header of the 'NFC Peer' box"> + NDEF Peer + </message> + <message name="IDS_NFC_DEBUG_NFC_TAG_HEADER" desc="Header of the 'NFC Tag' box"> + NDEF Tag + </message> + <message name="IDS_NFC_DEBUG_RECORDS_HEADER" desc="Header of the 'Records' section in the tag and peer boxes"> + Records + </message> + <message name="IDS_NFC_DEBUG_ERROR_FAILED_TO_SET_POWER" desc="Error message shown when adapter power could not be set."> + Failed to set adapter power. + </message> + <message name="IDS_NFC_DEBUG_ERROR_FAILED_TO_SET_POLLING" desc="Error message shown when polling state could not be set."> + Failed to start/stop polling. + </message> + <message name="IDS_NFC_DEBUG_ERROR_FAILED_TO_SUBMIT_PREFIX" desc="Error message shown when an NDEF form could not be submitted."> + Failed to submit NDEF: + </message> + </if> + <!-- About power UI display strings --> <if expr="pp_ifdef('chromeos')"> <message name="IDS_ABOUT_POWER_TITLE" desc="Title of the page"> |