| 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 53%
|
| copy from chrome/browser/resources/chromeos/login/gaia_buttons.html
|
| copy to chrome/browser/resources/chromeos/login/oobe_buttons.html
|
| index 08a59c31fa4a3428e0a87516d44b4fbd37d91cd8..e3d1cf948165b60953f1db89f106135a30152aa2 100644
|
| --- a/chrome/browser/resources/chromeos/login/gaia_buttons.html
|
| +++ b/chrome/browser/resources/chromeos/login/oobe_buttons.html
|
| @@ -1,52 +1,43 @@
|
| -<!-- 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 button that shows a forward arrow, typically used for
|
| + navigating to the next page/screen.
|
|
|
| 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.
|
| --->
|
| -<dom-module id="gaia-button">
|
| - <link rel="stylesheet" href="gaia_button.css">
|
|
|
| + Example:
|
| + <oobe-next-button></oobe-next-button>
|
| +-->
|
| +<dom-module id="oobe-next-button">
|
| + <link rel="stylesheet" href="oobe_next_button.css">
|
| <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>
|
|
|
| <!--
|
| - Material desing icon button with a special styling.
|
| + Material design button that shows an icon.
|
|
|
| Example:
|
| - <gaia-icon-button icon="close"></gaia-icon>
|
| + <oobe-icon-button icon="close"></oobe-icon-button>
|
|
|
| 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">
|
| <template>
|
| <div on-click="onClick_" on-tap="onClick_">
|
| <paper-icon-button id="iconButton" icon="[[icon]]" disabled="[[disabled]]"
|
|
|