forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds drop shadow to popups for FormControlsRefresh by using the [NSWindow hasShadow] property. Since the Mac window shadow also has its own border, the HTML provided border for the popups [1] is changed to be transparent to avoid having a weird UI. [1]: https://chromium-review.googlesource.com/c/chromium/src/+/2036250 Bug: 1000898 Change-Id: Iadf89e7a122614b6dba95b745be2af79476da98d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2052264 Commit-Queue: Ionel Popescu <iopopesc@microsoft.com> Reviewed-by: ccameron <ccameron@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Reviewed-by: Mason Freed <masonfreed@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#741588}
- Loading branch information
1 parent
80388f4
commit e4bca2f
Showing
114 changed files
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-277 Bytes
(95%)
...ual/controls-refresh/calendar-picker/date-picker-appearance-coarse-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-254 Bytes
(96%)
...esh/calendar-picker/date-picker-appearance-disabled-previous-month-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-271 Bytes
(95%)
...irtual/controls-refresh/calendar-picker/date-picker-appearance-rtl-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-277 Bytes
(95%)
...rtual/controls-refresh/calendar-picker/date-picker-appearance-step-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-394 Bytes
(95%)
...al/controls-refresh/calendar-picker/date-picker-appearance-zoom150-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-180 Bytes
(96%)
...tual/controls-refresh/calendar-picker/date-picker-month-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-199 Bytes
(96%)
...esh/calendar-picker/date-picker-month-selection-changed-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-277 Bytes
(95%)
...ntrols-refresh/color-scheme/calendar-picker/date-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-287 Bytes
(95%)
...s-refresh/color-scheme/calendar-picker/date-picker-disabled-values-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-255 Bytes
(96%)
.../color-scheme/datetimelocal-picker/datetimelocal-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-75 Bytes
(98%)
.../color-scheme/month-picker/month-picker-appearance-disabled-values-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-74 Bytes
(98%)
...controls-refresh/color-scheme/month-picker/month-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-85 Bytes
(98%)
...efresh/color-scheme/month-picker/month-picker-appearance-highlight-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-155 Bytes
(98%)
...h/color-scheme/suggestion-picker/date-suggestion-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-170 Bytes
(98%)
...cheme/suggestion-picker/datetimelocal-suggestion-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-82 Bytes
(98%)
.../color-scheme/suggestion-picker/month-suggestion-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-119 Bytes
(98%)
...h/color-scheme/suggestion-picker/time-suggestion-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-97 Bytes
(98%)
...h/color-scheme/suggestion-picker/week-suggestion-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-78 Bytes
(98%)
...l/controls-refresh/color-scheme/time-picker/time-picker-appearance-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-245 Bytes
(97%)
...l/controls-refresh/datetimelocal-picker/datetimelocal-picker-step2-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-86 Bytes
(98%)
...ntrols-refresh/month-picker/month-picker-appearance-disabled-today-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-131 Bytes
(97%)
.../virtual/controls-refresh/month-picker/month-picker-appearance-rtl-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-90 Bytes
(98%)
...virtual/controls-refresh/month-picker/month-picker-appearance-step-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-89 Bytes
(98%)
...refresh/month-picker/month-picker-appearance-value-not-in-interval-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-87 Bytes
(98%)
.../virtual/controls-refresh/time-picker/time-picker-appearance-12-AM-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-81 Bytes
(98%)
.../virtual/controls-refresh/time-picker/time-picker-appearance-12-PM-expected.png
Oops, something went wrong.
Binary file modified
BIN
-56 Bytes
(99%)
...irtual/controls-refresh/time-picker/time-picker-appearance-24-hour-expected.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(98%)
...tual/controls-refresh/time-picker/time-picker-appearance-arrowdown-expected.png
Oops, something went wrong.
Binary file modified
BIN
-83 Bytes
(98%)
...irtual/controls-refresh/time-picker/time-picker-appearance-arrowup-expected.png
Oops, something went wrong.
Binary file modified
BIN
-80 Bytes
(98%)
....10/virtual/controls-refresh/time-picker/time-picker-appearance-ko-expected.png
Oops, something went wrong.
Binary file modified
BIN
-159 Bytes
(97%)
...l/controls-refresh/time-picker/time-picker-appearance-milliseconds-expected.png
Oops, something went wrong.
Binary file modified
BIN
-94 Bytes
(98%)
...ual/controls-refresh/time-picker/time-picker-appearance-seconds-pm-expected.png
Oops, something went wrong.
Binary file modified
BIN
-393 Bytes
(95%)
...al/controls-refresh/calendar-picker/date-picker-appearance-zoom150-expected.png
Oops, something went wrong.
Binary file modified
BIN
-276 Bytes
(95%)
...ual/controls-refresh/calendar-picker/date-picker-appearance-coarse-expected.png
Oops, something went wrong.
Binary file modified
BIN
-253 Bytes
(96%)
...esh/calendar-picker/date-picker-appearance-disabled-previous-month-expected.png
Oops, something went wrong.
Binary file modified
BIN
-265 Bytes
(95%)
...irtual/controls-refresh/calendar-picker/date-picker-appearance-rtl-expected.png
Oops, something went wrong.
Binary file modified
BIN
-276 Bytes
(95%)
...rtual/controls-refresh/calendar-picker/date-picker-appearance-step-expected.png
Oops, something went wrong.
Binary file modified
BIN
-396 Bytes
(95%)
...al/controls-refresh/calendar-picker/date-picker-appearance-zoom150-expected.png
Oops, something went wrong.
Binary file modified
BIN
-180 Bytes
(96%)
...tual/controls-refresh/calendar-picker/date-picker-month-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-200 Bytes
(96%)
...esh/calendar-picker/date-picker-month-selection-changed-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-276 Bytes
(95%)
...ntrols-refresh/color-scheme/calendar-picker/date-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-286 Bytes
(95%)
...s-refresh/color-scheme/calendar-picker/date-picker-disabled-values-expected.png
Oops, something went wrong.
Binary file modified
BIN
-159 Bytes
(99%)
...irtual/controls-refresh/color-scheme/color/color-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-108 Bytes
(98%)
...rols-refresh/color-scheme/color/color-suggestion-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-69 Bytes
(99%)
...lor-scheme/color/color-suggestion-picker-appearance-with-scrollbar-expected.png
Oops, something went wrong.
Binary file modified
BIN
-254 Bytes
(96%)
.../color-scheme/datetimelocal-picker/datetimelocal-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-76 Bytes
(98%)
.../color-scheme/month-picker/month-picker-appearance-disabled-values-expected.png
Oops, something went wrong.
Binary file modified
BIN
-77 Bytes
(98%)
...controls-refresh/color-scheme/month-picker/month-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(98%)
...efresh/color-scheme/month-picker/month-picker-appearance-highlight-expected.png
Oops, something went wrong.
Binary file modified
BIN
-154 Bytes
(98%)
...h/color-scheme/suggestion-picker/date-suggestion-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-169 Bytes
(98%)
...cheme/suggestion-picker/datetimelocal-suggestion-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-83 Bytes
(98%)
.../color-scheme/suggestion-picker/month-suggestion-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-119 Bytes
(98%)
...h/color-scheme/suggestion-picker/time-suggestion-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-95 Bytes
(98%)
...h/color-scheme/suggestion-picker/week-suggestion-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-75 Bytes
(98%)
...l/controls-refresh/color-scheme/time-picker/time-picker-appearance-expected.png
Oops, something went wrong.
Binary file modified
BIN
-178 Bytes
(99%)
...al/controls-refresh/color/color-picker-appearance-color-well-click-expected.png
Oops, something went wrong.
Binary file modified
BIN
-238 Bytes
(98%)
...ppearance-color-well-down-keyboard-navigation-from-top-left-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-287 Bytes
(98%)
...pearance-color-well-down-keyboard-navigation-from-top-right-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-178 Bytes
(99%)
...ual/controls-refresh/color/color-picker-appearance-color-well-drag-expected.png
Oops, something went wrong.
Binary file modified
BIN
-150 Bytes
(99%)
...fresh/color/color-picker-appearance-color-well-keyboard-navigation-expected.png
Oops, something went wrong.
Binary file modified
BIN
-131 Bytes
(99%)
...rance-color-well-left-keyboard-navigation-from-bottom-right-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-186 Bytes
(99%)
...pearance-color-well-left-keyboard-navigation-from-top-right-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-135 Bytes
(99%)
...rance-color-well-right-keyboard-navigation-from-bottom-left-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-198 Bytes
(98%)
...pearance-color-well-right-keyboard-navigation-from-top-left-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-205 Bytes
(98%)
...pearance-color-well-up-keyboard-navigation-from-bottom-left-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-198 Bytes
(98%)
...earance-color-well-up-keyboard-navigation-from-bottom-right-corner-expected.png
Oops, something went wrong.
Binary file modified
BIN
-201 Bytes
(99%)
.../virtual/controls-refresh/color/color-picker-appearance-hex-format-expected.png
Oops, something went wrong.
Binary file modified
BIN
-207 Bytes
(99%)
.../virtual/controls-refresh/color/color-picker-appearance-hsl-format-expected.png
Oops, something went wrong.
Binary file modified
BIN
-170 Bytes
(99%)
...color-picker-appearance-hue-slider-accelerated-keyboard-navigation-expected.png
Oops, something went wrong.
Binary file modified
BIN
-172 Bytes
(99%)
...al/controls-refresh/color/color-picker-appearance-hue-slider-click-expected.png
Oops, something went wrong.
Binary file modified
BIN
-172 Bytes
(99%)
...ual/controls-refresh/color/color-picker-appearance-hue-slider-drag-expected.png
Oops, something went wrong.
Binary file modified
BIN
-174 Bytes
(99%)
...fresh/color/color-picker-appearance-hue-slider-keyboard-navigation-expected.png
Oops, something went wrong.
Binary file modified
BIN
-249 Bytes
(98%)
...efresh/color/color-picker-appearance-hue-slider-left-edge-zero-hue-expected.png
Oops, something went wrong.
Binary file modified
BIN
-255 Bytes
(98%)
...fresh/color/color-picker-appearance-hue-slider-right-edge-zero-hue-expected.png
Oops, something went wrong.
Binary file modified
BIN
-203 Bytes
(99%)
...ual/controls-refresh/color/color-picker-appearance-imperfect-match-expected.png
Oops, something went wrong.
Binary file modified
BIN
-197 Bytes
(99%)
...controls-refresh/color/color-picker-appearance-manual-color-change-expected.png
Oops, something went wrong.
Binary file modified
BIN
-160 Bytes
(99%)
...c/virtual/controls-refresh/color/color-picker-appearance-set-value-expected.png
Oops, something went wrong.
Binary file modified
BIN
-214 Bytes
(99%)
...ual/controls-refresh/color/color-picker-appearance-value-attribute-expected.png
Oops, something went wrong.
Binary file modified
BIN
-193 Bytes
(99%)
...mac/virtual/controls-refresh/color/color-picker-appearance-zoom125-expected.png
Oops, something went wrong.
Binary file modified
BIN
-322 Bytes
(99%)
...mac/virtual/controls-refresh/color/color-picker-appearance-zoom200-expected.png
Oops, something went wrong.
Binary file modified
BIN
-195 Bytes
(98%)
...efresh/color/color-picker-top-left-selection-position-after-reopen-expected.png
Oops, something went wrong.
Binary file modified
BIN
-82 Bytes
(98%)
...ntrols-refresh/color/color-suggestion-picker-appearance-empty-list-expected.png
Oops, something went wrong.
Binary file modified
BIN
-56 Bytes
(98%)
.../controls-refresh/color/color-suggestion-picker-appearance-one-row-expected.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(98%)
...controls-refresh/color/color-suggestion-picker-appearance-two-rows-expected.png
Oops, something went wrong.
Binary file modified
BIN
-57 Bytes
(99%)
...s-refresh/color/color-suggestion-picker-appearance-value-attribute-expected.png
Oops, something went wrong.
Binary file modified
BIN
-84 Bytes
(98%)
.../controls-refresh/color/color-suggestion-picker-appearance-zoom125-expected.png
Oops, something went wrong.
Binary file modified
BIN
-295 Bytes
(96%)
.../controls-refresh/color/color-suggestion-picker-appearance-zoom200-expected.png
Oops, something went wrong.
Binary file modified
BIN
-241 Bytes
(97%)
...l/controls-refresh/datetimelocal-picker/datetimelocal-picker-step2-expected.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(98%)
...ntrols-refresh/month-picker/month-picker-appearance-disabled-today-expected.png
Oops, something went wrong.
Binary file modified
BIN
-130 Bytes
(97%)
.../virtual/controls-refresh/month-picker/month-picker-appearance-rtl-expected.png
Oops, something went wrong.
Binary file modified
BIN
-89 Bytes
(98%)
...virtual/controls-refresh/month-picker/month-picker-appearance-step-expected.png
Oops, something went wrong.
Binary file modified
BIN
-90 Bytes
(98%)
...refresh/month-picker/month-picker-appearance-value-not-in-interval-expected.png
Oops, something went wrong.
Binary file modified
BIN
-85 Bytes
(98%)
.../virtual/controls-refresh/time-picker/time-picker-appearance-12-AM-expected.png
Oops, something went wrong.
Binary file modified
BIN
-78 Bytes
(98%)
.../virtual/controls-refresh/time-picker/time-picker-appearance-12-PM-expected.png
Oops, something went wrong.
Binary file modified
BIN
-56 Bytes
(99%)
...irtual/controls-refresh/time-picker/time-picker-appearance-24-hour-expected.png
Oops, something went wrong.
Binary file modified
BIN
-87 Bytes
(98%)
...tual/controls-refresh/time-picker/time-picker-appearance-arrowdown-expected.png
Oops, something went wrong.
Binary file modified
BIN
-79 Bytes
(98%)
...irtual/controls-refresh/time-picker/time-picker-appearance-arrowup-expected.png
Oops, something went wrong.
Binary file modified
BIN
-77 Bytes
(98%)
...mac/virtual/controls-refresh/time-picker/time-picker-appearance-ko-expected.png
Oops, something went wrong.
Binary file modified
BIN
-159 Bytes
(97%)
...l/controls-refresh/time-picker/time-picker-appearance-milliseconds-expected.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(98%)
...ual/controls-refresh/time-picker/time-picker-appearance-seconds-pm-expected.png
Oops, something went wrong.