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

Issue 1525933002: Support device scale factor test with popups in LayoutTest (Closed)

Created:
5 years ago by oshima
Modified:
5 years ago
Reviewers:
tkent, Mike West, sadrul, wkorman
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, tdanderson+views_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support device scale factor test with popups in LayoutTest * Sends DSF to host so that host can send a resize request with requested DSF. * Updated X11's screen so that displays contains specified DSF. This is used by RWH to construct WebScreenInfo with updated DSF. - Win/Mac will use the DSF specified by command line flag. * Scale the popup location based on the device scale factor. This is done by compositor in normal scenario. BUG=567837 TEST=added popu-menu-appearance-dsf2.html Committed: https://crrev.com/76ebe14aeee04f02c62273c638e110f621c162aa Cr-Commit-Position: refs/heads/master@{#365647}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -3 lines) Patch
M components/html_viewer/web_test_delegate_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/html_viewer/web_test_delegate_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/test_runner/web_test_delegate.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/test_runner/web_test_proxy.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/shell/browser/blink_test_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/blink_test_controller.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M content/shell/browser/shell.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/browser/shell.cc View 3 chunks +20 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 4 chunks +12 lines, -2 lines 2 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2.html View 1 1 chunk +48 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/fast/hidpi/popup-menu-appearance-dsf2-expected.png View 1 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/fast/hidpi/popup-menu-appearance-dsf2-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_x11.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_x11.cc View 2 chunks +9 lines, -0 lines 1 comment Download

Messages

Total messages: 37 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525933002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525933002/1
5 years ago (2015-12-15 03:06:44 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/155494)
5 years ago (2015-12-15 04:12:09 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525933002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525933002/20001
5 years ago (2015-12-15 05:59:22 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 06:59:18 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525933002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525933002/40001
5 years ago (2015-12-15 08:44:53 UTC) #14
oshima
Please let me know what you think.
5 years ago (2015-12-15 08:45:54 UTC) #16
oshima
mkwst@, can you review this too? https://codereview.chromium.org/1525933002/diff/40001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/1525933002/diff/40001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode517 content/shell/renderer/layout_test/blink_test_runner.cc:517: return; I'm doing ...
5 years ago (2015-12-15 20:21:37 UTC) #21
tkent
third_party/WebKit lgtm. https://codereview.chromium.org/1525933002/diff/40001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/1525933002/diff/40001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode517 content/shell/renderer/layout_test/blink_test_runner.cc:517: return; On 2015/12/15 at 20:21:37, oshima wrote: ...
5 years ago (2015-12-16 06:40:01 UTC) #22
Mike West
content/shell and components/test_runner LGTM.
5 years ago (2015-12-16 08:13:21 UTC) #23
oshima
sadrul@ -> components/html_viewer, ui/views/ owner
5 years ago (2015-12-16 08:19:38 UTC) #25
sadrul
lgtm https://codereview.chromium.org/1525933002/diff/40001/ui/views/widget/desktop_aura/desktop_screen_x11.cc File ui/views/widget/desktop_aura/desktop_screen_x11.cc (right): https://codereview.chromium.org/1525933002/diff/40001/ui/views/widget/desktop_aura/desktop_screen_x11.cc#newcode263 ui/views/widget/desktop_aura/desktop_screen_x11.cc:263: Perhaps this could go in a TestApi instead.
5 years ago (2015-12-16 19:13:19 UTC) #26
oshima
On 2015/12/16 19:13:19, sadrul wrote: > lgtm > > https://codereview.chromium.org/1525933002/diff/40001/ui/views/widget/desktop_aura/desktop_screen_x11.cc > File ui/views/widget/desktop_aura/desktop_screen_x11.cc (right): > ...
5 years ago (2015-12-16 21:30:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525933002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525933002/40001
5 years ago (2015-12-16 21:33:22 UTC) #29
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years ago (2015-12-16 22:40:24 UTC) #31
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/76ebe14aeee04f02c62273c638e110f621c162aa Cr-Commit-Position: refs/heads/master@{#365647}
5 years ago (2015-12-16 22:42:28 UTC) #33
wkorman
Following up per noel@ pointer to this change -- does anything ensure that we return ...
5 years ago (2015-12-20 03:21:44 UTC) #35
Noel Gordon
Reverting here to try and bring the rebaseline server back to sanity.
5 years ago (2015-12-20 23:56:14 UTC) #36
Noel Gordon
5 years ago (2015-12-20 23:58:55 UTC) #37
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/1541713002/ by noel@chromium.org.

The reason for reverting is: Looking into http://crbug.com/where the
auto-rebaseline server
seems to be generating some baselines with a root layer size of 1600x1200
rather than 800x600, or is producing all white image results. It started
around the time this change went in.  Reverting here to attempt to
restore the rebaseline server..

Powered by Google App Engine
This is Rietveld 408576698