diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-01-29 16:35:13 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-02-01 15:33:35 +0000 |
commit | c8c2d1901aec01e934adf561a9fdf0cc776cdef8 (patch) | |
tree | 9157c3d9815e5870799e070b113813bec53e0535 /chromium/third_party/polymer | |
parent | abefd5095b41dac94ca451d784ab6e27372e981a (diff) | |
download | qtwebengine-chromium-c8c2d1901aec01e934adf561a9fdf0cc776cdef8.tar.gz |
BASELINE: Update Chromium to 64.0.3282.139
Change-Id: I1cae68fe9c94ff7608b26b8382fc19862cdb293a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/third_party/polymer')
69 files changed, 929 insertions, 449 deletions
diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-announcer/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-announcer/BUILD.gn new file mode 100644 index 00000000000..37b9390cea0 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-announcer/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-a11y-announcer-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-keys-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-keys-behavior/BUILD.gn new file mode 100644 index 00000000000..05a3fc0ed4b --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-keys-behavior/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-a11y-keys-behavior-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-keys/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-keys/BUILD.gn new file mode 100644 index 00000000000..d8d6a960bf7 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-a11y-keys/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-a11y-keys-extracted") { + deps = [ + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/BUILD.gn new file mode 100644 index 00000000000..9f1a5be2fcb --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/BUILD.gn @@ -0,0 +1,15 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-autogrow-textarea-extracted") { + deps = [ + "../iron-behaviors:iron-control-state-extracted", + "../iron-form-element-behavior:iron-form-element-behavior-extracted", + "../iron-validatable-behavior:iron-validatable-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html b/chromium/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html index aac2019efaa..5c634ae9d2e 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html @@ -44,7 +44,6 @@ Custom property | Description | Default width: 400px; border: 1px solid; padding: 2px; - -moz-appearance: textarea; -webkit-appearance: textarea; overflow: hidden; } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-behaviors/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-behaviors/BUILD.gn new file mode 100644 index 00000000000..57d01b6797a --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-behaviors/BUILD.gn @@ -0,0 +1,17 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-button-state-extracted") { + deps = [ + ":iron-control-state-extracted", + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + ] +} + +js_library("iron-control-state-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/BUILD.gn new file mode 100644 index 00000000000..9d59fc4fcb2 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/BUILD.gn @@ -0,0 +1,14 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-checked-element-behavior-extracted") { + deps = [ + "../iron-form-element-behavior:iron-form-element-behavior-extracted", + "../iron-validatable-behavior:iron-validatable-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-collapse/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-collapse/BUILD.gn new file mode 100644 index 00000000000..0e400070416 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-collapse/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-collapse-extracted") { + deps = [ + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-dropdown/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-dropdown/BUILD.gn new file mode 100644 index 00000000000..60a823f64e2 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-dropdown/BUILD.gn @@ -0,0 +1,22 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-dropdown-extracted") { + deps = [ + ":iron-dropdown-scroll-manager-extracted", + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + "../iron-behaviors:iron-control-state-extracted", + "../iron-overlay-behavior:iron-overlay-behavior-extracted", + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + "../neon-animation:neon-animation-runner-behavior-extracted", + "../neon-animation/animations:opaque-animation-extracted", + ] +} + +js_library("iron-dropdown-scroll-manager-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-fit-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-fit-behavior/BUILD.gn new file mode 100644 index 00000000000..3f3e63dc8d9 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-fit-behavior/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-fit-behavior-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout-classes.html b/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout-classes.html index d382652b717..aebe1a25db0 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout-classes.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout-classes.html @@ -37,66 +37,45 @@ The following imports are available: <style> .layout.horizontal, .layout.vertical { - display: -ms-flexbox; - display: -webkit-flex; display: flex; } .layout.inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; display: inline-flex; } .layout.horizontal { - -ms-flex-direction: row; - -webkit-flex-direction: row; flex-direction: row; } .layout.vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; flex-direction: column; } .layout.wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; flex-wrap: wrap; } .layout.center, .layout.center-center { - -ms-flex-align: center; - -webkit-align-items: center; align-items: center; } .layout.center-justified, .layout.center-center { - -ms-flex-pack: center; - -webkit-justify-content: center; justify-content: center; } .flex { - -ms-flex: 1 1 0.000000001px; - -webkit-flex: 1; flex: 1; - -webkit-flex-basis: 0.000000001px; flex-basis: 0.000000001px; } .flex-auto { - -ms-flex: 1 1 auto; - -webkit-flex: 1 1 auto; flex: 1 1 auto; } .flex-none { - -ms-flex: none; - -webkit-flex: none; flex: none; } </style> @@ -109,26 +88,18 @@ The following imports are available: <style> .layout.horizontal-reverse, .layout.vertical-reverse { - display: -ms-flexbox; - display: -webkit-flex; display: flex; } .layout.horizontal-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; flex-direction: row-reverse; } .layout.vertical-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; flex-direction: column-reverse; } .layout.wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; flex-wrap: wrap-reverse; } </style> @@ -143,27 +114,19 @@ The following imports are available: * Alignment in cross axis. */ .layout.start { - -ms-flex-align: start; - -webkit-align-items: flex-start; align-items: flex-start; } .layout.center, .layout.center-center { - -ms-flex-align: center; - -webkit-align-items: center; align-items: center; } .layout.end { - -ms-flex-align: end; - -webkit-align-items: flex-end; align-items: flex-end; } .layout.baseline { - -ms-flex-align: baseline; - -webkit-align-items: baseline; align-items: baseline; } @@ -171,33 +134,23 @@ The following imports are available: * Alignment in main axis. */ .layout.start-justified { - -ms-flex-pack: start; - -webkit-justify-content: flex-start; justify-content: flex-start; } .layout.center-justified, .layout.center-center { - -ms-flex-pack: center; - -webkit-justify-content: center; justify-content: center; } .layout.end-justified { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; justify-content: flex-end; } .layout.around-justified { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; justify-content: space-around; } .layout.justified { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; justify-content: space-between; } @@ -205,32 +158,22 @@ The following imports are available: * Self alignment. */ .self-start { - -ms-align-self: flex-start; - -webkit-align-self: flex-start; align-self: flex-start; } .self-center { - -ms-align-self: center; - -webkit-align-self: center; align-self: center; } .self-end { - -ms-align-self: flex-end; - -webkit-align-self: flex-end; align-self: flex-end; } .self-stretch { - -ms-align-self: stretch; - -webkit-align-self: stretch; align-self: stretch; } .self-baseline { - -ms-align-self: baseline; - -webkit-align-self: baseline; align-self: baseline; }; @@ -238,37 +181,22 @@ The following imports are available: * multi-line alignment in main axis. */ .layout.start-aligned { - -ms-flex-line-pack: start; /* IE10 */ - -ms-align-content: flex-start; - -webkit-align-content: flex-start; align-content: flex-start; } .layout.end-aligned { - -ms-flex-line-pack: end; /* IE10 */ - -ms-align-content: flex-end; - -webkit-align-content: flex-end; align-content: flex-end; } .layout.center-aligned { - -ms-flex-line-pack: center; /* IE10 */ - -ms-align-content: center; - -webkit-align-content: center; align-content: center; } .layout.between-aligned { - -ms-flex-line-pack: justify; /* IE10 */ - -ms-align-content: space-between; - -webkit-align-content: space-between; align-content: space-between; } .layout.around-aligned { - -ms-flex-line-pack: distribute; /* IE10 */ - -ms-align-content: space-around; - -webkit-align-content: space-around; align-content: space-around; } </style> @@ -280,76 +208,51 @@ The following imports are available: <style> .flex, .flex-1 { - -ms-flex: 1 1 0.000000001px; - -webkit-flex: 1; flex: 1; - -webkit-flex-basis: 0.000000001px; flex-basis: 0.000000001px; } .flex-2 { - -ms-flex: 2; - -webkit-flex: 2; flex: 2; } .flex-3 { - -ms-flex: 3; - -webkit-flex: 3; flex: 3; } .flex-4 { - -ms-flex: 4; - -webkit-flex: 4; flex: 4; } .flex-5 { - -ms-flex: 5; - -webkit-flex: 5; flex: 5; } .flex-6 { - -ms-flex: 6; - -webkit-flex: 6; flex: 6; } .flex-7 { - -ms-flex: 7; - -webkit-flex: 7; flex: 7; } .flex-8 { - -ms-flex: 8; - -webkit-flex: 8; flex: 8; } .flex-9 { - -ms-flex: 9; - -webkit-flex: 9; flex: 9; } .flex-10 { - -ms-flex: 10; - -webkit-flex: 10; flex: 10; } .flex-11 { - -ms-flex: 11; - -webkit-flex: 11; flex: 11; } .flex-12 { - -ms-flex: 12; - -webkit-flex: 12; flex: 12; } </style> diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout.html b/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout.html index d98e9d0fddf..66714bb9f3b 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout.html @@ -57,202 +57,139 @@ A complete [guide](https://elements.polymer-project.org/guides/flex-layout) to ` :root { --layout: { - display: -ms-flexbox; - display: -webkit-flex; display: flex; }; --layout-inline: { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; display: inline-flex; }; --layout-horizontal: { @apply(--layout); - -ms-flex-direction: row; - -webkit-flex-direction: row; flex-direction: row; }; --layout-horizontal-reverse: { @apply(--layout); - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; flex-direction: row-reverse; }; --layout-vertical: { @apply(--layout); - -ms-flex-direction: column; - -webkit-flex-direction: column; flex-direction: column; }; --layout-vertical-reverse: { @apply(--layout); - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; flex-direction: column-reverse; }; --layout-wrap: { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; flex-wrap: wrap; }; --layout-wrap-reverse: { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; flex-wrap: wrap-reverse; }; --layout-flex-auto: { - -ms-flex: 1 1 auto; - -webkit-flex: 1 1 auto; flex: 1 1 auto; }; --layout-flex-none: { - -ms-flex: none; - -webkit-flex: none; flex: none; }; --layout-flex: { - -ms-flex: 1 1 0.000000001px; - -webkit-flex: 1; flex: 1; - -webkit-flex-basis: 0.000000001px; flex-basis: 0.000000001px; }; --layout-flex-2: { - -ms-flex: 2; - -webkit-flex: 2; flex: 2; }; --layout-flex-3: { - -ms-flex: 3; - -webkit-flex: 3; flex: 3; }; --layout-flex-4: { - -ms-flex: 4; - -webkit-flex: 4; flex: 4; }; --layout-flex-5: { - -ms-flex: 5; - -webkit-flex: 5; flex: 5; }; --layout-flex-6: { - -ms-flex: 6; - -webkit-flex: 6; flex: 6; }; --layout-flex-7: { - -ms-flex: 7; - -webkit-flex: 7; flex: 7; }; --layout-flex-8: { - -ms-flex: 8; - -webkit-flex: 8; flex: 8; }; --layout-flex-9: { - -ms-flex: 9; - -webkit-flex: 9; flex: 9; }; --layout-flex-10: { - -ms-flex: 10; - -webkit-flex: 10; flex: 10; }; --layout-flex-11: { - -ms-flex: 11; - -webkit-flex: 11; flex: 11; }; --layout-flex-12: { - -ms-flex: 12; - -webkit-flex: 12; flex: 12; }; /* alignment in cross axis */ --layout-start: { - -ms-flex-align: start; - -webkit-align-items: flex-start; align-items: flex-start; }; --layout-center: { - -ms-flex-align: center; - -webkit-align-items: center; align-items: center; }; --layout-end: { - -ms-flex-align: end; - -webkit-align-items: flex-end; align-items: flex-end; }; --layout-baseline: { - -ms-flex-align: baseline; - -webkit-align-items: baseline; align-items: baseline; }; /* alignment in main axis */ --layout-start-justified: { - -ms-flex-pack: start; - -webkit-justify-content: flex-start; justify-content: flex-start; }; --layout-center-justified: { - -ms-flex-pack: center; - -webkit-justify-content: center; justify-content: center; }; --layout-end-justified: { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; justify-content: flex-end; }; --layout-around-justified: { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; justify-content: space-around; }; --layout-justified: { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; justify-content: space-between; }; @@ -264,69 +201,44 @@ A complete [guide](https://elements.polymer-project.org/guides/flex-layout) to ` /* self alignment */ --layout-self-start: { - -ms-align-self: flex-start; - -webkit-align-self: flex-start; align-self: flex-start; }; --layout-self-center: { - -ms-align-self: center; - -webkit-align-self: center; align-self: center; }; --layout-self-end: { - -ms-align-self: flex-end; - -webkit-align-self: flex-end; align-self: flex-end; }; --layout-self-stretch: { - -ms-align-self: stretch; - -webkit-align-self: stretch; align-self: stretch; }; --layout-self-baseline: { - -ms-align-self: baseline; - -webkit-align-self: baseline; align-self: baseline; }; /* multi-line alignment in main axis */ --layout-start-aligned: { - -ms-flex-line-pack: start; /* IE10 */ - -ms-align-content: flex-start; - -webkit-align-content: flex-start; align-content: flex-start; }; --layout-end-aligned: { - -ms-flex-line-pack: end; /* IE10 */ - -ms-align-content: flex-end; - -webkit-align-content: flex-end; align-content: flex-end; }; --layout-center-aligned: { - -ms-flex-line-pack: center; /* IE10 */ - -ms-align-content: center; - -webkit-align-content: center; align-content: center; }; --layout-between-aligned: { - -ms-flex-line-pack: justify; /* IE10 */ - -ms-align-content: space-between; - -webkit-align-content: space-between; align-content: space-between; }; --layout-around-aligned: { - -ms-flex-line-pack: distribute; /* IE10 */ - -ms-align-content: space-around; - -webkit-align-content: space-around; align-content: space-around; }; diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-form-element-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-form-element-behavior/BUILD.gn new file mode 100644 index 00000000000..ce0888df3c5 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-form-element-behavior/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-form-element-behavior-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-icon/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-icon/BUILD.gn new file mode 100644 index 00000000000..c234d075b0f --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-icon/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-icon-extracted") { + deps = [ + "../iron-meta:iron-meta-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-iconset-svg/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-iconset-svg/BUILD.gn new file mode 100644 index 00000000000..542f1c151e3 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-iconset-svg/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-iconset-svg-extracted") { + deps = [ + "../iron-meta:iron-meta-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-input/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-input/BUILD.gn new file mode 100644 index 00000000000..83c678d14e9 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-input/BUILD.gn @@ -0,0 +1,14 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-input-extracted") { + deps = [ + "../iron-a11y-announcer:iron-a11y-announcer-extracted", + "../iron-validatable-behavior:iron-validatable-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-list/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-list/BUILD.gn new file mode 100644 index 00000000000..61cd28601e4 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-list/BUILD.gn @@ -0,0 +1,15 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-list-extracted") { + deps = [ + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + "../iron-scroll-target-behavior:iron-scroll-target-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-location/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-location/BUILD.gn new file mode 100644 index 00000000000..0d56639489b --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-location/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-location-extracted") { +} + +js_library("iron-query-params-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-media-query/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-media-query/BUILD.gn new file mode 100644 index 00000000000..8cd49b068e8 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-media-query/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-media-query-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/BUILD.gn new file mode 100644 index 00000000000..f553a321df3 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/BUILD.gn @@ -0,0 +1,20 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-menu-behavior-extracted") { + deps = [ + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + "../iron-selector:iron-multi-selectable-extracted", + ] +} + +js_library("iron-menubar-behavior-extracted") { + deps = [ + ":iron-menu-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-meta/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-meta/BUILD.gn new file mode 100644 index 00000000000..bed8b24e31a --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-meta/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-meta-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/BUILD.gn new file mode 100644 index 00000000000..c057c5ec2b2 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/BUILD.gn @@ -0,0 +1,29 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-focusables-helper-extracted") { +} + +js_library("iron-overlay-backdrop-extracted") { +} + +js_library("iron-overlay-behavior-extracted") { + deps = [ + ":iron-focusables-helper-extracted", + ":iron-overlay-manager-extracted", + "../iron-fit-behavior:iron-fit-behavior-extracted", + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + ] +} + +js_library("iron-overlay-manager-extracted") { + deps = [ + ":iron-overlay-backdrop-extracted", + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-pages/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-pages/BUILD.gn new file mode 100644 index 00000000000..6095b0975f7 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-pages/BUILD.gn @@ -0,0 +1,14 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-pages-extracted") { + deps = [ + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + "../iron-selector:iron-selectable-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-range-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-range-behavior/BUILD.gn new file mode 100644 index 00000000000..5e66e72b6a2 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-range-behavior/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-range-behavior-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-resizable-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-resizable-behavior/BUILD.gn new file mode 100644 index 00000000000..5bfe91af1bd --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-resizable-behavior/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-resizable-behavior-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-scroll-target-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-scroll-target-behavior/BUILD.gn new file mode 100644 index 00000000000..1964d0463e3 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-scroll-target-behavior/BUILD.gn @@ -0,0 +1,10 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-scroll-target-behavior-extracted") { +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-scroll-threshold/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-scroll-threshold/BUILD.gn new file mode 100644 index 00000000000..25b6e3e787f --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-scroll-threshold/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-scroll-threshold-extracted") { + deps = [ + "../iron-scroll-target-behavior:iron-scroll-target-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-selector/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-selector/BUILD.gn new file mode 100644 index 00000000000..c5a2af8153b --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-selector/BUILD.gn @@ -0,0 +1,28 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-multi-selectable-extracted") { + deps = [ + ":iron-selectable-extracted", + ] +} + +js_library("iron-selectable-extracted") { + deps = [ + ":iron-selection-extracted", + ] +} + +js_library("iron-selection-extracted") { +} + +js_library("iron-selector-extracted") { + deps = [ + ":iron-multi-selectable-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/iron-validatable-behavior/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/iron-validatable-behavior/BUILD.gn new file mode 100644 index 00000000000..8c49cb51d73 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/iron-validatable-behavior/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("iron-validatable-behavior-extracted") { + deps = [ + "../iron-meta:iron-meta-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/BUILD.gn new file mode 100644 index 00000000000..3edbd294b15 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/BUILD.gn @@ -0,0 +1,50 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("neon-animatable-behavior-extracted") { +} + +js_library("neon-animatable-extracted") { + deps = [ + ":neon-animatable-behavior-extracted", + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + ] +} + +js_library("neon-animated-pages-extracted") { + deps = [ + ":neon-animation-runner-behavior-extracted", + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + "../iron-selector:iron-selectable-extracted", + ] +} + +js_library("neon-animation-behavior-extracted") { + deps = [ + "../iron-meta:iron-meta-extracted", + ] +} + +js_library("neon-animation-runner-behavior-extracted") { + deps = [ + ":neon-animatable-behavior-extracted", + "../iron-meta:iron-meta-extracted", + ] +} + +js_library("neon-shared-element-animatable-behavior-extracted") { + deps = [ + ":neon-animatable-behavior-extracted", + ] +} + +js_library("neon-shared-element-animation-behavior-extracted") { + deps = [ + ":neon-animation-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/animations/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/animations/BUILD.gn new file mode 100644 index 00000000000..2a6b3cb84e2 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/animations/BUILD.gn @@ -0,0 +1,133 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("cascaded-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("fade-in-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("fade-out-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("hero-animation-extracted") { + deps = [ + "..:neon-shared-element-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("opaque-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("reverse-ripple-animation-extracted") { + deps = [ + "..:neon-shared-element-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("ripple-animation-extracted") { + deps = [ + "..:neon-shared-element-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("scale-down-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("scale-up-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-down-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-from-bottom-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-from-left-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-from-right-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-from-top-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-left-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-right-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("slide-up-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} + +js_library("transform-animation-extracted") { + deps = [ + "..:neon-animation-behavior-extracted", + ] + externs_list = [ "//third_party/closure_compiler/externs/web_animations.js" ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/guides/compiled_resources2.gyp b/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/guides/compiled_resources2.gyp deleted file mode 100644 index e69de29bb2d..00000000000 --- a/chromium/third_party/polymer/v1_0/components-chromium/neon-animation/guides/compiled_resources2.gyp +++ /dev/null diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-behaviors/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-behaviors/BUILD.gn new file mode 100644 index 00000000000..a05a64e2adb --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-behaviors/BUILD.gn @@ -0,0 +1,34 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-button-behavior-extracted") { + deps = [ + ":paper-ripple-behavior-extracted", + "../iron-behaviors:iron-button-state-extracted", + ] +} + +js_library("paper-checked-element-behavior-extracted") { + deps = [ + ":paper-inky-focus-behavior-extracted", + "../iron-checked-element-behavior:iron-checked-element-behavior-extracted", + ] +} + +js_library("paper-inky-focus-behavior-extracted") { + deps = [ + ":paper-ripple-behavior-extracted", + "../iron-behaviors:iron-button-state-extracted", + ] +} + +js_library("paper-ripple-behavior-extracted") { + deps = [ + "../paper-ripple:paper-ripple-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-button/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-button/BUILD.gn new file mode 100644 index 00000000000..17641a9049b --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-button/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-button-extracted") { + deps = [ + "../paper-behaviors:paper-button-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html index 1e5bf288e19..c5bda980472 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html @@ -96,9 +96,6 @@ Custom property | Description | Default text-transform: uppercase; outline-width: 0; border-radius: 3px; - -moz-user-select: none; - -ms-user-select: none; - -webkit-user-select: none; user-select: none; cursor: pointer; z-index: 0; diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-checkbox/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-checkbox/BUILD.gn new file mode 100644 index 00000000000..01f21d819b0 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-checkbox/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-checkbox-extracted") { + deps = [ + "../paper-behaviors:paper-checked-element-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html index 1bfc1b55818..47eebb72ca5 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html @@ -123,22 +123,18 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` border-color: var(--paper-checkbox-unchecked-color, var(--primary-text-color)); border-radius: 2px; pointer-events: none; - -webkit-transition: background-color 140ms, border-color 140ms; transition: background-color 140ms, border-color 140ms; } /* checkbox checked animations */ #checkbox.checked #checkmark { - -webkit-animation: checkmark-expand 140ms ease-out forwards; animation: checkmark-expand 140ms ease-out forwards; } @-webkit-keyframes checkmark-expand { 0% { - -webkit-transform: scale(0, 0) rotate(45deg); } 100% { - -webkit-transform: scale(1, 1) rotate(45deg); } } @@ -166,13 +162,11 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` border-right-width: calc(2/15 * var(--calculated-paper-checkbox-size)); border-bottom-width: calc(2/15 * var(--calculated-paper-checkbox-size)); border-color: var(--paper-checkbox-checkmark-color, white); - -webkit-transform-origin: 97% 86%; transform-origin: 97% 86%; box-sizing: content-box; /* protect against page-level box-sizing */ } :host-context([dir="rtl"]) #checkmark { - -webkit-transform-origin: 50% 14%; transform-origin: 50% 14%; } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-fab/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-fab/BUILD.gn new file mode 100644 index 00000000000..2c747461af9 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-fab/BUILD.gn @@ -0,0 +1,14 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-fab-extracted") { + deps = [ + "../iron-icon:iron-icon-extracted", + "../paper-behaviors:paper-button-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-fab/paper-fab.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-fab/paper-fab.html index 546614e6a7a..d386257edec 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-fab/paper-fab.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-fab/paper-fab.html @@ -69,9 +69,6 @@ Custom property | Description | Default outline: none; padding: 16px; position: relative; - -moz-user-select: none; - -ms-user-select: none; - -webkit-user-select: none; user-select: none; width: 56px; z-index: 0; diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-icon-button/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-icon-button/BUILD.gn new file mode 100644 index 00000000000..d7c51c12884 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-icon-button/BUILD.gn @@ -0,0 +1,20 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-icon-button-extracted") { + deps = [ + "../iron-icon:iron-icon-extracted", + "../paper-behaviors:paper-inky-focus-behavior-extracted", + ] +} + +js_library("paper-icon-button-light-extracted") { + deps = [ + "../paper-behaviors:paper-ripple-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html index 3d82fc547de..50334dffd49 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html @@ -74,9 +74,6 @@ Custom property | Description | Default position: relative; padding: 8px; outline: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; user-select: none; cursor: pointer; z-index: 0; diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-input/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-input/BUILD.gn new file mode 100644 index 00000000000..f7ee63ec78b --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-input/BUILD.gn @@ -0,0 +1,54 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-input-addon-behavior-extracted") { +} + +js_library("paper-input-behavior-extracted") { + deps = [ + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + "../iron-behaviors:iron-control-state-extracted", + ] +} + +js_library("paper-input-char-counter-extracted") { + deps = [ + ":paper-input-addon-behavior-extracted", + ] +} + +js_library("paper-input-container-extracted") { +} + +js_library("paper-input-error-extracted") { + deps = [ + ":paper-input-addon-behavior-extracted", + ] +} + +js_library("paper-input-extracted") { + deps = [ + ":paper-input-behavior-extracted", + ":paper-input-char-counter-extracted", + ":paper-input-container-extracted", + ":paper-input-error-extracted", + "../iron-form-element-behavior:iron-form-element-behavior-extracted", + "../iron-input:iron-input-extracted", + ] +} + +js_library("paper-textarea-extracted") { + deps = [ + ":paper-input-behavior-extracted", + ":paper-input-char-counter-extracted", + ":paper-input-container-extracted", + ":paper-input-error-extracted", + "../iron-autogrow-textarea:iron-autogrow-textarea-extracted", + "../iron-form-element-behavior:iron-form-element-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html index a51999568a1..7e999a4df7f 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html @@ -138,18 +138,14 @@ This element is `display:block` by default, but you can set the `inline` attribu border-bottom: 2px solid var(--paper-input-container-focus-color, --primary-color); - -webkit-transform-origin: center center; transform-origin: center center; - -webkit-transform: scale3d(0,1,1); transform: scale3d(0,1,1); @apply(--paper-input-container-underline-focus); } .underline.is-highlighted .focused-line { - -webkit-transform: none; transform: none; - -webkit-transition: -webkit-transform 0.25s; transition: transform 0.25s; @apply(--paper-transition-easing); @@ -157,9 +153,7 @@ This element is `display:block` by default, but you can set the `inline` attribu .underline.is-invalid .focused-line { border-color: var(--paper-input-container-invalid-color, --error-color); - -webkit-transform: none; transform: none; - -webkit-transition: -webkit-transform 0.25s; transition: transform 0.25s; @apply(--paper-transition-easing); @@ -204,9 +198,7 @@ This element is `display:block` by default, but you can set the `inline` attribu width: 100%; font: inherit; color: var(--paper-input-container-color, --secondary-text-color); - -webkit-transition: -webkit-transform 0.25s, width 0.25s; transition: transform 0.25s, width 0.25s; - -webkit-transform-origin: left top; transform-origin: left top; @apply(--paper-font-common-nowrap); @@ -217,7 +209,6 @@ This element is `display:block` by default, but you can set the `inline` attribu .input-content.label-is-floating ::content label, .input-content.label-is-floating ::content .paper-input-label { - -webkit-transform: translateY(-75%) scale(0.75); transform: translateY(-75%) scale(0.75); /* Since we scale to 75/100 of the size, we actually have 100/75 of the @@ -233,7 +224,6 @@ This element is `display:block` by default, but you can set the `inline` attribu * actually makes * it wider on the right side, not left side, as you would expect in RTL */ width: 100%; - -webkit-transform-origin: right top; transform-origin: right top; } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-item/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-item/BUILD.gn new file mode 100644 index 00000000000..190b884eaca --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-item/BUILD.gn @@ -0,0 +1,29 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-icon-item-extracted") { + deps = [ + ":paper-item-behavior-extracted", + ] +} + +js_library("paper-item-behavior-extracted") { + deps = [ + "../iron-behaviors:iron-button-state-extracted", + "../iron-behaviors:iron-control-state-extracted", + ] +} + +js_library("paper-item-body-extracted") { +} + +js_library("paper-item-extracted") { + deps = [ + ":paper-item-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-listbox/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-listbox/BUILD.gn new file mode 100644 index 00000000000..74941d5d515 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-listbox/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-listbox-extracted") { + deps = [ + "../iron-menu-behavior:iron-menu-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-material/compiled_resources2.gyp b/chromium/third_party/polymer/v1_0/components-chromium/paper-material/compiled_resources2.gyp deleted file mode 100644 index 272472835a1..00000000000 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-material/compiled_resources2.gyp +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2017 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. -# -# NOTE: Created with generate_compiled_resources_gyp.py, please do not edit. -{ - 'targets': [ - { - 'target_name': 'paper-material-extracted', - 'includes': ['../../../../closure_compiler/compile_js2.gypi'], - }, - ], -} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-material/paper-material-extracted.js b/chromium/third_party/polymer/v1_0/components-chromium/paper-material/paper-material-extracted.js deleted file mode 100644 index 733f9806d29..00000000000 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-material/paper-material-extracted.js +++ /dev/null @@ -1,34 +0,0 @@ -Polymer({ - is: 'paper-material', - - properties: { - /** - * The z-depth of this element, from 0-5. Setting to 0 will remove the - * shadow, and each increasing number greater than 0 will be "deeper" - * than the last. - * - * @attribute elevation - * @type number - * @default 1 - */ - elevation: { - type: Number, - reflectToAttribute: true, - value: 1 - }, - - /** - * Set this to true to animate the shadow when setting a new - * `elevation` value. - * - * @attribute animated - * @type boolean - * @default false - */ - animated: { - type: Boolean, - reflectToAttribute: true, - value: false - } - } - });
\ No newline at end of file diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-material/paper-material.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-material/paper-material.html deleted file mode 100644 index 984a38995c3..00000000000 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-material/paper-material.html +++ /dev/null @@ -1,41 +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-styles/shadow.html"> -<link rel="import" href="paper-material-shared-styles.html"> - -<!-- -Material design: [Cards](https://www.google.com/design/spec/components/cards.html) - -`paper-material` is a container that renders two shadows on top of each other to -create the effect of a lifted piece of paper. - -Example: - - <paper-material elevation="1"> - ... content ... - </paper-material> - -@group Paper Elements -@demo demo/index.html ---> - -</head><body><dom-module id="paper-material"> - <template> - <style include="paper-material-shared-styles"></style> - <style> - :host([animated]) { - @apply(--shadow-transition); - } - </style> - - <content></content> - </template> -</dom-module> -<script src="paper-material-extracted.js"></script></body></html>
\ No newline at end of file diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-menu/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-menu/BUILD.gn new file mode 100644 index 00000000000..cee8871ebea --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-menu/BUILD.gn @@ -0,0 +1,20 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-menu-extracted") { + deps = [ + "../iron-menu-behavior:iron-menu-behavior-extracted", + ] +} + +js_library("paper-submenu-extracted") { + deps = [ + "../iron-behaviors:iron-control-state-extracted", + "../iron-collapse:iron-collapse-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-progress/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-progress/BUILD.gn new file mode 100644 index 00000000000..3f28cf3547c --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-progress/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-progress-extracted") { + deps = [ + "../iron-range-behavior:iron-range-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-progress/paper-progress.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-progress/paper-progress.html index 5a2a3a8a4d1..f4c08847133 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-progress/paper-progress.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-progress/paper-progress.html @@ -124,28 +124,22 @@ Custom property | Description :host(.transiting) #primaryProgress, :host(.transiting) #secondaryProgress { - -webkit-transition-property: -webkit-transform; transition-property: transform; /* Duration */ - -webkit-transition-duration: var(--paper-progress-transition-duration, 0.08s); transition-duration: var(--paper-progress-transition-duration, 0.08s); /* Timing function */ - -webkit-transition-timing-function: var(--paper-progress-transition-timing-function, ease); transition-timing-function: var(--paper-progress-transition-timing-function, ease); /* Delay */ - -webkit-transition-delay: var(--paper-progress-transition-delay, 0s); transition-delay: var(--paper-progress-transition-delay, 0s); } #primaryProgress, #secondaryProgress { @apply(--layout-fit); - -webkit-transform-origin: left center; transform-origin: left center; - -webkit-transform: scaleX(0); transform: scaleX(0); will-change: transform; } @@ -167,50 +161,36 @@ Custom property | Description } :host(:not([disabled])) #primaryProgress.indeterminate { - -webkit-transform-origin: right center; transform-origin: right center; - -webkit-animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite; animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite; } :host(:not([disabled])) #primaryProgress.indeterminate::after { content: ""; - -webkit-transform-origin: center center; transform-origin: center center; - -webkit-animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite; animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite; } @-webkit-keyframes indeterminate-bar { 0% { - -webkit-transform: scaleX(1) translateX(-100%); } 50% { - -webkit-transform: scaleX(1) translateX(0%); } 75% { - -webkit-transform: scaleX(1) translateX(0%); - -webkit-animation-timing-function: cubic-bezier(.28,.62,.37,.91); } 100% { - -webkit-transform: scaleX(0) translateX(0%); } } @-webkit-keyframes indeterminate-splitter { 0% { - -webkit-transform: scaleX(.75) translateX(-125%); } 30% { - -webkit-transform: scaleX(.75) translateX(-125%); - -webkit-animation-timing-function: cubic-bezier(.42,0,.6,.8); } 90% { - -webkit-transform: scaleX(.75) translateX(125%); } 100% { - -webkit-transform: scaleX(.75) translateX(125%); } } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-button/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-button/BUILD.gn new file mode 100644 index 00000000000..83427a30a25 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-button/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-radio-button-extracted") { + deps = [ + "../paper-behaviors:paper-checked-element-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html index e3f0c13c48f..38fe78c21aa 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html @@ -93,7 +93,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` color: var(--paper-radio-button-unchecked-ink-color, --primary-text-color); opacity: 0.6; pointer-events: none; - -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } @@ -119,9 +118,7 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` #onRadio { background-color: var(--paper-radio-button-checked-color, --primary-color); - -webkit-transform: scale(0); transform: scale(0); - transition: -webkit-transform ease 0.28s; transition: transform ease 0.28s; will-change: transform; } @@ -131,7 +128,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` } :host([checked]) #onRadio { - -webkit-transform: scale(0.5); transform: scale(0.5); } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-group/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-group/BUILD.gn new file mode 100644 index 00000000000..1319dad0dc8 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-radio-group/BUILD.gn @@ -0,0 +1,15 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-radio-group-extracted") { + deps = [ + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + "../iron-menu-behavior:iron-menubar-behavior-extracted", + "../paper-radio-button:paper-radio-button-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-ripple/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-ripple/BUILD.gn new file mode 100644 index 00000000000..8c6bc98508f --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-ripple/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-ripple-extracted") { + deps = [ + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-slider/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-slider/BUILD.gn new file mode 100644 index 00000000000..c5c6913aa99 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-slider/BUILD.gn @@ -0,0 +1,18 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-slider-extracted") { + deps = [ + "../iron-a11y-keys-behavior:iron-a11y-keys-behavior-extracted", + "../iron-form-element-behavior:iron-form-element-behavior-extracted", + "../iron-range-behavior:iron-range-behavior-extracted", + "../paper-behaviors:paper-inky-focus-behavior-extracted", + "../paper-input:paper-input-extracted", + "../paper-progress:paper-progress-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html index 364fb01baea..646c22c2fb9 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-slider/paper-slider.html @@ -72,9 +72,6 @@ Custom property | Description | Default @apply --layout-center; width: 200px; cursor: default; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); --paper-progress-active-color: var(--paper-slider-active-color, var(--google-blue-700)); @@ -95,7 +92,6 @@ Custom property | Description | Default * compatability, dir="rtl" must be explicitly set on paper-slider. */ :host-context([dir="rtl"]) #sliderContainer { - -webkit-transform: scaleX(-1); transform: scaleX(-1); } @@ -104,7 +100,6 @@ Custom property | Description | Default * not be recognized. */ :host([dir="rtl"]) #sliderContainer { - -webkit-transform: scaleX(-1); transform: scaleX(-1); } @@ -113,7 +108,6 @@ Custom property | Description | Default * to support LTR sliders in RTL pages. */ :host([dir="ltr"]) #sliderContainer { - -webkit-transform: scaleX(1); transform: scaleX(1); } @@ -211,7 +205,6 @@ Custom property | Description | Default } .snaps > .slider-knob.dragging { - transition: -webkit-transform 0.08s ease; transition: transform 0.08s ease; } @@ -223,17 +216,14 @@ Custom property | Description | Default border: 2px solid var(--paper-slider-knob-color, var(--google-blue-700)); border-radius: 50%; - -moz-box-sizing: border-box; box-sizing: border-box; - transition-property: -webkit-transform, background-color, border; transition-property: transform, background-color, border; transition-duration: 0.18s; transition-timing-function: ease; } .expand:not(.pin) > .slider-knob > .slider-knob-inner { - -webkit-transform: scale(1.5); transform: scale(1.5); } @@ -256,13 +246,11 @@ Custom property | Description | Default height: 26px; border-radius: 50% 50% 50% 0; - -webkit-transform: rotate(-45deg) scale(0) translate(0); transform: rotate(-45deg) scale(0) translate(0); } .slider-knob-inner::before, .slider-knob-inner::after { - transition: -webkit-transform .18s ease, background-color .18s ease; transition: transform .18s ease, background-color .18s ease; } @@ -271,7 +259,6 @@ Custom property | Description | Default } .pin.expand > .slider-knob > .slider-knob-inner::before { - -webkit-transform: rotate(-45deg) scale(1) translate(17px, -17px); transform: rotate(-45deg) scale(1) translate(17px, -17px); } @@ -287,12 +274,10 @@ Custom property | Description | Default color: var(--paper-slider-font-color, #fff); font-size: 10px; - -webkit-transform: scale(0) translate(0); transform: scale(0) translate(0); } .pin.expand > .slider-knob > .slider-knob-inner::after { - -webkit-transform: scale(1) translate(0, -17px); transform: scale(1) translate(0, -17px); } @@ -314,7 +299,6 @@ Custom property | Description | Default .disabled > .slider-knob > .slider-knob-inner { background-color: var(--paper-slider-disabled-knob-color, var(--paper-grey-400)); border: 2px solid var(--paper-slider-disabled-knob-color, var(--paper-grey-400)); - -webkit-transform: scale3d(0.75, 0.75, 1); transform: scale3d(0.75, 0.75, 1); } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-spinner/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-spinner/BUILD.gn new file mode 100644 index 00000000000..4f251b83cb6 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-spinner/BUILD.gn @@ -0,0 +1,22 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-spinner-behavior-extracted") { +} + +js_library("paper-spinner-extracted") { + deps = [ + ":paper-spinner-behavior-extracted", + ] +} + +js_library("paper-spinner-lite-extracted") { + deps = [ + ":paper-spinner-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-styles.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-styles.html index 08329293755..923b5d87a0d 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-styles.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-styles.html @@ -58,7 +58,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN } #spinnerContainer.active { - -webkit-animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite; animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite; } @@ -104,10 +103,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN * seems). */ .active .spinner-layer { - -webkit-animation-name: fill-unfill-rotate; - -webkit-animation-duration: var(--paper-spinner-full-cycle-duration); - -webkit-animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); - -webkit-animation-iteration-count: infinite; animation-name: fill-unfill-rotate; animation-duration: var(--paper-spinner-full-cycle-duration); animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); @@ -116,22 +111,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN } .active .spinner-layer.layer-1 { - -webkit-animation-name: fill-unfill-rotate, layer-1-fade-in-out; animation-name: fill-unfill-rotate, layer-1-fade-in-out; } .active .spinner-layer.layer-2 { - -webkit-animation-name: fill-unfill-rotate, layer-2-fade-in-out; animation-name: fill-unfill-rotate, layer-2-fade-in-out; } .active .spinner-layer.layer-3 { - -webkit-animation-name: fill-unfill-rotate, layer-3-fade-in-out; animation-name: fill-unfill-rotate, layer-3-fade-in-out; } .active .spinner-layer.layer-4 { - -webkit-animation-name: fill-unfill-rotate, layer-4-fade-in-out; animation-name: fill-unfill-rotate, layer-4-fade-in-out; } @@ -267,34 +258,27 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN .circle-clipper.left::after { left: 0; border-right-color: transparent !important; - -webkit-transform: rotate(129deg); transform: rotate(129deg); } .circle-clipper.right::after { left: -100%; border-left-color: transparent !important; - -webkit-transform: rotate(-129deg); transform: rotate(-129deg); } .active .gap-patch::after, .active .circle-clipper::after { - -webkit-animation-duration: var(--paper-spinner-expand-contract-duration); - -webkit-animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); - -webkit-animation-iteration-count: infinite; animation-duration: var(--paper-spinner-expand-contract-duration); animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); animation-iteration-count: infinite; } .active .circle-clipper.left::after { - -webkit-animation-name: left-spin; animation-name: left-spin; } .active .circle-clipper.right::after { - -webkit-animation-name: right-spin; animation-name: right-spin; } @@ -323,7 +307,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN } #spinnerContainer.cooldown { - -webkit-animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite, fade-out var(--paper-spinner-cooldown-duration) cubic-bezier(0.4, 0.0, 0.2, 1); animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite, fade-out var(--paper-spinner-cooldown-duration) cubic-bezier(0.4, 0.0, 0.2, 1); } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-styles/classes/shadow-layout.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-styles/classes/shadow-layout.html index fe55ec80a2b..cae71549a0c 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-styles/classes/shadow-layout.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-styles/classes/shadow-layout.html @@ -17,215 +17,147 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN html /deep/ .layout.horizontal-reverse, html /deep/ .layout.vertical, html /deep/ .layout.vertical-reverse { - display: -ms-flexbox; - display: -webkit-flex; display: flex; } html /deep/ .layout.inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; display: inline-flex; } html /deep/ .layout.horizontal { - -ms-flex-direction: row; - -webkit-flex-direction: row; flex-direction: row; } html /deep/ .layout.horizontal-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; flex-direction: row-reverse; } html /deep/ .layout.vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; flex-direction: column; } html /deep/ .layout.vertical-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; flex-direction: column-reverse; } html /deep/ .layout.wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; flex-wrap: wrap; } html /deep/ .layout.wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; flex-wrap: wrap-reverse; } html /deep/ .flex-auto { - -ms-flex: 1 1 auto; - -webkit-flex: 1 1 auto; flex: 1 1 auto; } html /deep/ .flex-none { - -ms-flex: none; - -webkit-flex: none; flex: none; } html /deep/ .flex, html /deep/ .flex-1 { - -ms-flex: 1; - -webkit-flex: 1; flex: 1; } html /deep/ .flex-2 { - -ms-flex: 2; - -webkit-flex: 2; flex: 2; } html /deep/ .flex-3 { - -ms-flex: 3; - -webkit-flex: 3; flex: 3; } html /deep/ .flex-4 { - -ms-flex: 4; - -webkit-flex: 4; flex: 4; } html /deep/ .flex-5 { - -ms-flex: 5; - -webkit-flex: 5; flex: 5; } html /deep/ .flex-6 { - -ms-flex: 6; - -webkit-flex: 6; flex: 6; } html /deep/ .flex-7 { - -ms-flex: 7; - -webkit-flex: 7; flex: 7; } html /deep/ .flex-8 { - -ms-flex: 8; - -webkit-flex: 8; flex: 8; } html /deep/ .flex-9 { - -ms-flex: 9; - -webkit-flex: 9; flex: 9; } html /deep/ .flex-10 { - -ms-flex: 10; - -webkit-flex: 10; flex: 10; } html /deep/ .flex-11 { - -ms-flex: 11; - -webkit-flex: 11; flex: 11; } html /deep/ .flex-12 { - -ms-flex: 12; - -webkit-flex: 12; flex: 12; } /* alignment in cross axis */ html /deep/ .layout.start { - -ms-flex-align: start; - -webkit-align-items: flex-start; align-items: flex-start; } html /deep/ .layout.center, html /deep/ .layout.center-center { - -ms-flex-align: center; - -webkit-align-items: center; align-items: center; } html /deep/ .layout.end { - -ms-flex-align: end; - -webkit-align-items: flex-end; align-items: flex-end; } /* alignment in main axis */ html /deep/ .layout.start-justified { - -ms-flex-pack: start; - -webkit-justify-content: flex-start; justify-content: flex-start; } html /deep/ .layout.center-justified, html /deep/ .layout.center-center { - -ms-flex-pack: center; - -webkit-justify-content: center; justify-content: center; } html /deep/ .layout.end-justified { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; justify-content: flex-end; } html /deep/ .layout.around-justified { - -ms-flex-pack: around; - -webkit-justify-content: space-around; justify-content: space-around; } html /deep/ .layout.justified { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; justify-content: space-between; } /* self alignment */ html /deep/ .self-start { - -ms-align-self: flex-start; - -webkit-align-self: flex-start; align-self: flex-start; } html /deep/ .self-center { - -ms-align-self: center; - -webkit-align-self: center; align-self: center; } html /deep/ .self-end { - -ms-align-self: flex-end; - -webkit-align-self: flex-end; align-self: flex-end; } html /deep/ .self-stretch { - -ms-align-self: stretch; - -webkit-align-self: stretch; align-self: stretch; } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/BUILD.gn new file mode 100644 index 00000000000..d9fc9c36433 --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/BUILD.gn @@ -0,0 +1,25 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-tab-extracted") { + deps = [ + "../iron-behaviors:iron-button-state-extracted", + "../iron-behaviors:iron-control-state-extracted", + "../paper-behaviors:paper-ripple-behavior-extracted", + ] +} + +js_library("paper-tabs-extracted") { + deps = [ + ":paper-tab-extracted", + "../iron-icon:iron-icon-extracted", + "../iron-menu-behavior:iron-menubar-behavior-extracted", + "../iron-resizable-behavior:iron-resizable-behavior-extracted", + "../paper-icon-button:paper-icon-button-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab.html index 1b9446cb5de..b60ba680507 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab.html @@ -70,7 +70,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` .tab-content { height: 100%; transform: translateZ(0); - -webkit-transform: translateZ(0); transition: opacity 0.1s cubic-bezier(0.4, 0.0, 1, 1); @apply(--layout-horizontal); @apply(--layout-center-center); diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html index 31aded7aa7b..3d7df92e061 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html @@ -102,9 +102,6 @@ Custom property | Description | Default font-size: 14px; font-weight: 500; overflow: hidden; - -moz-user-select: none; - -ms-user-select: none; - -webkit-user-select: none; user-select: none; /* NOTE: Both values are needed, since some phones require the value to be `transparent`. */ @@ -128,8 +125,6 @@ Custom property | Description | Default #tabsContent { height: 100%; - -moz-flex-basis: auto; - -ms-flex-basis: auto; flex-basis: auto; } @@ -149,8 +144,6 @@ Custom property | Description | Default #tabsContent.scrollable.fit-container > ::content > * { /* IE - prevent tabs from compressing when they should scroll. */ - -ms-flex: 1 0 auto; - -webkit-flex: 1 0 auto; flex: 1 0 auto; } @@ -177,11 +170,8 @@ Custom property | Description | Default left: 0; right: 0; background-color: var(--paper-tabs-selection-bar-color, --paper-yellow-a100); - -webkit-transform: scale(0); transform: scale(0); - -webkit-transform-origin: left center; transform-origin: left center; - transition: -webkit-transform; transition: transform; @apply(--paper-tabs-selection-bar); diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-toggle-button/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-toggle-button/BUILD.gn new file mode 100644 index 00000000000..f8203265f1b --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-toggle-button/BUILD.gn @@ -0,0 +1,13 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-toggle-button-extracted") { + deps = [ + "../paper-behaviors:paper-checked-element-behavior-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html index e42046507b3..749c5ac5009 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html @@ -95,7 +95,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` width: 20px; border-radius: 50%; box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6); - transition: -webkit-transform linear .08s, background-color linear .08s; transition: transform linear .08s, background-color linear .08s; will-change: transform; background-color: var(--paper-toggle-button-unchecked-button-color, --paper-grey-50); @@ -104,7 +103,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` } .toggle-button.dragging { - -webkit-transition: none; transition: none; } @@ -121,7 +119,6 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` } :host([checked]) .toggle-button { - -webkit-transform: translate(16px, 0); transform: translate(16px, 0); } diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/BUILD.gn b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/BUILD.gn new file mode 100644 index 00000000000..aefbf4683cf --- /dev/null +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/BUILD.gn @@ -0,0 +1,15 @@ +# Copyright 2017 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. +# +# NOTE: Created with generate_gn.py, please do not edit. + +import("//third_party/closure_compiler/compile_js.gni") + +js_library("paper-tooltip-extracted") { + deps = [ + "../neon-animation:neon-animation-runner-behavior-extracted", + "../neon-animation/animations:fade-in-animation-extracted", + "../neon-animation/animations:fade-out-animation-extracted", + ] +} diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/bower.json b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/bower.json index 6f6a827a8cc..f7a687d933c 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/bower.json +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/bower.json @@ -1,6 +1,6 @@ { "name": "paper-tooltip", - "version": "1.1.3", + "version": "1.1.4", "description": "Material design tooltip popup for content", "authors": [ "The Polymer Authors" diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js index 536a2b8d356..9590cc60366 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js @@ -142,8 +142,20 @@ Polymer({ if (this._showing) return; - if (Polymer.dom(this).textContent.trim() === '') - return; + if (Polymer.dom(this).textContent.trim() === ''){ + // Check if effective children are also empty + var allChildrenEmpty = true; + var effectiveChildren = Polymer.dom(this).getEffectiveChildNodes(); + for (var i = 0; i < effectiveChildren.length; i++) { + if (effectiveChildren[i].textContent.trim() !== '') { + allChildrenEmpty = false; + break; + } + } + if (allChildrenEmpty) { + return; + } + } this.cancelAnimation(); @@ -219,8 +231,8 @@ Polymer({ // TODO(noms): This should use IronFitBehavior if possible. if (this.fitToVisibleBounds) { - // Clip the left/right side. - if (tooltipLeft + thisRect.width > window.innerWidth) { + // Clip the left/right side + if (parentRect.left + tooltipLeft + thisRect.width > window.innerWidth) { this.style.right = '0px'; this.style.left = 'auto'; } else { @@ -229,11 +241,11 @@ Polymer({ } // Clip the top/bottom side. - if (tooltipTop + thisRect.height > window.innerHeight) { - this.style.bottom = '0px'; + if (parentRect.top + tooltipTop + thisRect.height > window.innerHeight) { + this.style.bottom = parentRect.height + 'px'; this.style.top = 'auto'; } else { - this.style.top = Math.max(0, tooltipTop) + 'px'; + this.style.top = Math.max(-parentRect.top, tooltipTop) + 'px'; this.style.bottom = 'auto'; } } else { diff --git a/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip.html b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip.html index 5464b0e02dd..7093029b527 100644 --- a/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip.html +++ b/chromium/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip.html @@ -61,9 +61,6 @@ Custom property | Description | Default position: absolute; outline: none; z-index: 1002; - -moz-user-select: none; - -ms-user-select: none; - -webkit-user-select: none; user-select: none; cursor: default; } |