Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_buttons.html

Issue 2501593002: ChromeOS OOBE: Fix keyboard focusing of OOBE buttons. (Closed)
Patch Set: Rebased. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_text_button.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. --> 3 found in the LICENSE file. -->
4 4
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i conset-svg.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i conset-svg.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-fab/paper-fab.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-fab/paper-fab.htm l">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 Attributes: 33 Attributes:
34 'disabled' - button is disabled when the attribute is set. 34 'disabled' - button is disabled when the attribute is set.
35 'inverse' - makes text white and background blue 35 'inverse' - makes text white and background blue
36 --> 36 -->
37 <dom-module id="oobe-text-button"> 37 <dom-module id="oobe-text-button">
38 <link rel="stylesheet" href="oobe_text_button.css"> 38 <link rel="stylesheet" href="oobe_text_button.css">
39 <template> 39 <template>
40 <paper-button id="textButton" on-tap="onClick_" disabled="[[disabled]]" 40 <paper-button id="textButton" on-tap="onClick_" disabled="[[disabled]]"
41 inverse$="[[inverse]]"> 41 inverse$="[[inverse]]">
42 <content></content> 42 <div id="container"
43 class="flex layout horizontal center center-justified self-stretch">
44 <content></content>
45 </div>
43 </paper-button> 46 </paper-button>
44 </template> 47 </template>
45 </dom-module> 48 </dom-module>
46 49
47 <!-- 50 <!--
48 Material design square "<- Back" button. 51 Material design square "<- Back" button.
49 Text is blue, background is white. 52 Text is blue, background is white.
50 53
51 Example: 54 Example:
52 <oobe-back-button on-tap="handleOnTap_"> 55 <oobe-back-button on-tap="handleOnTap_">
(...skipping 22 matching lines...) Expand all
75 <div i18n-content="oobeCloseButtonText"></div> 78 <div i18n-content="oobeCloseButtonText"></div>
76 </oobe-welcome-secondary-button> 79 </oobe-welcome-secondary-button>
77 80
78 Attributes: 81 Attributes:
79 'icon' - a name of icon from material design set to show on button. 82 'icon' - a name of icon from material design set to show on button.
80 'aria-label' - accessibility label. 83 'aria-label' - accessibility label.
81 --> 84 -->
82 <dom-module id="oobe-welcome-secondary-button"> 85 <dom-module id="oobe-welcome-secondary-button">
83 <link rel="stylesheet" href="oobe_welcome_secondary_button.css"> 86 <link rel="stylesheet" href="oobe_welcome_secondary_button.css">
84 <template> 87 <template>
85 <paper-button id="container" class="layout horizontal center" 88 <paper-button id="button" aria-label="[[ariaLabel]]">
86 aria-label="[[ariaLabel]]"> 89 <div id="container" class="flex layout vertical center self-stretch">
87 <iron-icon icon="[[icon]]" class="oobe-icon"></iron-icon> 90 <div id="subcontainer"
88 <content></content> 91 class="flex layout horizontal center self-stretch">
92 <iron-icon icon="[[icon]]" class="oobe-icon"></iron-icon>
93 <content></content>
94 </div>
95 </div>
89 </paper-button> 96 </paper-button>
90 </template> 97 </template>
91 </dom-module> 98 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_text_button.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698