Chromium Code Reviews| Index: chrome/browser/resources/chromeos/login/oobe_buttons.html |
| diff --git a/chrome/browser/resources/chromeos/login/gaia_buttons.html b/chrome/browser/resources/chromeos/login/oobe_buttons.html |
| similarity index 56% |
| copy from chrome/browser/resources/chromeos/login/gaia_buttons.html |
| copy to chrome/browser/resources/chromeos/login/oobe_buttons.html |
| index 08a59c31fa4a3428e0a87516d44b4fbd37d91cd8..21ec44e677cbff1347eb0130da9703d996fc0b42 100644 |
| --- a/chrome/browser/resources/chromeos/login/gaia_buttons.html |
| +++ b/chrome/browser/resources/chromeos/login/oobe_buttons.html |
| @@ -1,35 +1,27 @@ |
| -<!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| +<!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. --> |
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-fab/paper-fab.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html"> |
| -<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| <!-- |
| - Material design buttons that mimic GAIA's buttons. |
| - |
| - Example: |
| - <gaia-button type="dialog"></gaia-button> |
| + Material design buttons for OOBE screens. |
| Attributes: |
| - 'type' - there are three kinds of button: regular blue button (none type |
| - provided), dialog button (type="dialog") and a button that looks |
| - more like a link (type="link"). |
| 'disabled' - button is disabled when the attribute is set. |
| + |
| + Example: |
| + <oobe-button type="dialog"></oobe-button> |
| --> |
| -<dom-module id="gaia-button"> |
| - <link rel="stylesheet" href="gaia_button.css"> |
| +<dom-module id="oobe-button-next"> |
| + <link rel="stylesheet" href="oobe_button.css"> |
|
jdufault
2016/05/11 22:07:43
Linked stylesheets are deprecated. Maybe inline th
Alexander Alekseev
2016/05/13 20:52:34
Done.
dzhioev_at_google
2016/05/25 01:01:32
Linked stylesheets are OK in Chrome code, because
|
| <template> |
| - <div on-click="onClick_" on-tap="onClick_"> |
| - <paper-button id="button" disabled="[[disabled]]" |
| - on-focused-changed="focusedChanged_"> |
| - <content></content> |
| - </paper-button> |
| - </div> |
| + <paper-fab icon="arrow-forward" disabled="[[disabled]]"></paper-fab> |
| </template> |
| </dom-module> |
| @@ -37,15 +29,15 @@ |
| Material desing icon button with a special styling. |
| Example: |
| - <gaia-icon-button icon="close"></gaia-icon> |
| + <oobe-icon-button icon="close"></oobe-icon> |
| Attributes: |
| 'icon' - a name of icon from material design set to show on button. |
| 'disabled' - button is disabled when the attribute is set. |
| 'aria-label' - accessibility label. |
| --> |
| -<dom-module id="gaia-icon-button"> |
| - <link rel="stylesheet" href="gaia_icon_button.css"> |
| +<dom-module id="oobe-icon-button"> |
| + <link rel="stylesheet" href="oobe_icon_button.css"> |
|
jdufault
2016/05/11 22:07:43
Inline the css?
Alexander Alekseev
2016/05/13 20:52:34
Done.
|
| <template> |
| <div on-click="onClick_" on-tap="onClick_"> |