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

Unified Diff: third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html

Issue 1187823002: Update Polymer components and re-run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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/v1_0/components/paper-checkbox/paper-checkbox.html
diff --git a/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html b/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html
index 2deb9a80170d8a4e4103ee4875fd8eb8f598dec3..ee40cf9ef0574ba43802ab119de3b866584e1c58 100644
--- a/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html
+++ b/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html
@@ -11,7 +11,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<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">
+<link rel="import" href="../paper-behaviors/paper-inky-focus-behavior.html">
<!--
@@ -42,18 +42,6 @@ Custom property | Description | Default
@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>
-
<dom-module id="paper-checkbox">
<link rel="import" type="css" href="paper-checkbox.css">
@@ -75,7 +63,7 @@ Custom property | Description | Default
is: 'paper-checkbox',
behaviors: [
- Polymer.PaperRadioButtonBehavior
+ Polymer.PaperInkyFocusBehavior
],
hostAttributes: {
@@ -148,12 +136,14 @@ Custom property | Description | Default
if (checked) {
return 'checked';
}
+ return '';
},
_computeCheckmarkClass: function(checked) {
if (!checked) {
return 'hidden';
}
+ return '';
}
})
</script>

Powered by Google App Engine
This is Rietveld 408576698