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

Unified Diff: third_party/polymer/v0_8/components-chromium/paper-toggle-button/paper-toggle-button.html

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v0_8/components-chromium/paper-toggle-button/paper-toggle-button.html
diff --git a/third_party/polymer/v0_8/components-chromium/paper-toggle-button/paper-toggle-button.html b/third_party/polymer/v0_8/components-chromium/paper-toggle-button/paper-toggle-button.html
deleted file mode 100644
index dca8ed24fb2e1fb6ef4348a684845f3d02781d87..0000000000000000000000000000000000000000
--- a/third_party/polymer/v0_8/components-chromium/paper-toggle-button/paper-toggle-button.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<!--
-@license
-Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
-This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
-The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
-The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
-Code distributed by Google as part of the polymer project is also
-subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
---><html><head><link rel="import" href="../polymer/polymer.html">
-<link rel="import" href="../paper-ripple/paper-ripple.html">
-<link rel="import" href="../paper-behaviors/paper-radio-button-behavior.html">
-
-<!--
-`paper-toggle-button` provides a ON/OFF switch that user can toggle the state
-by tapping or by dragging the switch.
-
-Example:
-
- <paper-toggle-button></paper-toggle-button>
-
-### Styling
-
-The following custom properties and mixins are available for styling:
-
-Custom property | Description | Default
-----------------|-------------|----------
-`--paper-toggle-button-unchecked-bar-color` | Slider color when the input is not checked | `#000000`
-`--paper-toggle-button-unchecked-button-color` | Button color when the input is not checked | `--paper-grey-50`
-`--paper-toggle-button-unchecked-ink-color` | Selected/focus ripple color when the input is not checked | `--dark-primary-color`
-`--paper-toggle-button-checked-bar-color` | Slider button color when the input is checked | `--google-green-500`
-`--paper-toggle-button-checked-button-color` | Button color when the input is checked | `--google-green-500`
-`--paper-toggle-button-checked-ink-color` | Selected/focus ripple color when the input is checked | `--google-green-500`
-
-@group Paper Elements
-@element paper-toggle-button
-@hero hero.svg
-@demo demo/index.html
--->
-<style is="custom-style">
- :root {
- --paper-toggle-button-unchecked-bar-color: #000000;
- --paper-toggle-button-unchecked-button-color: var(--paper-grey-50);
- --paper-toggle-button-unchecked-ink-color: var(--dark-primary-color);
-
- --paper-toggle-button-checked-bar-color: var(--google-green-500);
- --paper-toggle-button-checked-button-color: var(--google-green-500);
- --paper-toggle-button-checked-ink-color: var(--google-green-500);
- }
-</style>
-
-</head><body><dom-module id="paper-toggle-button">
-
- <link rel="import" type="css" href="paper-toggle-button.css">
-
- <template>
-
- <div id="toggleContainer">
- <div id="toggleBar" class="toggle-bar"></div>
- <div id="toggleButton" class="toggle-button">
- <paper-ripple id="ink" class="toggle-ink circle" recenters=""></paper-ripple>
- </div>
- </div>
-
- </template>
-
- </dom-module>
-<script src="paper-toggle-button-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698