| Index: chrome/browser/resources/settings/people_page/change_picture.html
|
| diff --git a/chrome/browser/resources/settings/people_page/change_picture.html b/chrome/browser/resources/settings/people_page/change_picture.html
|
| index 68e1675ac651635cf4f4d320a99834ba6f403476..e80f9a3cd394e6bd95c67656f3d047ec3d8f5a84 100644
|
| --- a/chrome/browser/resources/settings/people_page/change_picture.html
|
| +++ b/chrome/browser/resources/settings/people_page/change_picture.html
|
| @@ -1,5 +1,6 @@
|
| <link rel="import" href="chrome://resources/html/i18n_behavior.html">
|
| <link rel="import" href="chrome://resources/html/util.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11y-keys.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-selector.html">
|
| @@ -14,7 +15,10 @@
|
| <link rel="import" type="css" href="change_picture.css">
|
| <template>
|
| <div id="container" class="settings-box">
|
| - <div id="availableIcons" class="start">
|
| + <iron-a11y-keys keys="up down left right space enter"
|
| + on-keys-pressed="onKeysPress_">
|
| + </iron-a11y-keys>
|
| + <div id="availableIcons" class="start" tabindex="0">
|
| <iron-selector id="selector" on-iron-activate="onImageActivate_"
|
| selected-item="{{selectedItem_}}">
|
| <iron-icon id="cameraImage" data-type="camera" icon="image:camera-alt"
|
| @@ -51,7 +55,7 @@
|
| i18n-values="title:discardPhoto" on-tap="onTapDiscardOldImage_">
|
| </paper-icon-button>
|
| </div>
|
| - <settings-camera
|
| + <settings-camera id="camera"
|
| camera-active="[[isCameraActive_(cameraPresent_, selectedItem_)]]"
|
| on-phototaken="onPhotoTaken_">
|
| </div>
|
|
|