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

Issue 2861713005: WebView: add support for MultiWindow when choosing interstitial (Closed)

Created:
3 years, 7 months ago by Nate Fischer
Modified:
3 years, 7 months ago
Reviewers:
Torne
CC:
agrieve+watch_chromium.org, android-webview-reviews_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WebView: add support for MultiWindow when choosing interstitial This CL changes the logic for choosing the loud vs. quiet interstitial. Instead of comparing against screen dimensions, we instead use window dimensions, which makes more sense when Android Multi-Window is enabled. BUG=718195 Review-Url: https://codereview.chromium.org/2861713005 Cr-Commit-Position: refs/heads/master@{#469521} Committed: https://chromium.googlesource.com/chromium/src/+/d72c255b78bb35804ac82597879cc74a268ca3bf

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use getRootView() instead, fix extendsOffDeviceScreen to use window size #

Patch Set 3 : Remove unused DisplayAndroid #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -13 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 4 chunks +20 lines, -13 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
Nate Fischer
PTAL. I tried using this for extendsOffDeviceScreen(), but didn't get good results. It appears getMetrics ...
3 years, 7 months ago (2017-05-03 23:23:42 UTC) #6
Torne
We should probably check with Android if there's a better way to figure out the ...
3 years, 7 months ago (2017-05-04 15:25:11 UTC) #7
Torne
I wonder if looking at either the dimensions of the root view (from getRootView() on ...
3 years, 7 months ago (2017-05-04 15:27:02 UTC) #8
Nate Fischer
On 2017/05/04 at 15:27:02, torne wrote: > I wonder if looking at either the dimensions ...
3 years, 7 months ago (2017-05-04 19:29:25 UTC) #9
Nate Fischer
PTAL. I decided to go with getRootView(), since this seems to work about as well ...
3 years, 7 months ago (2017-05-04 20:56:13 UTC) #11
Torne
Latest version LGTM as discussed in chat :)
3 years, 7 months ago (2017-05-04 21:52:40 UTC) #16
Nate Fischer
On 2017/05/04 at 21:52:40, torne wrote: > Latest version LGTM as discussed in chat :) ...
3 years, 7 months ago (2017-05-04 22:09:17 UTC) #18
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/2861713005/20001
3 years, 7 months ago (2017-05-04 22:09:24 UTC) #19
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/2861713005/40001
3 years, 7 months ago (2017-05-04 22:56:11 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 23:36:08 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d72c255b78bb35804ac82597879c...

Powered by Google App Engine
This is Rietveld 408576698