summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 16:54:12 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 16:54:12 +0000
commit11da0c8d10cc58194f07b48b428ed16d14b08f9d (patch)
tree7432a1bec260e2008e711b4bc31861024f57ae71
parentab1b5077814a2361c6267f2282060d2c7e963ab0 (diff)
downloadchromium_src-11da0c8d10cc58194f07b48b428ed16d14b08f9d.zip
chromium_src-11da0c8d10cc58194f07b48b428ed16d14b08f9d.tar.gz
chromium_src-11da0c8d10cc58194f07b48b428ed16d14b08f9d.tar.bz2
Added autofocus behaviour.
BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8165008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104501 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--remoting/webapp/me2mom/choice.html17
1 files changed, 12 insertions, 5 deletions
diff --git a/remoting/webapp/me2mom/choice.html b/remoting/webapp/me2mom/choice.html
index 4dd6a97..e5917d6 100644
--- a/remoting/webapp/me2mom/choice.html
+++ b/remoting/webapp/me2mom/choice.html
@@ -109,8 +109,10 @@ found in the LICENSE file.
<div data-ui-mode="host.unshared">
<div class="description" i18n-content="DESCRIPTION_SHARE"></div>
<div class="centered-button">
- <button id="share-button" class="big-button"
- type="button" onclick="remoting.tryShare();"
+ <button class="big-button"
+ type="button"
+ onclick="remoting.tryShare();"
+ autofocus="autofocus"
i18n-content="SHARE_BUTTON"></button>
</div>
</div> <!-- host.unshared -->
@@ -151,7 +153,9 @@ found in the LICENSE file.
<div class="centered-button"
data-ui-mode="host.share-failed host.share-finished">
- <button type="button" class="big-button"
+ <button type="button"
+ class="big-button"
+ autofocus="autofocus"
onclick="remoting.setMode('host.unshared');"
i18n-content="OK">
</button>
@@ -167,7 +171,7 @@ found in the LICENSE file.
<div id="access-code-entry-row">
<form action="" onsubmit="remoting.tryConnect(); return false;">
<label for="access-code-entry" i18n-content="ACCESS_CODE"></label>
- <input id="access-code-entry" type="text"/>
+ <input id="access-code-entry" type="text" autofocus="autofocus"/>
<button id="connect-button" class="big-button"
type="submit" i18n-content="CONNECT_BUTTON"></button>
</form>
@@ -194,7 +198,10 @@ found in the LICENSE file.
<div data-ui-mode="client.connect-failed client.session-finished"
class="centered-button">
- <button type="button" class="big-button" i18n-content="OK"
+ <button type="button"
+ class="big-button"
+ i18n-content="OK"
+ autofocus="autofocus"
onclick="remoting.setMode(
remoting.AppMode.CLIENT_UNCONNECTED);">
</button>