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

Issue 2695313004: [iOS Reading List] Add distilling WKWebView to the view hierarchy. (Closed)

Created:
3 years, 10 months ago by Olivier
Modified:
3 years, 10 months ago
CC:
chromium-reviews, marq+watch_chromium.org, stkhapugin, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[iOS Reading List] Add distilling WKWebView to the view hierarchy. Some pages (e.g. uk.businessinsider.com) are not rendered correctly unless the view is added in the view hierarchy. Add temporarily the WKWebView to the view hierarchy during distillation. Move it out ouf the screen to make it invisible to the user. BUG=685583 Review-Url: https://codereview.chromium.org/2695313004 Cr-Commit-Position: refs/heads/master@{#451643} Committed: https://chromium.googlesource.com/chromium/src/+/47b54ff088d9c52ece1c28b06e647e64ec8014d7

Patch Set 1 #

Total comments: 13

Patch Set 2 : feedback #

Patch Set 3 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M ios/chrome/browser/reading_list/reading_list_distiller_page.mm View 1 2 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
Olivier
3 years, 10 months ago (2017-02-16 12:12:37 UTC) #2
gambard
The logic lg tm but I don't know if this will affect performance, especially knowing ...
3 years, 10 months ago (2017-02-16 12:22:16 UTC) #3
Olivier
+marq, stk for UI expertise. Does adding the view in window have a performance impact? ...
3 years, 10 months ago (2017-02-16 12:36:37 UTC) #5
stkhapugin
lgtm https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm File ios/chrome/browser/reading_list/reading_list_distiller_page.mm (right): https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm#newcode80 ios/chrome/browser/reading_list/reading_list_distiller_page.mm:80: frame.origin.x = 2 * std::max(frame.size.width, frame.size.height); 2 can ...
3 years, 10 months ago (2017-02-16 12:53:59 UTC) #6
Olivier
https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm File ios/chrome/browser/reading_list/reading_list_distiller_page.mm (right): https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm#newcode80 ios/chrome/browser/reading_list/reading_list_distiller_page.mm:80: frame.origin.x = 2 * std::max(frame.size.width, frame.size.height); On 2017/02/16 12:53:59, ...
3 years, 10 months ago (2017-02-16 13:04:18 UTC) #7
marq (ping after 24h)
https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm File ios/chrome/browser/reading_list/reading_list_distiller_page.mm (right): https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm#newcode76 ios/chrome/browser/reading_list/reading_list_distiller_page.mm:76: // Some pages require that the WKWebView is in ...
3 years, 10 months ago (2017-02-16 14:28:18 UTC) #8
Olivier
https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm File ios/chrome/browser/reading_list/reading_list_distiller_page.mm (right): https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm#newcode76 ios/chrome/browser/reading_list/reading_list_distiller_page.mm:76: // Some pages require that the WKWebView is in ...
3 years, 10 months ago (2017-02-16 14:43:41 UTC) #9
Olivier
3 years, 10 months ago (2017-02-16 14:43:47 UTC) #10
wychen
https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm File ios/chrome/browser/reading_list/reading_list_distiller_page.mm (right): https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm#newcode76 ios/chrome/browser/reading_list/reading_list_distiller_page.mm:76: // Some pages require that the WKWebView is in ...
3 years, 10 months ago (2017-02-16 16:38:59 UTC) #12
Olivier
+eugenebut as WKWebView expert. Hi Eugene, PTAL. In particular, do you have any preference between ...
3 years, 10 months ago (2017-02-16 19:48:30 UTC) #14
Eugene But (OOO till 7-30)
Is this reproducible with stock WKWebView? If so, this is lgtm but please file a ...
3 years, 10 months ago (2017-02-16 19:56:14 UTC) #15
Olivier
https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm File ios/chrome/browser/reading_list/reading_list_distiller_page.mm (right): https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm#newcode76 ios/chrome/browser/reading_list/reading_list_distiller_page.mm:76: // Some pages require that the WKWebView is in ...
3 years, 10 months ago (2017-02-16 20:02:27 UTC) #16
wychen
https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm File ios/chrome/browser/reading_list/reading_list_distiller_page.mm (right): https://codereview.chromium.org/2695313004/diff/1/ios/chrome/browser/reading_list/reading_list_distiller_page.mm#newcode76 ios/chrome/browser/reading_list/reading_list_distiller_page.mm:76: // Some pages require that the WKWebView is in ...
3 years, 10 months ago (2017-02-17 00:59:55 UTC) #17
Olivier
On 2017/02/16 19:56:14, Eugene But wrote: > Is this reproducible with stock WKWebView? If so, ...
3 years, 10 months ago (2017-02-17 09:20:55 UTC) #18
Olivier
On 2017/02/17 09:20:55, Olivier Robin wrote: > On 2017/02/16 19:56:14, Eugene But wrote: > > ...
3 years, 10 months ago (2017-02-17 09:46:17 UTC) #19
marq (ping after 24h)
lgtm
3 years, 10 months ago (2017-02-17 10:33:01 UTC) #20
stkhapugin
lgtm
3 years, 10 months ago (2017-02-17 13:14:43 UTC) #21
Eugene But (OOO till 7-30)
Thank you for digging into it. Looks like a feature, not a bug :). Should ...
3 years, 10 months ago (2017-02-17 18:27:41 UTC) #22
Olivier
On 2017/02/17 18:27:41, Eugene But wrote: > Thank you for digging into it. Looks like ...
3 years, 10 months ago (2017-02-17 19:39:41 UTC) #23
Eugene But (OOO till 7-30)
On 2017/02/17 19:39:41, Olivier Robin wrote: > On 2017/02/17 18:27:41, Eugene But wrote: > > ...
3 years, 10 months ago (2017-02-17 19:41:35 UTC) #24
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/2695313004/40001
3 years, 10 months ago (2017-02-20 17:32:10 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 17:47:00 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/47b54ff088d9c52ece1c28b06e64...

Powered by Google App Engine
This is Rietveld 408576698