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

Issue 2265213002: Fix device scale factor for interstitials. (Closed)

Created:
4 years, 4 months ago by wjmaclean
Modified:
4 years, 4 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix device scale factor for interstitials. Implement GetScreenInfo() and UpdateDeviceScaleFactor() for InterstitialPageImpl so that interstitial pages get the correct device scale factor both when they're initially created, and also if the window they're in gets dragged between displays with different device scale factors. BUG=637462 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/26840c53c281e98b2f33a5e94aa7f04d372eb9c6 Cr-Commit-Position: refs/heads/master@{#414189}

Patch Set 1 #

Patch Set 2 : Add test. #

Total comments: 1

Patch Set 3 : Handle missing WebContents for Mac. #

Total comments: 4

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -0 lines) Patch
M chrome/browser/chrome_site_per_process_browsertest.cc View 1 2 3 3 chunks +71 lines, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
wjmaclean
Initial CL w/o tests just to run on the trybots.
4 years, 4 months ago (2016-08-22 18:32:02 UTC) #3
wjmaclean
Avi, could you please take a look? I'm still investigating the Mac failures (seems the ...
4 years, 4 months ago (2016-08-23 18:00:56 UTC) #13
wjmaclean
https://codereview.chromium.org/2265213002/diff/20001/chrome/browser/chrome_site_per_process_browsertest.cc File chrome/browser/chrome_site_per_process_browsertest.cc (right): https://codereview.chromium.org/2265213002/diff/20001/chrome/browser/chrome_site_per_process_browsertest.cc#newcode116 chrome/browser/chrome_site_per_process_browsertest.cc:116: I'm aware of this blank line, and will remove ...
4 years, 4 months ago (2016-08-23 18:16:01 UTC) #14
Avi (use Gerrit)
On 2016/08/23 18:00:56, wjmaclean (OOO Aug 13 - 21) wrote: > Avi, could you please ...
4 years, 4 months ago (2016-08-24 04:04:43 UTC) #15
Avi (use Gerrit)
lgtm
4 years, 4 months ago (2016-08-24 04:04:48 UTC) #16
wjmaclean
thestig@ - Would you please look at chrome_site_per_process_browsertest? avi@ - minor change to handle cases ...
4 years, 4 months ago (2016-08-24 16:45:54 UTC) #22
Avi (use Gerrit)
s lgtm
4 years, 4 months ago (2016-08-24 17:07:33 UTC) #23
Lei Zhang
lgtm https://codereview.chromium.org/2265213002/diff/40001/chrome/browser/chrome_site_per_process_browsertest.cc File chrome/browser/chrome_site_per_process_browsertest.cc (right): https://codereview.chromium.org/2265213002/diff/40001/chrome/browser/chrome_site_per_process_browsertest.cc#newcode59 chrome/browser/chrome_site_per_process_browsertest.cc:59: net::EmbeddedTestServer https_server_expired_; It would be nice if this ...
4 years, 4 months ago (2016-08-24 18:33:51 UTC) #24
wjmaclean
Done, thanks for the feedback! https://codereview.chromium.org/2265213002/diff/40001/chrome/browser/chrome_site_per_process_browsertest.cc File chrome/browser/chrome_site_per_process_browsertest.cc (right): https://codereview.chromium.org/2265213002/diff/40001/chrome/browser/chrome_site_per_process_browsertest.cc#newcode59 chrome/browser/chrome_site_per_process_browsertest.cc:59: net::EmbeddedTestServer https_server_expired_; On 2016/08/24 ...
4 years, 4 months ago (2016-08-24 19:17:07 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2265213002/60001
4 years, 4 months ago (2016-08-24 19:18:28 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-24 23:09:47 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 23:12:02 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/26840c53c281e98b2f33a5e94aa7f04d372eb9c6
Cr-Commit-Position: refs/heads/master@{#414189}

Powered by Google App Engine
This is Rietveld 408576698