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

Unified Diff: third_party/polymer/v0_8/components-chromium/paper-checkbox/paper-checkbox.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-checkbox/paper-checkbox.html
diff --git a/third_party/polymer/v0_8/components-chromium/paper-checkbox/paper-checkbox.html b/third_party/polymer/v0_8/components-chromium/paper-checkbox/paper-checkbox.html
deleted file mode 100644
index 873a937ca91080f420a3f96662a00fd2cb8ef245..0000000000000000000000000000000000000000
--- a/third_party/polymer/v0_8/components-chromium/paper-checkbox/paper-checkbox.html
+++ /dev/null
@@ -1,72 +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-styles/default-theme.html">
-<link rel="import" href="../paper-behaviors/paper-radio-button-behavior.html">
-
-<!--
-
-`paper-checkbox` is a button that can be either checked or unchecked. User
-can tap the checkbox to check or uncheck it. Usually you use checkboxes
-to allow user to select multiple options from a set. If you have a single
-ON/OFF option, avoid using a single checkbox and use `paper-toggle-button`
-instead.
-
-Example:
-
- <paper-checkbox>label</paper-checkbox>
-
- <paper-checkbox checked> label</paper-checkbox>
-
-### Styling
-
-The following custom properties and mixins are available for styling:
-
-Custom property | Description | Default
-----------------|-------------|----------
-`--paper-checkbox-unchecked-color` | Checkbox color when the input is not checked | `--primary-text-color`
-`--paper-checkbox-unchecked-ink-color` | Selected/focus ripple color when the input is not checked | `--primary-text-color`
-`--paper-checkbox-checked-color` | Checkbox color when the input is checked | `--default-primary-color`
-`--paper-checkbox-checked-ink-color` | Selected/focus ripple color when the input is checked | `--default-primary-color`
-`--paper-checkbox-label-color` | Label color | `--primary-text-color`
-
-@demo demo/index.html
--->
-
-<style is="custom-style">
- :root {
- --paper-checkbox-unchecked-color: var(--primary-text-color);
- --paper-checkbox-unchecked-ink-color: var(--primary-text-color);
-
- --paper-checkbox-checked-color: var(--default-primary-color);
- --paper-checkbox-checked-ink-color: var(--default-primary-color);
-
- --paper-checkbox-label-color: var(--primary-text-color);
- }
-</style>
-
-</head><body><dom-module id="paper-checkbox">
- <link rel="import" type="css" href="paper-checkbox.css">
-
- <template>
-
- <div id="checkboxContainer">
- <paper-ripple id="ink" class="circle" center="" checked$="[[checked]]"></paper-ripple>
- <div id="checkbox" class$="[[_computeCheckboxClass(checked)]]">
- <div id="checkmark" class$="[[_computeCheckmarkClass(checked)]]"></div>
- </div>
- </div>
-
- <div id="checkboxLabel" aria-hidden="true"><content></content></div>
-
- </template>
-
- </dom-module>
-<script src="paper-checkbox-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698