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

Side by Side Diff: third_party/polymer/v1_0/chromium.patch

Issue 1862213002: Roll third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 diff --git a/components-chromium/font-roboto/roboto.html b/components-chromium/f ont-roboto/roboto.html 1 diff --git a/components-chromium/font-roboto/roboto.html b/components-chromium/f ont-roboto/roboto.html
2 index 7a24999..4eefcba 100644 2 index 7a24999..4eefcba 100644
3 --- a/components-chromium/font-roboto/roboto.html 3 --- a/components-chromium/font-roboto/roboto.html
4 +++ b/components-chromium/font-roboto/roboto.html 4 +++ b/components-chromium/font-roboto/roboto.html
5 @@ -7,5 +7,4 @@ The complete set of contributors may be found at http://polymer. github.io/CONTRI 5 @@ -7,5 +7,4 @@ The complete set of contributors may be found at http://polymer. github.io/CONTRI
6 Code distributed by Google as part of the polymer project is also 6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATE NTS.txt 7 subject to an additional IP rights grant found at http://polymer.github.io/PATE NTS.txt
8 --> 8 -->
9 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400 ,300,300italic,400italic,500,500italic,700,700italic"> 9 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400 ,300,300italic,400italic,500,500italic,700,700italic">
10 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mon o:400,700"> 10 -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mon o:400,700">
11 +<link rel="stylesheet" href="chrome://resources/css/roboto.css"> 11 +<link rel="stylesheet" href="chrome://resources/css/roboto.css">
12 diff --git a/components-chromium/polymer/polymer-extracted.js b/components-chrom ium/polymer/polymer-extracted.js 12 diff --git a/components-chromium/polymer/polymer-extracted.js b/components-chrom ium/polymer/polymer-extracted.js
13 index baf9ab3..985fe6c 100644 13 index baf9ab3..985fe6c 100644
14 --- a/components-chromium/polymer/polymer-extracted.js 14 --- a/components-chromium/polymer/polymer-extracted.js
15 +++ b/components-chromium/polymer/polymer-extracted.js 15 +++ b/components-chromium/polymer/polymer-extracted.js
16 @@ -2157,8 +2157,7 @@ _hasMixinRules: function (rules) { 16 @@ -2157,8 +2157,7 @@ _hasMixinRules: function (rules) {
17 return rules[0].selector.indexOf(this.VAR_START) >= 0; 17 return rules[0].selector.indexOf(this.VAR_START) >= 0;
18 }, 18 },
19 removeCustomProps: function (cssText) { 19 removeCustomProps: function (cssText) {
20 -cssText = this.removeCustomPropAssignment(cssText); 20 -cssText = this.removeCustomPropAssignment(cssText);
21 -return this.removeCustomPropApply(cssText); 21 -return this.removeCustomPropApply(cssText);
22 +return cssText; 22 +return cssText;
23 }, 23 },
24 removeCustomPropAssignment: function (cssText) { 24 removeCustomPropAssignment: function (cssText) {
25 return cssText.replace(this._rx.customProp, '').replace(this._rx.mixinProp, '') ; 25 return cssText.replace(this._rx.customProp, '').replace(this._rx.mixinProp, '') ;
26 diff --git a/components-chromium/paper-input/paper-input-addon-behavior-extracte d.js b/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
27 index d3e469c2..94313dd 100644
28 --- a/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
29 +++ b/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
30 @@ -17,10 +17,10 @@
31 /**
32 * The function called by `<paper-input-container>` when the input value or validity changes.
33 * @param {{
34 - * inputElement: (Node|undefined),
35 + * inputElement: (Element|undefined),
36 * value: (string|undefined),
37 - * invalid: (boolean|undefined)
38 - * }} state All properties are optional -
39 + * invalid: boolean
40 + * }} state -
41 * inputElement: The input element.
42 * value: The input value.
43 * invalid: True if the input value is invalid.
44 @@ -28,4 +28,4 @@
45 update: function(state) {
46 }
47
48 - };
49 \ No newline at end of file
50 + };
51 diff --git a/components-chromium/paper-input/paper-input-char-counter-extracted. js b/comp
52 onents-chromium/paper-input/paper-input-char-counter-extracted.js
53 index 6577627..e5bb409 100644
54 --- a/components-chromium/paper-input/paper-input-char-counter-extracted.js
55 +++ b/components-chromium/paper-input/paper-input-char-counter-extracted.js
56 @@ -12,6 +12,17 @@ Polymer({
57 }
58 },
59
60 + /**
61 + * This overrides the update function in PaperInputAddonBehavior.
62 + * @param {{
63 + * inputElement: (Element|undefined),
64 + * value: (string|undefined),
65 + * invalid: boolean
66 + * }} state -
67 + * inputElement: The input element.
68 + * value: The input value.
69 + * invalid: True if the input value is invalid.
70 + */
71 update: function(state) {
72 if (!state.inputElement) {
73 return;
74 @@ -20,11 +31,11 @@ Polymer({
75 state.value = state.value || '';
76
77 - var counter = state.value.length;
78 + var counter = state.value.length.toString();
79
80 if (state.inputElement.hasAttribute('maxlength')) {
81 counter += '/' + state.inputElement.getAttribute('maxlength');
82 }
83
84 this._charCounterStr = counter;
85 }
86 - });
87 \ No newline at end of file
88 + });
89 diff --git a/components-chromium/paper-input/paper-input-error-extracted.js b/co mponents-chromium/paper-input/paper-input-error-extracted.js
90 index ac6fe00..fb45601 100644
91 --- a/components-chromium/paper-input/paper-input-error-extracted.js
92 +++ b/components-chromium/paper-input/paper-input-error-extracted.js
93 @@ -16,7 +16,18 @@ Polymer({
94 }
95 },
96
97 + /**
98 + * This overrides the update function in PaperInputAddonBehavior.
99 + * @param {{
100 + * inputElement: (Element|undefined),
101 + * value: (string|undefined),
102 + * invalid: boolean
103 + * }} state -
104 + * inputElement: The input element.
105 + * value: The input value.
106 + * invalid: True if the input value is invalid.
107 + */
108 update: function(state) {
109 this._setInvalid(state.invalid);
110 }
111 - });
112 \ No newline at end of file
113 + });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698